From e4fb171d3ad15ae9abbc93d9db956674498c9dd5 Mon Sep 17 00:00:00 2001 From: Szabolcs Dezsi Date: Fri, 6 Apr 2012 14:09:04 +0200 Subject: Replaced a few equal calls with == --- framework/source/lomenubar/FrameHelper.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'framework') diff --git a/framework/source/lomenubar/FrameHelper.cxx b/framework/source/lomenubar/FrameHelper.cxx index 1d39e9df2ba6..7de75889810a 100644 --- a/framework/source/lomenubar/FrameHelper.cxx +++ b/framework/source/lomenubar/FrameHelper.cxx @@ -482,7 +482,7 @@ FrameHelper::rebuildMenu (Reference < XMenu > xMenu, continue; // We drop the WindowList, doesn't work properly and it's useless anyhow - if (oUCommand.equals (OUString(RTL_CONSTASCII_USTRINGPARAM(".uno:WindowList")))) + if ( oUCommand == ".uno:WindowList" ) continue; //We set the default properties (in case it was not visible or a separator) @@ -721,7 +721,7 @@ FrameHelper::dispatchCommand (OUString command) // This is a special case, we don't want the helper to be disconnected from the frame // when PrintPreview dettaches. See the frameAction method. - if (command.equals (OUString(RTL_CONSTASCII_USTRINGPARAM(".uno:PrintPreview")))) + if ( command == ".uno:PrintPreview" ) { m_blockDetach = TRUE; } @@ -854,7 +854,7 @@ FrameHelper::findShortcutForCommand (OUString command) {} //NOTE: For some reason this item does not return its shortcut. Setting manually: - if (command.equals (OUString(RTL_CONSTASCII_USTRINGPARAM(".uno:HelpIndex")))) + if ( command == ".uno:HelpIndex" ) { kev.KeyCode = awt::Key::F1; } -- cgit v1.2.3