summaryrefslogtreecommitdiff
path: root/sfx2/source/notify
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-17 17:04:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-17 18:45:14 +0100
commit20223e2374bb6a966e44471c224d22d968d19025 (patch)
treee7b935638da81c3df30a3fca00e39c8769c2a515 /sfx2/source/notify
parent5169abbac92f30b950ab19c2c8e285c47fb1f0d7 (diff)
bool improvements
Change-Id: I9f5564100aa64ff4940dd93a81ff5a8d8edc7a07
Diffstat (limited to 'sfx2/source/notify')
-rw-r--r--sfx2/source/notify/eventsupplier.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/notify/eventsupplier.cxx b/sfx2/source/notify/eventsupplier.cxx
index 067ae2154abd..56e45f40d4ea 100644
--- a/sfx2/source/notify/eventsupplier.cxx
+++ b/sfx2/source/notify/eventsupplier.cxx
@@ -85,7 +85,7 @@ void SAL_CALL SfxEvents_Impl::replaceByName( const OUString & aName, const uno::
OUString sType;
if ( ( aNormalizedDescriptor.size() == 1 )
- && ( aNormalizedDescriptor.has( PROP_EVENT_TYPE) == 0 )
+ && !aNormalizedDescriptor.has( PROP_EVENT_TYPE ) //TODO
&& ( aNormalizedDescriptor.get( PROP_EVENT_TYPE ) >>= sType )
&& ( sType.isEmpty() )
)