summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-28 16:09:25 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-28 16:09:25 +0100
commite7e601d344392d0a22c8aae6a5b0048e8116423d (patch)
treecb5c87cb7c650828b93e94eb863752d7692f741b /framework
parente1bd27206e8aa866f30102eaa1214b91b39829bb (diff)
Replace suitable equalsAscii calls with equalsAsciiL.
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/menubarmanager.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index 53b20038d2..58e5d6beb9 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