From 463417f8867b61dbae1ed993ac9a9668acc9f84b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 20 Mar 2013 15:09:56 +0100 Subject: 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 --- extensions/source/update/ui/updatecheckui.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- cgit