diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-20 15:09:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-20 15:20:13 +0100 |
commit | 463417f8867b61dbae1ed993ac9a9668acc9f84b (patch) | |
tree | e5e8d2e21150e1c0fc42e164ea6b82d27bcd2ab6 | |
parent | Related to coverity#704822 (Explicit null dereference) (diff) | |
download | core-463417f8867b61dbae1ed993ac9a9668acc9f84b.tar.gz core-463417f8867b61dbae1ed993ac9a9668acc9f84b.zip |
Assume that this shall check full string equality
...instead of prefix match as the use of
compareToAscii(RTL_CONSTASCII_STRINGPARAM(...)) would imply.
Change-Id: I266b68073ba01b9c1e91e24816b8a61f09bd60ac
-rw-r--r-- | extensions/source/update/ui/updatecheckui.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index 1286d184146b..5c7cf8e1c0f9 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -393,7 +393,7 @@ void SAL_CALL UpdateCheckUI::notifyEvent(const document::EventObject& rEvent) { SolarMutexGuard aGuard; - if( rEvent.EventName.startsWith( "OnPrepareViewClosing" ) ) + if( rEvent.EventName == "OnPrepareViewClosing" ) { RemoveBubbleWindow( true ); } |