Kaydet (Commit) 614e1a6c authored tarafından Alexander Wilms's avatar Alexander Wilms Kaydeden (comit) Caolán McNamara

Remove visual noise from sot

Change-Id: I731691d4cac8567938407a514a25e13b2baa7958
Reviewed-on: https://gerrit.libreoffice.org/8314Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 8e000814
...@@ -40,7 +40,7 @@ public class OLESimpleStorageUnitTest /* extends ComplexTestCase */ ...@@ -40,7 +40,7 @@ public class OLESimpleStorageUnitTest /* extends ComplexTestCase */
// return new String[] { // return new String[] {
// "ExecuteTest01"}; // "ExecuteTest01"};
// } // }
//
// public String getTestObjectName() { // public String getTestObjectName() {
// return "OLESimpleStorageUnitTest"; // return "OLESimpleStorageUnitTest";
// } // }
......
...@@ -102,7 +102,7 @@ SotFactory::SotFactory( const SvGlobalName & rName, ...@@ -102,7 +102,7 @@ SotFactory::SotFactory( const SvGlobalName & rName,
} }
//=========================================================================
SotFactory::~SotFactory() SotFactory::~SotFactory()
{ {
delete [] pSuperClasses; delete [] pSuperClasses;
......
...@@ -72,7 +72,7 @@ IUnknown * SotObject::GetInterface( const SvGlobalName & ) ...@@ -72,7 +72,7 @@ IUnknown * SotObject::GetInterface( const SvGlobalName & )
return NULL; return NULL;
} }
//=========================================================================
void SotObject::OwnerLock void SotObject::OwnerLock
( (
bool bLock /* true, lock. false, unlock. */ bool bLock /* true, lock. false, unlock. */
...@@ -98,7 +98,7 @@ void SotObject::OwnerLock ...@@ -98,7 +98,7 @@ void SotObject::OwnerLock
} }
} }
//=========================================================================
bool SotObject::DoClose() bool SotObject::DoClose()
{ {
bool bRet = false; bool bRet = false;
...@@ -112,7 +112,7 @@ bool SotObject::DoClose() ...@@ -112,7 +112,7 @@ bool SotObject::DoClose()
return bRet; return bRet;
} }
//=========================================================================
bool SotObject::Close() bool SotObject::Close()
{ {
return true; return true;
......
...@@ -41,7 +41,7 @@ static long nTmpCount = 0; ...@@ -41,7 +41,7 @@ static long nTmpCount = 0;
#define INTERNAL_MODE ( STREAM_READ | STREAM_TRUNC ) #define INTERNAL_MODE ( STREAM_READ | STREAM_TRUNC )
///////////////////////// class StorageBase ////////////////////////////// ///////////////////////// class StorageBase
TYPEINIT0( StorageBase ); TYPEINIT0( StorageBase );
TYPEINIT1( BaseStorageStream, StorageBase ); TYPEINIT1( BaseStorageStream, StorageBase );
...@@ -159,7 +159,7 @@ bool OLEStorageBase::ValidateMode_Impl( StreamMode m, StgDirEntry* p ) const ...@@ -159,7 +159,7 @@ bool OLEStorageBase::ValidateMode_Impl( StreamMode m, StgDirEntry* p ) const
} }
//////////////////////// class StorageStream ///////////////////////////// //////////////////////// class StorageStream
TYPEINIT1( StorageStream, BaseStorageStream ); TYPEINIT1( StorageStream, BaseStorageStream );
...@@ -319,7 +319,7 @@ bool StorageStream::ValidateMode( StreamMode nMode ) const ...@@ -319,7 +319,7 @@ bool StorageStream::ValidateMode( StreamMode nMode ) const
return bRet; return bRet;
} }
///////////////////////// class SvStorageInfo ////////////////////////////// ///////////////////////// class SvStorageInfo
SvStorageInfo::SvStorageInfo( const StgDirEntry& rE ) SvStorageInfo::SvStorageInfo( const StgDirEntry& rE )
{ {
...@@ -329,7 +329,7 @@ SvStorageInfo::SvStorageInfo( const StgDirEntry& rE ) ...@@ -329,7 +329,7 @@ SvStorageInfo::SvStorageInfo( const StgDirEntry& rE )
nSize = bStorage ? 0 : rE.aEntry.GetSize(); nSize = bStorage ? 0 : rE.aEntry.GetSize();
} }
/////////////////////////// class Storage //////////////////////////////// /////////////////////////// class Storage
bool Storage::IsStorageFile( const OUString & rFileName ) bool Storage::IsStorageFile( const OUString & rFileName )
{ {
...@@ -927,7 +927,7 @@ bool Storage::Revert() ...@@ -927,7 +927,7 @@ bool Storage::Revert()
return true; return true;
} }
///////////////////////////// OLE Support //////////////////////////////// ///////////////////////////// OLE Support
// Set the storage type // Set the storage type
......
...@@ -380,7 +380,7 @@ bool StgAvlNode::Move( StgAvlNode** pRoot1, StgAvlNode** pRoot2, StgAvlNode* pMo ...@@ -380,7 +380,7 @@ bool StgAvlNode::Move( StgAvlNode** pRoot1, StgAvlNode** pRoot2, StgAvlNode* pMo
return false; return false;
} }
////////////////////////// class AvlIterator ///////////////////////// ////////////////////////// class AvlIterator
// The iterator walks through a tree one entry by one. // The iterator walks through a tree one entry by one.
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
//#define CHECK_DIRTY 1 //#define CHECK_DIRTY 1
//#define READ_AFTER_WRITE 1 //#define READ_AFTER_WRITE 1
////////////////////////////// class StgPage ///////////////////////////// ////////////////////////////// class StgPage
// This class implements buffer functionality. The cache will always return // This class implements buffer functionality. The cache will always return
// a page buffer, even if a read fails. It is up to the caller to determine // a page buffer, even if a read fails. It is up to the caller to determine
// the correctness of the I/O. // the correctness of the I/O.
...@@ -75,7 +75,7 @@ bool StgPage::IsPageGreater( const StgPage *pA, const StgPage *pB ) ...@@ -75,7 +75,7 @@ bool StgPage::IsPageGreater( const StgPage *pA, const StgPage *pB )
return pA->mnPage < pB->mnPage; return pA->mnPage < pB->mnPage;
} }
//////////////////////////////// class StgCache //////////////////////////// //////////////////////////////// class StgCache
// The disk cache holds the cached sectors. The sector type differ according // The disk cache holds the cached sectors. The sector type differ according
// to their purpose. // to their purpose.
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "stgio.hxx" #include "stgio.hxx"
//////////////////////////// class StgDirEntry ///////////////////////////// //////////////////////////// class StgDirEntry
// This class holds the dir entry data and maintains dirty flags for both // This class holds the dir entry data and maintains dirty flags for both
// the entry and the data. // the entry and the data.
...@@ -770,7 +770,7 @@ void StgDirEntry::Invalidate( bool bDel ) ...@@ -770,7 +770,7 @@ void StgDirEntry::Invalidate( bool bDel )
} }
} }
///////////////////////////// class StgDirStrm //////////////////////////// ///////////////////////////// class StgDirStrm
// This specialized stream is the maintenance stream for the directory tree. // This specialized stream is the maintenance stream for the directory tree.
......
...@@ -33,7 +33,7 @@ static const sal_uInt16 nMaxLegalStr = 31; ...@@ -33,7 +33,7 @@ static const sal_uInt16 nMaxLegalStr = 31;
static const sal_uInt8 cStgSignature[ 8 ] = { 0xD0,0xCF,0x11,0xE0,0xA1,0xB1,0x1A,0xE1 }; static const sal_uInt8 cStgSignature[ 8 ] = { 0xD0,0xCF,0x11,0xE0,0xA1,0xB1,0x1A,0xE1 };
////////////////////////////// struct ClsId ///////////////////////////// ////////////////////////////// struct ClsId
SvStream& ReadClsId( SvStream& r, ClsId& rId ) SvStream& ReadClsId( SvStream& r, ClsId& rId )
{ {
...@@ -67,7 +67,7 @@ SvStream& WriteClsId( SvStream& r, const ClsId& rId ) ...@@ -67,7 +67,7 @@ SvStream& WriteClsId( SvStream& r, const ClsId& rId )
.WriteUChar( (sal_uInt8) rId.n11 ); .WriteUChar( (sal_uInt8) rId.n11 );
} }
///////////////////////////// class StgHeader //////////////////////////// ///////////////////////////// class StgHeader
StgHeader::StgHeader() StgHeader::StgHeader()
: nVersion( 0 ) : nVersion( 0 )
...@@ -256,7 +256,7 @@ void StgHeader::SetMasters( sal_Int32 n ) ...@@ -256,7 +256,7 @@ void StgHeader::SetMasters( sal_Int32 n )
if( n != nMaster ) bDirty = sal_True, nMaster = n; if( n != nMaster ) bDirty = sal_True, nMaster = n;
} }
///////////////////////////// class StgEntry ///////////////////////////// ///////////////////////////// class StgEntry
bool StgEntry::Init() bool StgEntry::Init()
{ {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "stgio.hxx" #include "stgio.hxx"
#include <rtl/instance.hxx> #include <rtl/instance.hxx>
///////////////////////////// class StgIo ////////////////////////////// ///////////////////////////// class StgIo
// This class holds the storage header and all internal streams. // This class holds the storage header and all internal streams.
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning(disable: 4342) #pragma warning(disable: 4342)
#endif #endif
///////////////////////// class StgInternalStream //////////////////////// ///////////////////////// class StgInternalStream
StgInternalStream::StgInternalStream( BaseStorage& rStg, const OUString& rName, bool bWr ) StgInternalStream::StgInternalStream( BaseStorage& rStg, const OUString& rName, bool bWr )
{ {
...@@ -88,7 +88,7 @@ void StgInternalStream::Commit() ...@@ -88,7 +88,7 @@ void StgInternalStream::Commit()
pStrm->Commit(); pStrm->Commit();
} }
///////////////////////// class StgCompObjStream ///////////////////////// ///////////////////////// class StgCompObjStream
StgCompObjStream::StgCompObjStream( BaseStorage& rStg, bool bWr ) StgCompObjStream::StgCompObjStream( BaseStorage& rStg, bool bWr )
: StgInternalStream( rStg, OUString("\1CompObj"), bWr ) : StgInternalStream( rStg, OUString("\1CompObj"), bWr )
...@@ -158,7 +158,7 @@ bool StgCompObjStream::Store() ...@@ -158,7 +158,7 @@ bool StgCompObjStream::Store()
return GetError() == SVSTREAM_OK; return GetError() == SVSTREAM_OK;
} }
/////////////////////////// class StgOleStream /////////////////////////// /////////////////////////// class StgOleStream
StgOleStream::StgOleStream( BaseStorage& rStg, bool bWr ) StgOleStream::StgOleStream( BaseStorage& rStg, bool bWr )
: StgInternalStream( rStg, OUString("\1Ole"), bWr ) : StgInternalStream( rStg, OUString("\1Ole"), bWr )
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include "stgdir.hxx" #include "stgdir.hxx"
#include "stgio.hxx" #include "stgio.hxx"
///////////////////////////// class StgFAT /////////////////////////////// ///////////////////////////// class StgFAT
// The FAT class performs FAT operations on an underlying storage stream. // The FAT class performs FAT operations on an underlying storage stream.
// This stream is either the master FAT stream (m == true ) or a normal // This stream is either the master FAT stream (m == true ) or a normal
...@@ -298,7 +298,7 @@ bool StgFAT::FreePages( sal_Int32 nStart, bool bAll ) ...@@ -298,7 +298,7 @@ bool StgFAT::FreePages( sal_Int32 nStart, bool bAll )
return true; return true;
} }
///////////////////////////// class StgStrm //////////////////////////////// ///////////////////////////// class StgStrm
// The base stream class provides basic functionality for seeking // The base stream class provides basic functionality for seeking
// and accessing the data on a physical basis. It uses the built-in // and accessing the data on a physical basis. It uses the built-in
...@@ -393,7 +393,7 @@ bool StgStrm::Pos2Page( sal_Int32 nBytePos ) ...@@ -393,7 +393,7 @@ bool StgStrm::Pos2Page( sal_Int32 nBytePos )
// See fdo#47644 for a .doc with a vast amount of pages where seeking around the // See fdo#47644 for a .doc with a vast amount of pages where seeking around the
// document takes a colossal amount of time // document takes a colossal amount of time
//
// Please Note: we build the pagescache incrementally as we go if necessary, // Please Note: we build the pagescache incrementally as we go if necessary,
// so that a corrupted FAT doesn't poison the stream state for earlier reads // so that a corrupted FAT doesn't poison the stream state for earlier reads
size_t nIdx = nNew / nPageSize; size_t nIdx = nNew / nPageSize;
...@@ -537,7 +537,7 @@ sal_Int32 StgStrm::GetPages() const ...@@ -537,7 +537,7 @@ sal_Int32 StgStrm::GetPages() const
return ( nSize + nPageSize - 1 ) / nPageSize; return ( nSize + nPageSize - 1 ) / nPageSize;
} }
//////////////////////////// class StgFATStrm ////////////////////////////// //////////////////////////// class StgFATStrm
// The FAT stream class provides physical access to the master FAT. // The FAT stream class provides physical access to the master FAT.
// Since this access is implemented as a StgStrm, we can use the // Since this access is implemented as a StgStrm, we can use the
...@@ -796,7 +796,7 @@ bool StgFATStrm::SetSize( sal_Int32 nBytes ) ...@@ -796,7 +796,7 @@ bool StgFATStrm::SetSize( sal_Int32 nBytes )
return true; return true;
} }
/////////////////////////// class StgDataStrm ////////////////////////////// /////////////////////////// class StgDataStrm
// This class is a normal physical stream which can be initialized // This class is a normal physical stream which can be initialized
// either with an existing dir entry or an existing FAT chain. // either with an existing dir entry or an existing FAT chain.
...@@ -1002,7 +1002,7 @@ sal_Int32 StgDataStrm::Write( const void* pBuf, sal_Int32 n ) ...@@ -1002,7 +1002,7 @@ sal_Int32 StgDataStrm::Write( const void* pBuf, sal_Int32 n )
return nDone; return nDone;
} }
//////////////////////////// class StgSmallStream /////////////////////////// //////////////////////////// class StgSmallStream
// The small stream class provides access to streams with a size < 4096 bytes. // The small stream class provides access to streams with a size < 4096 bytes.
// This stream is a StgStream containing small pages. The FAT for this stream // This stream is a StgStream containing small pages. The FAT for this stream
...@@ -1114,7 +1114,7 @@ sal_Int32 StgSmallStrm::Write( const void* pBuf, sal_Int32 n ) ...@@ -1114,7 +1114,7 @@ sal_Int32 StgSmallStrm::Write( const void* pBuf, sal_Int32 n )
return nDone; return nDone;
} }
/////////////////////////// class StgTmpStrm ///////////////////////////// /////////////////////////// class StgTmpStrm
// The temporary stream uses a memory stream if < 32K, otherwise a // The temporary stream uses a memory stream if < 32K, otherwise a
// temporary file. // temporary file.
......
...@@ -78,17 +78,17 @@ public: ...@@ -78,17 +78,17 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager ); const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager );
//____________________________________________________________________________________________________
// XInitialization // XInitialization
//____________________________________________________________________________________________________
virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments )
throw ( ::com::sun::star::uno::Exception, throw ( ::com::sun::star::uno::Exception,
::com::sun::star::uno::RuntimeException); ::com::sun::star::uno::RuntimeException);
//____________________________________________________________________________________________________
// XNameContainer // XNameContainer
//____________________________________________________________________________________________________
virtual void SAL_CALL insertByName( const OUString& aName, const ::com::sun::star::uno::Any& aElement ) virtual void SAL_CALL insertByName( const OUString& aName, const ::com::sun::star::uno::Any& aElement )
throw ( ::com::sun::star::lang::IllegalArgumentException, throw ( ::com::sun::star::lang::IllegalArgumentException,
...@@ -124,9 +124,9 @@ public: ...@@ -124,9 +124,9 @@ public:
virtual sal_Bool SAL_CALL hasElements() virtual sal_Bool SAL_CALL hasElements()
throw ( ::com::sun::star::uno::RuntimeException ); throw ( ::com::sun::star::uno::RuntimeException );
//____________________________________________________________________________________________________
// XComponent // XComponent
//____________________________________________________________________________________________________
virtual void SAL_CALL dispose() virtual void SAL_CALL dispose()
throw ( ::com::sun::star::uno::RuntimeException ); throw ( ::com::sun::star::uno::RuntimeException );
...@@ -139,9 +139,9 @@ public: ...@@ -139,9 +139,9 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener )
throw ( ::com::sun::star::uno::RuntimeException ); throw ( ::com::sun::star::uno::RuntimeException );
//____________________________________________________________________________________________________
// XTransactedObject // XTransactedObject
//____________________________________________________________________________________________________
virtual void SAL_CALL commit() virtual void SAL_CALL commit()
throw ( ::com::sun::star::io::IOException, throw ( ::com::sun::star::io::IOException,
...@@ -153,9 +153,9 @@ public: ...@@ -153,9 +153,9 @@ public:
::com::sun::star::lang::WrappedTargetException, ::com::sun::star::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException ); ::com::sun::star::uno::RuntimeException );
//____________________________________________________________________________________________________
// XClassifiedObject // XClassifiedObject
//____________________________________________________________________________________________________
virtual ::com::sun::star::uno::Sequence< ::sal_Int8 > SAL_CALL getClassID() virtual ::com::sun::star::uno::Sequence< ::sal_Int8 > SAL_CALL getClassID()
throw ( ::com::sun::star::uno::RuntimeException ); throw ( ::com::sun::star::uno::RuntimeException );
...@@ -168,9 +168,9 @@ public: ...@@ -168,9 +168,9 @@ public:
throw ( ::com::sun::star::lang::NoSupportException, throw ( ::com::sun::star::lang::NoSupportException,
::com::sun::star::uno::RuntimeException ); ::com::sun::star::uno::RuntimeException );
//____________________________________________________________________________________________________
// XServiceInfo // XServiceInfo
//____________________________________________________________________________________________________
virtual OUString SAL_CALL getImplementationName() virtual OUString SAL_CALL getImplementationName()
throw ( ::com::sun::star::uno::RuntimeException ); throw ( ::com::sun::star::uno::RuntimeException );
......
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