Kaydet (Commit) 55e28737 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl Kaydeden (comit) Tomaž Vajngerl

clenup storinfo.hxx

Change-Id: Ib5e965c9b217d2df5111f1ce696bd75c107672ce
Reviewed-on: https://gerrit.libreoffice.org/71353
Tested-by: Jenkins
Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
üst b01a4437
...@@ -32,30 +32,30 @@ class SvStream; ...@@ -32,30 +32,30 @@ class SvStream;
class SvStorageInfo class SvStorageInfo
{ {
friend class SotStorage; friend class SotStorage;
OUString aName; OUString aName;
sal_uLong nSize; sal_uLong nSize;
bool bStream; bool bStream;
bool bStorage; bool bStorage;
public: public:
SvStorageInfo( const StgDirEntry& ); SvStorageInfo(const StgDirEntry&);
SvStorageInfo( const OUString& rName, sal_uLong nSz, bool bIsStorage ) SvStorageInfo(const OUString& rName, sal_uLong nSz, bool bIsStorage)
: aName( rName ) : aName(rName)
, nSize( nSz ) , nSize(nSz)
, bStream( !bIsStorage ) , bStream(!bIsStorage)
, bStorage( bIsStorage ) , bStorage(bIsStorage)
{} {}
const OUString & GetName() const { return aName; } const OUString & GetName() const { return aName; }
bool IsStream() const { return bStream; } bool IsStream() const { return bStream; }
bool IsStorage() const { return bStorage; } bool IsStorage() const { return bStorage; }
sal_uLong GetSize() const { return nSize; } sal_uLong GetSize() const { return nSize; }
}; };
typedef ::std::vector< SvStorageInfo > SvStorageInfoList; typedef std::vector<SvStorageInfo> SvStorageInfoList;
SOT_DLLPUBLIC SotClipboardFormatId ReadClipboardFormat( SvStream & rStm ); SOT_DLLPUBLIC SotClipboardFormatId ReadClipboardFormat(SvStream & rStm);
SOT_DLLPUBLIC void WriteClipboardFormat( SvStream & rStm, SotClipboardFormatId nFormat ); SOT_DLLPUBLIC void WriteClipboardFormat(SvStream & rStm, SotClipboardFormatId nFormat);
#endif // _STORINFO_HXX #endif // _STORINFO_HXX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment