From 0e10d1627dbe41e67a159bc32c8e3c385093d172 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 13 Aug 2012 14:49:08 +0200 Subject: -Werror,-Wunused-private-field (Clang towards 3.2) Change-Id: Id5343222eea264c956ed0a6b545c59125352e110 --- unotools/source/config/moduleoptions.cxx | 8 +++----- unotools/source/config/syslocaleoptions.cxx | 2 -- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'unotools') diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx index 98667f5dc243..e81f3ad7f955 100644 --- a/unotools/source/config/moduleoptions.cxx +++ b/unotools/source/config/moduleoptions.cxx @@ -322,7 +322,7 @@ class SvtModuleOptions_Impl : public ::utl::ConfigItem //--------------------------------------------------------------------------------------------------------- // constructor / destructor //--------------------------------------------------------------------------------------------------------- - SvtModuleOptions_Impl(SvtModuleOptions* pOutsideClass); + SvtModuleOptions_Impl(); ~SvtModuleOptions_Impl(); //--------------------------------------------------------------------------------------------------------- @@ -369,7 +369,6 @@ class SvtModuleOptions_Impl : public ::utl::ConfigItem private: FactoryInfoList m_lFactories; sal_Bool m_bReadOnlyStatesWellKnown; - SvtModuleOptions* m_pOutsideClass; }; /*-************************************************************************************************************//** @@ -386,10 +385,9 @@ class SvtModuleOptions_Impl : public ::utl::ConfigItem @onerror - @threadsafe no *//*-*************************************************************************************************************/ -SvtModuleOptions_Impl::SvtModuleOptions_Impl(SvtModuleOptions* pOutsideClass) +SvtModuleOptions_Impl::SvtModuleOptions_Impl() : ::utl::ConfigItem( ROOTNODE_FACTORIES ) , m_bReadOnlyStatesWellKnown( sal_False ) - , m_pOutsideClass( pOutsideClass ) { // First initialize list of factory infos! Otherwise we couldnt gurantee right working of these class. for( sal_Int32 nFactory=0; nFactory SvtSysLocaleOptions_Impl::GetPropertyNames() SvtSysLocaleOptions_Impl::SvtSysLocaleOptions_Impl() : ConfigItem( ROOTNODE_SYSLOCALE ) - , m_nBlockedHint( 0 ) , m_bDecimalSeparator( sal_True ) , m_bROLocale(CFG_READONLY_DEFAULT) , m_bROUILocale(CFG_READONLY_DEFAULT) -- cgit