summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-20 00:36:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-20 11:01:54 +0100
commit67b392a0621eaf4f9a3b0a99cc37109ca32263e8 (patch)
tree404002e44bbb3bb9fffe626101220530fc98b9d3 /formula
parente1764ce47d25ce68934d53737e17637d72182a1e (diff)
totally pointless intermediate object
Diffstat (limited to 'formula')
-rw-r--r--formula/source/core/resource/core_resource.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/formula/source/core/resource/core_resource.cxx b/formula/source/core/resource/core_resource.cxx
index 62b2bc02e357..5223879ee5f6 100644
--- a/formula/source/core/resource/core_resource.cxx
+++ b/formula/source/core/resource/core_resource.cxx
@@ -1,4 +1,3 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -56,9 +55,7 @@ namespace formula
::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILocale();
- ByteString sFileName("for");
-
- m_pImpl = ResMgr::CreateResMgr(sFileName.GetBuffer(), aLocale);
+ m_pImpl = ResMgr::CreateResMgr("for", aLocale);
}
//------------------------------------------------------------------