summaryrefslogtreecommitdiff
path: root/framework/source/accelerators
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-16 09:58:03 +0200
committerNoel Grandin <noel@peralex.com>2013-09-17 09:05:49 +0200
commite8ecf30ea61625c3397a635c5c409bbc004685bc (patch)
tree36052ce7f57e3c39f5c96f9aaeaaf6cc469290ea /framework/source/accelerators
parent1591130dc2b62e5fdec45274b1b06d63df0051b3 (diff)
convert FRAMEWORK module from String to OUString
Change-Id: Iafa6b5f213d37093e7e46065c9264c7bb7fae377
Diffstat (limited to 'framework/source/accelerators')
-rw-r--r--framework/source/accelerators/acceleratorconfiguration.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx
index 387451e7c414..b645b3b64100 100644
--- a/framework/source/accelerators/acceleratorconfiguration.cxx
+++ b/framework/source/accelerators/acceleratorconfiguration.cxx
@@ -849,13 +849,13 @@ AcceleratorCache::TKeyList::const_iterator lcl_getPreferredKey(const Accelerator
{
const css::awt::KeyEvent& rAWTKey = *pIt;
const KeyCode aVCLKey = ::svt::AcceleratorExecute::st_AWTKey2VCLKey(rAWTKey);
- const String sName = aVCLKey.GetName();
+ const OUString sName = aVCLKey.GetName();
- if (sName.Len () > 0)
+ if (!sName.isEmpty())
return pIt;
}
- return lKeys.end ();
+ return lKeys.end();
}
//-----------------------------------------------