summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svl/inc/svl/svldata.hxx4
-rw-r--r--svx/source/inc/DGColorNameLookUp.hxx3
2 files changed, 2 insertions, 5 deletions
diff --git a/svl/inc/svl/svldata.hxx b/svl/inc/svl/svldata.hxx
index bfafb848b99c..c498dd01cba7 100644
--- a/svl/inc/svl/svldata.hxx
+++ b/svl/inc/svl/svldata.hxx
@@ -45,9 +45,7 @@ public:
// further request for any other language supply the resmgr of the first call.
// For the simple resmgr we have a mgr for each language ever requested).
-private:
- /// Can only construct via singleton
- template<typename T, typename Unique> friend class rtl::Static;
+ public: //TODO: should be private
ImpSvlData() : pStoringPool(0), m_pThreadsafeRMs(NULL) {}
~ImpSvlData();
diff --git a/svx/source/inc/DGColorNameLookUp.hxx b/svx/source/inc/DGColorNameLookUp.hxx
index 98b72c7e6e90..0b0068d3a8dc 100644
--- a/svx/source/inc/DGColorNameLookUp.hxx
+++ b/svx/source/inc/DGColorNameLookUp.hxx
@@ -79,9 +79,8 @@ private:
/// This ma translates from numerical color values to names.
tColorValueToNameMap maColorValueToNameMap;
-private:
+public:
/// Can only construct via singleton
- template<typename T, typename Unique> friend class rtl::Static;
DGColorNameLookUp();
~DGColorNameLookUp();
};