diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-09 10:15:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-09 13:57:15 +0000 |
commit | 17d5cdfff9a2f8a311428b981a3998b8e33b4d82 (patch) | |
tree | 96093219395fd0adeb4d4d16d643b00eb0bb97cc /sot | |
parent | a4845bd70e7e759e853ca0458ee27c65c165c91c (diff) |
Three factories in sot never used
Diffstat (limited to 'sot')
-rw-r--r-- | sot/inc/sot/sotdata.hxx | 3 | ||||
-rw-r--r-- | sot/source/base/factory.cxx | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sot/inc/sot/sotdata.hxx b/sot/inc/sot/sotdata.hxx index ec8a3563c5c8..22cfb86c116b 100644 --- a/sot/inc/sot/sotdata.hxx +++ b/sot/inc/sot/sotdata.hxx @@ -51,9 +51,6 @@ struct SotData_Impl sal_uInt32 nSvObjCount; std::list<SotObject*> aObjectList; SotFactoryList * pFactoryList; - SotFactory * pSotObjectFactory; - SotFactory * pSotStorageStreamFactory; - SotFactory * pSotStorageFactory; tDataFlavorList* pDataFlavorList; SotData_Impl(); }; diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx index ba6132dc37f5..15ac9b97d825 100644 --- a/sot/source/base/factory.cxx +++ b/sot/source/base/factory.cxx @@ -48,18 +48,17 @@ SotData_Impl::SotData_Impl() : nSvObjCount( 0 ) , pFactoryList( NULL ) - , pSotObjectFactory( NULL ) - , pSotStorageStreamFactory( NULL ) - , pSotStorageFactory( NULL ) , pDataFlavorList( NULL ) { } + /************************************************************************* |* SOTDATA() |* |* Beschreibung *************************************************************************/ namespace { struct ImplData : public rtl::Static<SotData_Impl, ImplData> {}; } + SotData_Impl * SOTDATA() { return &ImplData::get(); |