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