summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-20 00:32:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-20 11:00:40 +0100
commit2da6389c3769d91b3324a6d983968184badafb65 (patch)
tree13b194f600cc13c81f71d4ea1ade7a35fd0f4d2e /forms
parent49c7f6147b7530454eebbe8149b901ecb343668c (diff)
totally pointless intermediate object
Diffstat (limited to 'forms')
-rw-r--r--forms/source/resource/frm_resource.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/forms/source/resource/frm_resource.cxx b/forms/source/resource/frm_resource.cxx
index 93746147f3cd..c89a2001e057 100644
--- a/forms/source/resource/frm_resource.cxx
+++ b/forms/source/resource/frm_resource.cxx
@@ -59,9 +59,7 @@ namespace frm
if (m_pImpl)
return;
- ByteString sFileName("frm");
-
- m_pImpl = SimpleResMgr::Create(sFileName.GetBuffer(), Application::GetSettings().GetUILocale());
+ m_pImpl = SimpleResMgr::Create("frm", Application::GetSettings().GetUILocale());
if (m_pImpl)
{