From 0654c95af100989c64b530daf852e089f7c2bda3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 4 Mar 2014 09:43:44 +0200 Subject: debug only code SotFactory::Find(SvGlobalName const&) Change-Id: Ia7e94a0580a26dad874b2f53b4bc17d5c4b6d115 --- include/sot/factory.hxx | 2 ++ sot/source/base/factory.cxx | 2 ++ unusedcode.easy | 1 - 3 files changed, 4 insertions(+), 1 deletion(-) 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&) -- cgit