summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-06 22:58:05 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-07 07:48:11 +0200
commitaf1be90e528ceeca70ee8f266fc6f6d8682b2c0d (patch)
treee3e7c92020cd1598d350d00e220aa66470bef434 /svx
parent1fd5509aaa7956ecdff5099c52818809ce8d45ed (diff)
Replace GetAppData(SHL_SVD) with an rtl::Static
Change-Id: Ie1ccffe5461475a0425891861f825aeea149e876
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdetc.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx
index abdb896b7232..76e75f886405 100644
--- a/svx/source/svdraw/svdetc.cxx
+++ b/svx/source/svdraw/svdetc.cxx
@@ -92,6 +92,15 @@ const LocaleDataWrapper* SdrGlobalData::GetLocaleData()
return pLocaleData;
}
+namespace {
+
+struct TheSdrGlobalData: public rtl::Static<SdrGlobalData, TheSdrGlobalData> {};
+
+}
+
+SdrGlobalData & GetSdrGlobalData() {
+ return TheSdrGlobalData::get();
+}
OLEObjCache::OLEObjCache()
{