summaryrefslogtreecommitdiff
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
commit538f670a79b6bb86b63bab8b7e758b717ab2f7b8 (patch)
treef645d985a39154c6c2f00cd7cb4c4ba9aace4149
parent6f889198695ef3aef966098fee7a68f3e4d68c6e (diff)
totally pointless intermediate object
-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 c8d65eb91..87d2f9c10 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)
{