summaryrefslogtreecommitdiff
path: root/basic/source/runtime/basrdll.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-08-01 13:50:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-08-02 10:36:07 +0200
commit13fac4894f752e922727c6f22c6303712e06ba12 (patch)
tree5689829e917927bb13461d91988ec99e461f1831 /basic/source/runtime/basrdll.cxx
parent13cadf3fe38daa0b4cfddcfa68ec8631bc85f44a (diff)
normalize resource locale ctor construction mechanisms
make them all the same and share std::locales more various OModuleClient, etc, classes go away Change-Id: I7e3ff01a69332eeacd22e3078f66a60318de62d5 Reviewed-on: https://gerrit.libreoffice.org/40634 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basic/source/runtime/basrdll.cxx')
-rw-r--r--basic/source/runtime/basrdll.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/basic/source/runtime/basrdll.cxx b/basic/source/runtime/basrdll.cxx
index da830b4e9e6c..a8fadaa5a1af 100644
--- a/basic/source/runtime/basrdll.cxx
+++ b/basic/source/runtime/basrdll.cxx
@@ -35,13 +35,11 @@ struct BasicDLL::Impl
bool bDebugMode;
bool bBreakEnabled;
- std::locale aBasResLocale;
std::unique_ptr<SbxAppData> xSbxAppData;
Impl()
: bDebugMode(false)
, bBreakEnabled(true)
- , aBasResLocale(Translate::Create("sb"))
, xSbxAppData(new SbxAppData)
{ }
};
@@ -52,11 +50,6 @@ BasicDLL * BASIC_DLL;
}
-OUString BasResId(const char* pId)
-{
- return Translate::get(pId, BASIC_DLL->GetBasResLocale());
-}
-
BasicDLL::BasicDLL()
: m_xImpl(new Impl)
{
@@ -67,8 +60,6 @@ BasicDLL::~BasicDLL()
{
}
-const std::locale& BasicDLL::GetBasResLocale() const { return m_xImpl->aBasResLocale; }
-
void BasicDLL::EnableBreak( bool bEnable )
{
BasicDLL* pThis = BASIC_DLL;