diff options
-rw-r--r-- | framework/source/uielement/menubarmanager.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/layout/factory.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index 5c27fdccdd2a..e515f1065cb8 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -524,9 +524,9 @@ throw ( RuntimeException ) // #b6673979# enable some slots hardly, because UNIX clipboard does not notify all changes // Can be removed if follow up task will be fixed directly within applications. if ( - ( pMenuItemHandler->aMenuItemURL.equalsAscii (".uno:Paste" ) ) || - ( pMenuItemHandler->aMenuItemURL.equalsAscii (".uno:PasteSpecial" ) ) || - ( pMenuItemHandler->aMenuItemURL.equalsAscii (".uno:PasteClipboard") ) // special for draw/impress + ( pMenuItemHandler->aMenuItemURL.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(".uno:Paste"))) || + ( pMenuItemHandler->aMenuItemURL.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(".uno:PasteSpecial"))) || + ( pMenuItemHandler->aMenuItemURL.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(".uno:PasteClipboard"))) // special for draw/impress ) bEnabledItem = sal_True; #endif diff --git a/sfx2/source/layout/factory.cxx b/sfx2/source/layout/factory.cxx index 1ac60b2246ce..a5a00227eecf 100644 --- a/sfx2/source/layout/factory.cxx +++ b/sfx2/source/layout/factory.cxx @@ -58,7 +58,7 @@ SAL_DLLPUBLIC_EXPORT Window* CreateWindow (VCLXWindow** vcl, OUString const& nam { ; } - else if (name.equalsAscii ("sfxmodelessdialog")) + else if (name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("sfxmodelessdialog"))) { window = new SfxModelessDialog_unprotect (parent, ImplGetWinBits (attributes, 0)); *vcl = new layoutimpl::VCLXDialog (); |