diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-04 09:43:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-05 09:17:49 +0200 |
commit | 0654c95af100989c64b530daf852e089f7c2bda3 (patch) | |
tree | 1aa6c5731d7d7d8a6bc18933ce46f1316506dff9 | |
parent | 31c4dfb2b5fbbed58a37c4c924041629c68ebb95 (diff) |
debug only code SotFactory::Find(SvGlobalName const&)
Change-Id: Ia7e94a0580a26dad874b2f53b4bc17d5c4b6d115
-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&) |