[Libreoffice-commits] core.git: extensions/source
Stephan Bergmann
sbergman at redhat.com
Wed Mar 20 07:20:39 PDT 2013
extensions/source/update/ui/updatecheckui.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 463417f8867b61dbae1ed993ac9a9668acc9f84b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Mar 20 15:09:56 2013 +0100
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
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx
index 1286d18..5c7cf8e 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 );
}
More information about the Libreoffice-commits
mailing list