diff options
-rw-r--r-- | include/sot/factory.hxx | 2 | ||||
-rw-r--r-- | sot/source/base/factory.cxx | 2 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/include/sot/factory.hxx b/include/sot/factory.hxx index b49c56e59018..60094b4772d8 100644 --- a/include/sot/factory.hxx +++ b/include/sot/factory.hxx @@ -50,7 +50,9 @@ public: static void IncSvObjectCount( SotObject * = NULL ); static void DecSvObjectCount( SotObject * = NULL ); +#ifdef DBG_UTIL static const SotFactory * Find( const SvGlobalName & ); +#endif SotFactory( const SvGlobalName &, const OUString & rClassName, CreateInstanceType ); diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx index 1b28f7035d8d..ec2aa26b677d 100644 --- a/sot/source/base/factory.cxx +++ b/sot/source/base/factory.cxx @@ -113,6 +113,7 @@ SotFactory::~SotFactory() |* |* Beschreibung *************************************************************************/ +#ifdef DBG_UTIL const SotFactory* SotFactory::Find( const SvGlobalName & rFactName ) { SvGlobalName aEmpty; @@ -128,6 +129,7 @@ const SotFactory* SotFactory::Find( const SvGlobalName & rFactName ) return 0; } +#endif /************************************************************************* |* SotFactory::PutSuperClass() diff --git a/unusedcode.easy b/unusedcode.easy index 1ff022c504cc..5262ce086797 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -48,7 +48,6 @@ SfxItemPool::GetMasterPool() const SimpleErrorHandler::SimpleErrorHandler() SmFontPickList::Contains(Font const&) const SmParser::Insert(rtl::OUString const&, int) -SotFactory::Find(SvGlobalName const&) StyleSettings::SetActiveColor2(Color const&) StyleSettings::SetCursorSize(long) StyleSettings::SetDeactiveColor2(Color const&) |