diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-04-26 14:32:13 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2019-04-27 03:21:13 +0200 |
commit | 55e28737e973b40f72d398c9bb7a4a41307eb562 (patch) | |
tree | 1799a0d77f47e377304a6e4e794ae0e5699e0db1 /include/sot | |
parent | b01a4437c42b3cd8484c7d7c16a2d09190c1ee97 (diff) |
clenup storinfo.hxx
Change-Id: Ib5e965c9b217d2df5111f1ce696bd75c107672ce
Reviewed-on: https://gerrit.libreoffice.org/71353
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/sot')
-rw-r--r-- | include/sot/storinfo.hxx | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/include/sot/storinfo.hxx b/include/sot/storinfo.hxx index b9a3c4fe13d2..13f0c10592d3 100644 --- a/include/sot/storinfo.hxx +++ b/include/sot/storinfo.hxx @@ -32,30 +32,30 @@ class SvStream; class SvStorageInfo { friend class SotStorage; - OUString aName; - sal_uLong nSize; - bool bStream; - bool bStorage; + OUString aName; + sal_uLong nSize; + bool bStream; + bool bStorage; public: - SvStorageInfo( const StgDirEntry& ); - SvStorageInfo( const OUString& rName, sal_uLong nSz, bool bIsStorage ) - : aName( rName ) - , nSize( nSz ) - , bStream( !bIsStorage ) - , bStorage( bIsStorage ) - {} - - const OUString & GetName() const { return aName; } - bool IsStream() const { return bStream; } - bool IsStorage() const { return bStorage; } - sal_uLong GetSize() const { return nSize; } + SvStorageInfo(const StgDirEntry&); + SvStorageInfo(const OUString& rName, sal_uLong nSz, bool bIsStorage) + : aName(rName) + , nSize(nSz) + , bStream(!bIsStorage) + , bStorage(bIsStorage) + {} + + const OUString & GetName() const { return aName; } + bool IsStream() const { return bStream; } + bool IsStorage() const { return bStorage; } + sal_uLong GetSize() const { return nSize; } }; -typedef ::std::vector< SvStorageInfo > SvStorageInfoList; +typedef std::vector<SvStorageInfo> SvStorageInfoList; -SOT_DLLPUBLIC SotClipboardFormatId ReadClipboardFormat( SvStream & rStm ); -SOT_DLLPUBLIC void WriteClipboardFormat( SvStream & rStm, SotClipboardFormatId nFormat ); +SOT_DLLPUBLIC SotClipboardFormatId ReadClipboardFormat(SvStream & rStm); +SOT_DLLPUBLIC void WriteClipboardFormat(SvStream & rStm, SotClipboardFormatId nFormat); #endif // _STORINFO_HXX |