[Libreoffice-commits] core.git: sot/qa sot/source

Alexander Wilms f.alexander.wilms at gmail.com
Tue Feb 25 13:12:47 PST 2014


 sot/qa/complex/olesimplestorage/OLESimpleStorageUnitTest.java |    2 
 sot/source/base/factory.cxx                                   |    2 
 sot/source/base/object.cxx                                    |    6 +-
 sot/source/sdstor/stg.cxx                                     |   10 ++--
 sot/source/sdstor/stgavl.cxx                                  |    2 
 sot/source/sdstor/stgcache.cxx                                |    4 -
 sot/source/sdstor/stgdir.cxx                                  |    4 -
 sot/source/sdstor/stgelem.cxx                                 |    6 +-
 sot/source/sdstor/stgio.cxx                                   |    2 
 sot/source/sdstor/stgole.cxx                                  |    6 +-
 sot/source/sdstor/stgstrms.cxx                                |   14 ++---
 sot/source/unoolestorage/xolesimplestorage.hxx                |   24 +++++-----
 12 files changed, 41 insertions(+), 41 deletions(-)

New commits:
commit 614e1a6cf8839344755ea8d5227561f75772aa2a
Author: Alexander Wilms <f.alexander.wilms at gmail.com>
Date:   Tue Feb 25 20:40:23 2014 +0100

    Remove visual noise from sot
    
    Change-Id: I731691d4cac8567938407a514a25e13b2baa7958
    Reviewed-on: https://gerrit.libreoffice.org/8314
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sot/qa/complex/olesimplestorage/OLESimpleStorageUnitTest.java b/sot/qa/complex/olesimplestorage/OLESimpleStorageUnitTest.java
index 13f6515..58ba596 100644
--- a/sot/qa/complex/olesimplestorage/OLESimpleStorageUnitTest.java
+++ b/sot/qa/complex/olesimplestorage/OLESimpleStorageUnitTest.java
@@ -40,7 +40,7 @@ public class OLESimpleStorageUnitTest /* extends ComplexTestCase */
 //        return new String[] {
 //            "ExecuteTest01"};
 //    }
-//
+
 //    public String getTestObjectName() {
 //        return "OLESimpleStorageUnitTest";
 //    }
diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx
index 0cd94cd..1b28f70 100644
--- a/sot/source/base/factory.cxx
+++ b/sot/source/base/factory.cxx
@@ -102,7 +102,7 @@ SotFactory::SotFactory( const SvGlobalName & rName,
 }
 
 
-//=========================================================================
+
 SotFactory::~SotFactory()
 {
     delete [] pSuperClasses;
diff --git a/sot/source/base/object.cxx b/sot/source/base/object.cxx
index cd14c74..0730ad5 100644
--- a/sot/source/base/object.cxx
+++ b/sot/source/base/object.cxx
@@ -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;
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx
index 684d36f..6ffb6ba 100644
--- a/sot/source/sdstor/stg.cxx
+++ b/sot/source/sdstor/stg.cxx
@@ -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
 
diff --git a/sot/source/sdstor/stgavl.cxx b/sot/source/sdstor/stgavl.cxx
index 807f023..722fb25 100644
--- a/sot/source/sdstor/stgavl.cxx
+++ b/sot/source/sdstor/stgavl.cxx
@@ -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.
 
diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx
index 02f8e38..8754a53 100644
--- a/sot/source/sdstor/stgcache.cxx
+++ b/sot/source/sdstor/stgcache.cxx
@@ -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.
diff --git a/sot/source/sdstor/stgdir.cxx b/sot/source/sdstor/stgdir.cxx
index 18fe0b2..c027867 100644
--- a/sot/source/sdstor/stgdir.cxx
+++ b/sot/source/sdstor/stgdir.cxx
@@ -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.
 
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
index cd3eee6..1a50c1e 100644
--- a/sot/source/sdstor/stgelem.cxx
+++ b/sot/source/sdstor/stgelem.cxx
@@ -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()
 {
diff --git a/sot/source/sdstor/stgio.cxx b/sot/source/sdstor/stgio.cxx
index 84da972..dc02e4d 100644
--- a/sot/source/sdstor/stgio.cxx
+++ b/sot/source/sdstor/stgio.cxx
@@ -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.
 
diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx
index 98cdcad..301899d 100644
--- a/sot/source/sdstor/stgole.cxx
+++ b/sot/source/sdstor/stgole.cxx
@@ -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 )
diff --git a/sot/source/sdstor/stgstrms.cxx b/sot/source/sdstor/stgstrms.cxx
index 722095e..f1d1fa2 100644
--- a/sot/source/sdstor/stgstrms.cxx
+++ b/sot/source/sdstor/stgstrms.cxx
@@ -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.
diff --git a/sot/source/unoolestorage/xolesimplestorage.hxx b/sot/source/unoolestorage/xolesimplestorage.hxx
index 79251d9..49c7bda 100644
--- a/sot/source/unoolestorage/xolesimplestorage.hxx
+++ b/sot/source/unoolestorage/xolesimplestorage.hxx
@@ -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 );


More information about the Libreoffice-commits mailing list