From 538f670a79b6bb86b63bab8b7e758b717ab2f7b8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 20 Jun 2011 00:32:38 +0100 Subject: totally pointless intermediate object --- forms/source/resource/frm_resource.cxx | 4 +--- 1 file changed, 1 insertion(+), 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) { -- cgit v1.2.3