summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-20 00:13:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-20 11:00:39 +0100
commitd2d118362dea800d18a449261ba50f164076195c (patch)
tree4ac3bcebaafa0d1e3d25633643e64d896b5cef55 /accessibility
parentcdf7a764e37c761fb1b3e4cab4c45c8570c6cb9d (diff)
totally pointless intermediate object
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/helper/accresmgr.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/accessibility/source/helper/accresmgr.cxx b/accessibility/source/helper/accresmgr.cxx
index c2e5516d6a88..48c0eb1f0ee3 100644
--- a/accessibility/source/helper/accresmgr.cxx
+++ b/accessibility/source/helper/accresmgr.cxx
@@ -56,9 +56,7 @@ void TkResMgr::ensureImplExists()
::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILocale();
- ByteString sResMgrName( "acc" );
-
- m_pImpl = SimpleResMgr::Create( sResMgrName.GetBuffer(), aLocale );
+ m_pImpl = SimpleResMgr::Create("acc", aLocale );
if (m_pImpl)
{