summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/shutdownicon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/shutdownicon.cxx')
-rw-r--r--sfx2/source/appl/shutdownicon.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx
index d0948c164ec1..bafa7c2c4038 100644
--- a/sfx2/source/appl/shutdownicon.cxx
+++ b/sfx2/source/appl/shutdownicon.cxx
@@ -344,7 +344,7 @@ void ShutdownIcon::FromTemplate()
Reference < ::com::sun::star::frame::XDispatch > xDisp;
if ( xProv.is() )
{
- if ( aTargetURL.Protocol.compareToAscii("slot:") == COMPARE_EQUAL )
+ if (aTargetURL.Protocol == "slot:")
xDisp = xProv->queryDispatch( aTargetURL, OUString(), 0 );
else
xDisp = xProv->queryDispatch( aTargetURL, OUString("_blank"), 0 );