summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-03-29 14:07:33 +0100
committerEike Rathke <erack@redhat.com>2013-03-29 14:09:01 +0100
commit5be14df2444d9fcc3518c5f54872c87b924e3e98 (patch)
tree5a0b3b4b588469e9ff012c3a3328bdb224843160 /scaddins
parentba4df3dd31ee9b2ced2a9119ecfd263e95de5ee6 (diff)
ResMgr with LanguageTag
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/Library_analysis.mk1
-rw-r--r--scaddins/Library_date.mk1
-rw-r--r--scaddins/Library_pricing.mk1
-rw-r--r--scaddins/source/analysis/analysis.cxx2
-rw-r--r--scaddins/source/datefunc/datefunc.cxx2
-rw-r--r--scaddins/source/pricing/pricing.cxx2
6 files changed, 6 insertions, 3 deletions
diff --git a/scaddins/Library_analysis.mk b/scaddins/Library_analysis.mk
index 2b91e97bbc15..e502efd65f27 100644
--- a/scaddins/Library_analysis.mk
+++ b/scaddins/Library_analysis.mk
@@ -44,6 +44,7 @@ $(eval $(call gb_Library_use_libraries,analysis,\
cppuhelper \
sal \
tl \
+ i18nisolang1 \
$(gb_UWINAPI) \
))
diff --git a/scaddins/Library_date.mk b/scaddins/Library_date.mk
index 008212dfec50..d9fb4d3c9e91 100644
--- a/scaddins/Library_date.mk
+++ b/scaddins/Library_date.mk
@@ -43,6 +43,7 @@ $(eval $(call gb_Library_use_libraries,date,\
cppuhelper \
sal \
tl \
+ i18nisolang1 \
$(gb_UWINAPI) \
))
diff --git a/scaddins/Library_pricing.mk b/scaddins/Library_pricing.mk
index d03a90b936aa..12d8032921ec 100644
--- a/scaddins/Library_pricing.mk
+++ b/scaddins/Library_pricing.mk
@@ -43,6 +43,7 @@ $(eval $(call gb_Library_use_libraries,pricing,\
cppuhelper \
sal \
tl \
+ i18nisolang1 \
$(gb_UWINAPI) \
))
diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx
index 2a335f83215f..e8880fab3172 100644
--- a/scaddins/source/analysis/analysis.cxx
+++ b/scaddins/source/analysis/analysis.cxx
@@ -138,7 +138,7 @@ void AnalysisAddIn::InitData( void )
delete pResMgr;
OString aModName( "analysis" );
- pResMgr = ResMgr::CreateResMgr( aModName.getStr(), aFuncLoc );
+ pResMgr = ResMgr::CreateResMgr( aModName.getStr(), LanguageTag( aFuncLoc) );
if( pFD )
delete pFD;
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx
index 378db18cb192..37941045a751 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -297,7 +297,7 @@ void ScaDateAddIn::InitData()
delete pResMgr;
OString aModName( "date" );
- pResMgr = ResMgr::CreateResMgr( aModName.getStr(), aFuncLoc );
+ pResMgr = ResMgr::CreateResMgr( aModName.getStr(), LanguageTag( aFuncLoc) );
if( pFuncDataList )
delete pFuncDataList;
diff --git a/scaddins/source/pricing/pricing.cxx b/scaddins/source/pricing/pricing.cxx
index 2d7a8c8ca7f8..cc1a30cc2073 100644
--- a/scaddins/source/pricing/pricing.cxx
+++ b/scaddins/source/pricing/pricing.cxx
@@ -301,7 +301,7 @@ void ScaPricingAddIn::InitData()
delete pResMgr;
OString aModName( "pricing" );
- pResMgr = ResMgr::CreateResMgr( aModName.getStr(), aFuncLoc );
+ pResMgr = ResMgr::CreateResMgr( aModName.getStr(), LanguageTag( aFuncLoc) );
if( pFuncDataList )
delete pFuncDataList;