summaryrefslogtreecommitdiff
path: root/src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp')
-rw-r--r--src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp b/src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp
index abaa1657..fea5c384 100644
--- a/src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp
+++ b/src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp
@@ -8,5 +8,5 @@ CWorkspaceMatchEngine::CWorkspaceMatchEngine(const std::string& s) : m_value(s)
}
bool CWorkspaceMatchEngine::match(PHLWORKSPACE ws) {
- return ws->matchesStaticSelector(m_value);
+ return ws && ws->matchesStaticSelector(m_value);
}