From 5be14df2444d9fcc3518c5f54872c87b924e3e98 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 29 Mar 2013 14:07:33 +0100 Subject: ResMgr with LanguageTag Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0 --- scaddins/Library_analysis.mk | 1 + scaddins/Library_date.mk | 1 + scaddins/Library_pricing.mk | 1 + scaddins/source/analysis/analysis.cxx | 2 +- scaddins/source/datefunc/datefunc.cxx | 2 +- scaddins/source/pricing/pricing.cxx | 2 +- 6 files changed, 6 insertions(+), 3 deletions(-) (limited to 'scaddins') 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; -- cgit