summaryrefslogtreecommitdiff
path: root/sot/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-24 22:57:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-25 09:42:06 +0100
commit2d1c4141bafea812c9db2db5cb8bf0b248b05242 (patch)
treea37f3e2b04809c6afbc046dca5116da4a388949c /sot/inc
parentac1530a37e4544378c22c9358e57ca8a596c1aa8 (diff)
UnoStorageHolder is never ctored, follow logical consequences of that
Diffstat (limited to 'sot/inc')
-rw-r--r--sot/inc/sot/stg.hxx9
-rw-r--r--sot/inc/sot/storage.hxx2
2 files changed, 0 insertions, 11 deletions
diff --git a/sot/inc/sot/stg.hxx b/sot/inc/sot/stg.hxx
index df43ca771e3c..c8d18da67a8a 100644
--- a/sot/inc/sot/stg.hxx
+++ b/sot/inc/sot/stg.hxx
@@ -45,11 +45,6 @@
#include "sot/storinfo.hxx"
#include "sot/sotdllapi.h"
-#include <list>
-
-class UNOStorageHolder;
-typedef ::std::list< UNOStorageHolder* > UNOStorageHolderList;
-
class Storage;
class StorageStream;
class StgIo;
@@ -371,10 +366,6 @@ public:
sal_Bool GetProperty( const String& rName, ::com::sun::star::uno::Any& rValue );
sal_Bool GetProperty( const String& rEleName, const String& rName, ::com::sun::star::uno::Any& rValue );
- // HACK to avoid incompatible build, can be done since this feature is only for development
- // should be removed before release
- UNOStorageHolderList* GetUNOStorageHolderList();
-
//#if _SOLAR__PRIVATE
UCBStorageElement_Impl* FindElement_Impl( const String& rName ) const;
sal_Bool CopyStorageElement_Impl( UCBStorageElement_Impl& rElement,
diff --git a/sot/inc/sot/storage.hxx b/sot/inc/sot/storage.hxx
index 32a7cdb23e6a..26258bc4b51e 100644
--- a/sot/inc/sot/storage.hxx
+++ b/sot/inc/sot/storage.hxx
@@ -232,8 +232,6 @@ public:
static sal_Bool IsOLEStorage( const String & rFileName );
static sal_Bool IsOLEStorage( SvStream* pStream );
- void RemoveUNOStorageHolder( UNOStorageHolder* pHolder );
-
static SotStorage* OpenOLEStorage( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage,
const String& rEleName, StreamMode = STREAM_STD_READWRITE );
static sal_Int32 GetFormatID( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage );