diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-07-22 10:12:25 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-07-22 10:12:25 +0000 |
commit | c3ef87fb2bd5f791fea8b94651ccab3d8f150990 (patch) | |
tree | f4287b7664fe76d6756df995bed3c6b9062a1e48 /sot | |
parent | d008e297b51f2744e0ad2edc1324bfc6c016e010 (diff) |
INTEGRATION: CWS fwkrc32 (1.19.30); FILE MERGED
2003/07/16 15:10:04 mav 1.19.30.2: #i16015# close UCBStorageStream in case Storage based on it is deleted
2003/07/15 16:22:19 mav 1.19.30.1: #i16015# close UCBStorageStream in case Storage based on it is deleted
Diffstat (limited to 'sot')
-rw-r--r-- | sot/inc/stg.hxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sot/inc/stg.hxx b/sot/inc/stg.hxx index d1f47a32b94a..4f8ca3d7aca3 100644 --- a/sot/inc/stg.hxx +++ b/sot/inc/stg.hxx @@ -2,9 +2,9 @@ * * $RCSfile: stg.hxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: hr $ $Date: 2003-03-27 11:47:54 $ + * last change: $Author: vg $ $Date: 2003-07-22 11:12:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -225,6 +225,8 @@ public: virtual BOOL Equals( const BaseStorageStream& rStream ) const; }; +class UCBStorageStream; + class Storage : public BaseStorage, public OLEStorageBase { String aName; @@ -237,6 +239,7 @@ public: TYPEINFO(); Storage( const String &, StreamMode = STREAM_STD_READWRITE, BOOL bDirect = TRUE ); Storage( SvStream& rStrm, BOOL bDirect = TRUE ); + Storage( UCBStorageStream& rStrm, BOOL bDirect = TRUE ); static BOOL IsStorageFile( const String & rFileName ); static BOOL IsStorageFile( SvStream* ); @@ -318,6 +321,8 @@ public: BOOL SetProperty( const String& rName, const ::com::sun::star::uno::Any& rValue ); BOOL GetProperty( const String& rName, ::com::sun::star::uno::Any& rValue ); + SvStream* GetModifySvStream(); + ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > GetXInputStream() const; }; @@ -405,7 +410,6 @@ public: BOOL SetProperty( const String& rName, const ::com::sun::star::uno::Any& rValue ); BOOL GetProperty( const String& rName, ::com::sun::star::uno::Any& rValue ); BOOL GetProperty( const String& rEleName, const String& rName, ::com::sun::star::uno::Any& rValue ); - GetXInputStream(); #if _SOLAR__PRIVATE UCBStorageElement_Impl* FindElement_Impl( const String& rName ) const; |