summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 17:50:25 +0200
committerPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 22:41:10 +0200
commitbf42b6f9f51b4bc66e267ae24c87ac79122825cc (patch)
tree449f642fc53e3d654ae36a39877efc41a8b74fcc /include
parent3f84d81412f123bda0dde57c4e52abe9f49f58af (diff)
fdo#62475 - remove visual noise
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
Diffstat (limited to 'include')
-rw-r--r--include/drawinglayer/processor3d/zbufferprocessor3d.hxx14
-rw-r--r--include/editeng/boxitem.hxx1
-rw-r--r--include/o3tl/lazy_update.hxx11
-rw-r--r--include/sot/exchange.hxx15
-rw-r--r--include/svl/filerec.hxx206
-rw-r--r--include/svl/itempool.hxx18
-rw-r--r--include/svx/svdobj.hxx38
-rw-r--r--include/unotools/bootstrap.hxx6
-rw-r--r--include/vcl/textview.hxx2
9 files changed, 53 insertions, 258 deletions
diff --git a/include/drawinglayer/processor3d/zbufferprocessor3d.hxx b/include/drawinglayer/processor3d/zbufferprocessor3d.hxx
index 9ed04b46fe6b..89b23f130f79 100644
--- a/include/drawinglayer/processor3d/zbufferprocessor3d.hxx
+++ b/include/drawinglayer/processor3d/zbufferprocessor3d.hxx
@@ -25,9 +25,6 @@
#include <drawinglayer/processor3d/defaultprocessor3d.hxx>
#include <vcl/bitmapex.hxx>
-//////////////////////////////////////////////////////////////////////////////
-// predefines
-
namespace basegfx {
class BZPixelRaster;
}
@@ -46,8 +43,6 @@ namespace drawinglayer {
class ZBufferRasterConverter3D;
class RasterPrimitive3D;
-//////////////////////////////////////////////////////////////////////////////
-
namespace drawinglayer
{
namespace processor3d
@@ -80,7 +75,6 @@ namespace drawinglayer
*/
std::vector< RasterPrimitive3D >* mpRasterPrimitive3Ds;
- //////////////////////////////////////////////////////////////////////////////
// rasterconversions for filled and non-filled polygons
virtual void rasterconvertB3DPolygon(const attribute::MaterialAttribute3D& rMaterial, const basegfx::B3DPolygon& rHairline) const;
@@ -103,11 +97,9 @@ namespace drawinglayer
/// get the result as bitmapEx
BitmapEx getBitmapEx() const;
};
- } // end of namespace processor3d
-} // end of namespace drawinglayer
-
-//////////////////////////////////////////////////////////////////////////////
+ }
+}
-#endif //INCLUDED_DRAWINGLAYER_PROCESSOR3D_ZBUFFERPROCESSOR3D_HXX
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/editeng/boxitem.hxx b/include/editeng/boxitem.hxx
index d8739128fb8b..587bc1264845 100644
--- a/include/editeng/boxitem.hxx
+++ b/include/editeng/boxitem.hxx
@@ -16,6 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+
#ifndef _SVX_BOXITEM_HXX
#define _SVX_BOXITEM_HXX
diff --git a/include/o3tl/lazy_update.hxx b/include/o3tl/lazy_update.hxx
index 192df24ca9f2..eac479f4d65b 100644
--- a/include/o3tl/lazy_update.hxx
+++ b/include/o3tl/lazy_update.hxx
@@ -56,8 +56,6 @@ output( myValue.getOutValue() );
/// LazyUpdate specialization can directly convert, OutputType ctor must take InputType argument
struct LAZYUPDATE_DIRECT_TAG {};
- // -----------------------------------------------------------------------------------------------------
-
namespace detail
{
/// @internal
@@ -169,10 +167,7 @@ output( myValue.getOutValue() );
};
}
- // -----------------------------------------------------------------------------------------------------
-
// partial specializations for the three LAZYUPDATE_* tags
-
template< typename InputType, typename OutputType > class LazyUpdate<InputType,
OutputType,
LAZYUPDATE_DIRECT_TAG> :
@@ -194,8 +189,6 @@ output( myValue.getOutValue() );
{}
};
- // -----------------------------------------------------------------------------------------------------
-
template< typename InputType, typename OutputType > class LazyUpdate<InputType,
OutputType,
LAZYUPDATE_FUNCTION_TAG> :
@@ -226,8 +219,6 @@ output( myValue.getOutValue() );
{}
};
- // -----------------------------------------------------------------------------------------------------
-
template< typename InputType, typename OutputType > class LazyUpdate<InputType,
OutputType,
LAZYUPDATE_FUNCTOR_TAG> :
@@ -260,6 +251,6 @@ output( myValue.getOutValue() );
}
-#endif /* INCLUDED_O3TL_LAZY_UPDATE_HXX */
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/sot/exchange.hxx b/include/sot/exchange.hxx
index a0ff6a972678..c73515762ff2 100644
--- a/include/sot/exchange.hxx
+++ b/include/sot/exchange.hxx
@@ -34,16 +34,8 @@ namespace com { namespace sun { namespace star { namespace datatransfer {
class XTransferable;
} } } }
-// ---------------------
-// - SotFormatStringId -
-// ---------------------
-
typedef sal_uLong SotFormatStringId;
-// ----------------
-// - DataFlavorEx -
-// ----------------
-
struct DataFlavorEx : public ::com::sun::star::datatransfer::DataFlavor
{
SotFormatStringId mnSotId;
@@ -65,9 +57,7 @@ typedef ::std::list< DataFlavorEx > DataFlavorEx
SOT_DLLPUBLIC bool IsFormatSupported( const DataFlavorExVector& rDataFlavorExVector,
sal_uLong nId );
-// -------------------------
// - Vordefinierte Formate -
-// -------------------------
// Die Reihenfolge und die Werte d?rfen nicht ge?ndert werden,
// da die Implementation sich darauf verl??t.
@@ -152,9 +142,6 @@ SOT_DLLPUBLIC bool IsFormatSupported( const DataFlavorExVector& rDataFlavorExVec
#define EXCHG_DEST_DOC_TEXTFRAME_WEB 16
#define EXCHG_DEST_SWDOC_FREE_AREA_WEB 17
-// ------------
-// - Exchange -
-// ------------
class SvGlobalName;
class SOT_DLLPUBLIC SotExchange
{
@@ -204,6 +191,6 @@ public:
static sal_uInt16 IsMath( const SvGlobalName& rName );
};
-#endif // _EXCHANGE_HXX
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svl/filerec.hxx b/include/svl/filerec.hxx
index 8178c5ea712a..5aeb0b9ccccf 100644
--- a/include/svl/filerec.hxx
+++ b/include/svl/filerec.hxx
@@ -20,15 +20,11 @@
#ifndef _SFXFILEREC_HXX
#define _SFXFILEREC_HXX
-//=========================================================================
-
#include "svl/svldllapi.h"
#include <tools/debug.hxx>
#include <tools/stream.hxx>
#include <vector>
-//------------------------------------------------------------------------
-
#define SFX_REC_PRETAG_EXT sal_uInt8(0x00) // Pre-Tag f"ur Extended-Records
#define SFX_REC_PRETAG_EOR sal_uInt8(0xFF) // Pre-Tag f"ur End-Of-Records
@@ -45,14 +41,10 @@
#define SFX_REC_TYPE_DRAWENG 0x400 // Drawing-Engine-Record
#define SFX_REC_TYPE_EOR 0xF00 // End-Of-Records
-//------------------------------------------------------------------------
-
#define SFX_REC_HEADERSIZE_MINI 4 // Gr"o\se des Mini-Record-Headers
#define SFX_REC_HEADERSIZE_SINGLE 4 // zzgl. HEADERSIZE_MINI => 8
#define SFX_REC_HEADERSIZE_MULTI 6 // zzgl. HEADERSIZE_SINGLE => 14
-//------------------------------------------------------------------------
-
#ifndef DBG
#ifdef DBG_UTIL
#define DBG(x) x
@@ -61,8 +53,6 @@
#endif
#endif
-//------------------------------------------------------------------------
-
/* [Fileformat]
Jeder Record beginnt mit einem Byte, dem sogenannten 'Pre-Tag'.
@@ -172,10 +162,6 @@
High-Nibble des Typs bei Vergleichen nicht ber"ucksichtigt wird.
*/
-//------------------------------------------------------------------------
-
-class SVL_DLLPUBLIC SfxMiniRecordWriter
-
/* [Beschreibung]
Mit Instanzen dieser Klasse kann ein einfacher Record in einen Stream
@@ -206,7 +192,7 @@ class SVL_DLLPUBLIC SfxMiniRecordWriter
*aRecord << aMember2;
}
*/
-
+class SVL_DLLPUBLIC SfxMiniRecordWriter
{
protected:
SvStream* _pStream; // <SvStream>, in dem der Record liegt
@@ -234,10 +220,6 @@ private:
SfxMiniRecordWriter& operator=(const SfxMiniRecordWriter&);
};
-//------------------------------------------------------------------------
-
-class SVL_DLLPUBLIC SfxMiniRecordReader
-
/* [Beschreibung]
Mit Instanzen dieser Klasse kann ein einfacher Record aus einem Stream
@@ -261,7 +243,7 @@ class SVL_DLLPUBLIC SfxMiniRecordReader
}
}
*/
-
+class SVL_DLLPUBLIC SfxMiniRecordReader
{
protected:
SvStream* _pStream; // <SvStream>, aus dem gelesen wird
@@ -303,10 +285,6 @@ private:
SfxMiniRecordReader& operator=(const SfxMiniRecordReader&);
};
-//------------------------------------------------------------------------
-
-class SVL_DLLPUBLIC SfxSingleRecordWriter: public SfxMiniRecordWriter
-
/* [Beschreibung]
Mit Instanzen dieser Klasse kann ein Record in einen Stream geschrieben
@@ -332,7 +310,7 @@ class SVL_DLLPUBLIC SfxSingleRecordWriter: public SfxMiniRecordWriter
1* sal_uInt16 Content-Tag
SizeOfContent* sal_uInt8 Content
*/
-
+class SVL_DLLPUBLIC SfxSingleRecordWriter: public SfxMiniRecordWriter
{
protected:
SfxSingleRecordWriter( sal_uInt8 nRecordType,
@@ -345,10 +323,6 @@ public:
sal_uInt32 Close( bool bSeekToEndOfRec = true );
};
-//------------------------------------------------------------------------
-
-class SVL_DLLPUBLIC SfxSingleRecordReader: public SfxMiniRecordReader
-
/* [Beschreibung]
Mit Instanzen dieser Klasse kann ein einfacher Record aus einem Stream
@@ -358,7 +332,7 @@ class SVL_DLLPUBLIC SfxSingleRecordReader: public SfxMiniRecordReader
Es ist auch m"oglich, den Record zu "uberspringen, ohne sein internes
Format zu kennen.
*/
-
+class SVL_DLLPUBLIC SfxSingleRecordReader: public SfxMiniRecordReader
{
protected:
sal_uInt16 _nRecordTag; // Art des Gesamt-Inhalts
@@ -383,10 +357,6 @@ public:
inline bool HasVersion( sal_uInt16 nVersion ) const;
};
-//------------------------------------------------------------------------
-
-class SVL_DLLPUBLIC SfxMultiFixRecordWriter: public SfxSingleRecordWriter
-
/* [Beschreibung]
Mit Instanzen dieser Klasse kann ein Record in einen Stream geschrieben
@@ -431,7 +401,7 @@ class SVL_DLLPUBLIC SfxMultiFixRecordWriter: public SfxSingleRecordWriter
}
}
*/
-
+class SVL_DLLPUBLIC SfxMultiFixRecordWriter: public SfxSingleRecordWriter
{
protected:
sal_uInt32 _nContentStartPos; /* Startposition des jeweiligen
@@ -455,10 +425,6 @@ public:
sal_uInt32 Close( bool bSeekToEndOfRec = true );
};
-//------------------------------------------------------------------------
-
-class SVL_DLLPUBLIC SfxMultiVarRecordWriter: public SfxMultiFixRecordWriter
-
/* [Beschreibung]
Mit Instanzen dieser Klasse kann ein Record in einen Stream geschrieben
@@ -502,7 +468,7 @@ class SVL_DLLPUBLIC SfxMultiVarRecordWriter: public SfxMultiFixRecordWriter
}
}
*/
-
+class SVL_DLLPUBLIC SfxMultiVarRecordWriter: public SfxMultiFixRecordWriter
{
protected:
std::vector<sal_uInt32> _aContentOfs;
@@ -526,10 +492,6 @@ public:
virtual sal_uInt32 Close( bool bSeekToEndOfRec = true );
};
-//------------------------------------------------------------------------
-
-class SVL_DLLPUBLIC SfxMultiMixRecordWriter: public SfxMultiVarRecordWriter
-
/* [Beschreibung]
Mit Instanzen dieser Klasse kann ein Record in einen Stream geschrieben
@@ -561,7 +523,7 @@ class SVL_DLLPUBLIC SfxMultiMixRecordWriter: public SfxMultiVarRecordWriter
)
NumberOfContents* sal_uInt32 ( ContentOfs << 8 + Version )
*/
-
+class SVL_DLLPUBLIC SfxMultiMixRecordWriter: public SfxMultiVarRecordWriter
{
public:
inline SfxMultiMixRecordWriter( SvStream *pStream,
@@ -575,10 +537,6 @@ public:
{ OSL_FAIL( "NewContent() only allowed with args" ); }
};
-//------------------------------------------------------------------------
-
-class SVL_DLLPUBLIC SfxMultiRecordReader: public SfxSingleRecordReader
-
/* [Beschreibung]
Mit Instanzen dieser Klasse kann ein aus mehreren Contents bestehender
@@ -610,7 +568,7 @@ class SVL_DLLPUBLIC SfxMultiRecordReader: public SfxSingleRecordReader
}
}
*/
-
+class SVL_DLLPUBLIC SfxMultiRecordReader: public SfxSingleRecordReader
{
sal_uInt32 _nStartPos; // Start-Position des Records
sal_uInt32* _pContentOfs; // Offsets der Startpositionen
@@ -637,21 +595,17 @@ public:
inline sal_uInt32 ContentCount() const;
};
-//=========================================================================
-
-inline SfxMiniRecordWriter::SfxMiniRecordWriter
-(
- SvStream* pStream, // Stream, in dem der Record angelegt wird
- sal_uInt8 nTag // Record-Tag zwischen 0x01 und 0xFE
-)
-
/* [Beschreibung]
Legt in 'pStream' einen 'SfxMiniRecord' an, dessen Content-Gr"o\se
nicht bekannt ist, sondern nach dam Streamen des Contents errechnet
werden soll.
*/
-
+inline SfxMiniRecordWriter::SfxMiniRecordWriter
+(
+ SvStream* pStream, // Stream, in dem der Record angelegt wird
+ sal_uInt8 nTag // Record-Tag zwischen 0x01 und 0xFE
+)
: _pStream( pStream ),
_nStartPos( pStream->Tell() ),
_bHeaderOk(false),
@@ -663,21 +617,17 @@ inline SfxMiniRecordWriter::SfxMiniRecordWriter
pStream->SeekRel( + SFX_REC_HEADERSIZE_MINI );
}
-//-------------------------------------------------------------------------
+/* [Beschreibung]
+ Legt in 'pStream' einen 'SfxMiniRecord' an, dessen Content-Gr"o\se
+ von vornherein bekannt ist.
+*/
inline SfxMiniRecordWriter::SfxMiniRecordWriter
(
SvStream* pStream, // Stream, in dem der Record angelegt wird
sal_uInt8 nTag, // Record-Tag zwischen 0x01 und 0xFE
sal_uInt32 nSize // Gr"o\se der Daten in Bytes
)
-
-/* [Beschreibung]
-
- Legt in 'pStream' einen 'SfxMiniRecord' an, dessen Content-Gr"o\se
- von vornherein bekannt ist.
-*/
-
: _pStream( pStream ),
// _nTag( uninitialized ),
// _nStarPos( uninitialized ),
@@ -690,82 +640,60 @@ inline SfxMiniRecordWriter::SfxMiniRecordWriter
*pStream << ( ( nTag << 24 ) | nSize );
}
-//-------------------------------------------------------------------------
-
-inline SfxMiniRecordWriter::~SfxMiniRecordWriter()
-
/* [Beschreibung]
Der Dtor der Klasse <SfxMiniRecordWriter> schlie\st den Record
automatisch, falls <SfxMiniRecordWriter::Close()> nicht bereits
explizit gerufen wurde.
*/
-
+inline SfxMiniRecordWriter::~SfxMiniRecordWriter()
{
// wurde der Header noch nicht geschrieben oder mu\s er gepr"uft werden
if ( !_bHeaderOk )
Close();
}
-//-------------------------------------------------------------------------
-
-inline SvStream& SfxMiniRecordWriter::operator*() const
-
/* [Beschreibung]
Dieser Operator liefert den Stream, in dem der Record liegt.
Der Record darf noch nicht geschlossen worden sein.
*/
-
+inline SvStream& SfxMiniRecordWriter::operator*() const
{
DBG_ASSERT( !_bHeaderOk, "getting Stream of closed record" );
return *_pStream;
}
-//-------------------------------------------------------------------------
-
inline void SfxMiniRecordWriter::Reset()
{
_pStream->Seek( _nStartPos + SFX_REC_HEADERSIZE_MINI );
_bHeaderOk = false;
}
-//=========================================================================
-
-inline SfxMiniRecordReader::~SfxMiniRecordReader()
-
/* [Beschreibung]
Der Dtor der Klasse <SfxMiniRecordReader> positioniert den Stream
automatisch auf die Position direkt hinter dem Record, falls nicht
<SfxMiniRecordReader::Skip()> bereits explizit gerufen wurde.
*/
-
+inline SfxMiniRecordReader::~SfxMiniRecordReader()
{
// noch nicht explizit ans Ende gesprungen?
if ( !_bSkipped )
Skip();
}
-//-------------------------------------------------------------------------
-
-inline void SfxMiniRecordReader::Skip()
-
/* [Beschreibung]
Mit dieser Methode wird der Stream direkt hinter das Ende des Records
positioniert.
*/
-
+inline void SfxMiniRecordReader::Skip()
{
_pStream->Seek(_nEofRec);
_bSkipped = sal_True;
}
-//-------------------------------------------------------------------------
-
-inline sal_uInt8 SfxMiniRecordReader::GetTag() const
-
/* [Beschreibung]
Liefert des aus dem Header gelesene Pre-Tag des Records. Dieses kann
@@ -774,47 +702,35 @@ inline sal_uInt8 SfxMiniRecordReader::GetTag() const
gesetzt. SFX_REC_PRETAG_EXT ist g"ultig, da diese extended-Records
nur eine Erweiterung des SfxMiniRecord darstellen.
*/
-
+inline sal_uInt8 SfxMiniRecordReader::GetTag() const
{
return _nPreTag;
}
-//-------------------------------------------------------------------------
-
-inline bool SfxMiniRecordReader::IsValid() const
-
/* [Beschreibung]
Hiermit kann abgefragt werden, ob der Record erfolgreich aus dem
Stream konstruiert werden konnte, der Header also f"ur diesen Record-Typ
passend war.
*/
-
+inline bool SfxMiniRecordReader::IsValid() const
{
return _nPreTag != SFX_REC_PRETAG_EOR;
}
-//-------------------------------------------------------------------------
-
-inline SvStream& SfxMiniRecordReader::operator*() const
-
/* [Beschreibung]
Dieser Operator liefert den Stream in dem der Record liegt.
Die aktuelle Position des Streams mu\s innerhalb des Records liegen.
*/
-
+inline SvStream& SfxMiniRecordReader::operator*() const
{
DBG_ASSERT( _pStream->Tell() < _nEofRec, "read behind record" );
return *_pStream;
}
-//=========================================================================
-
-inline sal_uInt32 SfxSingleRecordWriter::Close( bool bSeekToEndOfRec )
-
// siehe <SfxMiniRecordWriter::Close(bool)>
-
+inline sal_uInt32 SfxSingleRecordWriter::Close( bool bSeekToEndOfRec )
{
sal_uInt32 nRet = 0;
@@ -840,8 +756,6 @@ inline sal_uInt32 SfxSingleRecordWriter::Close( bool bSeekToEndOfRec )
return nRet;
}
-//-------------------------------------------------------------------------
-
inline void SfxSingleRecordWriter::Reset()
{
_pStream->Seek( _nStartPos + SFX_REC_HEADERSIZE_MINI +
@@ -849,74 +763,54 @@ inline void SfxSingleRecordWriter::Reset()
_bHeaderOk = false;
}
-//=========================================================================
-
-inline sal_uInt16 SfxSingleRecordReader::GetTag() const
-
/* [Beschreibung]
Liefert des aus dem Header gelesene Tag f"ur den Gesamt-Record.
*/
-
+inline sal_uInt16 SfxSingleRecordReader::GetTag() const
{
return _nRecordTag;
}
-//-------------------------------------------------------------------------
-
-inline sal_uInt8 SfxSingleRecordReader::GetVersion() const
-
/* [Beschreibung]
Liefert die Version des aus dem Stream gelesenen Records.
*/
-
+inline sal_uInt8 SfxSingleRecordReader::GetVersion() const
{
return _nRecordVer;
}
-//-------------------------------------------------------------------------
-
-inline bool SfxSingleRecordReader::HasVersion( sal_uInt16 nVersion ) const
-
/* [Beschreibung]
Stellt fest, ob der aus dem Stream gelese Record in der Version
'nVersion' oder h"oher vorliegt.
*/
-
+inline bool SfxSingleRecordReader::HasVersion( sal_uInt16 nVersion ) const
{
return _nRecordVer >= nVersion;
}
-//=========================================================================
-
-inline SfxMultiFixRecordWriter::~SfxMultiFixRecordWriter()
-
/* [Beschreibung]
Der Dtor der Klasse <SfxMultiFixRecordWriter> schlie\st den Record
automatisch, falls <SfxMutiFixRecordWriter::Close()> nicht bereits
explizit gerufen wurde.
*/
-
+inline SfxMultiFixRecordWriter::~SfxMultiFixRecordWriter()
{
// wurde der Header noch nicht geschrieben oder mu\s er gepr"uft werden
if ( !_bHeaderOk )
Close();
}
-//-------------------------------------------------------------------------
-
-inline void SfxMultiFixRecordWriter::NewContent()
-
/* [Beschreibung]
Mit dieser Methode wird in den Record ein neuer Content eingef"ugt.
Jeder, auch der 1. Record mu\s durch Aufruf dieser Methode eingeleitet
werden.
*/
-
+inline void SfxMultiFixRecordWriter::NewContent()
{
#ifdef DBG_UTIL
sal_uLong nOldStartPos;
@@ -939,29 +833,23 @@ inline void SfxMultiFixRecordWriter::NewContent()
++_nContentCount;
}
-//=========================================================================
+/* [Beschreibung]
+ Legt in 'pStream' einen 'SfxMultiMixRecord' an, f"ur dessen Contents
+ je eine separate Kennung f"ur Art (Tag) und Version gespeichert wird.
+ Die Gr"o\sen der einzelnen Contents werden automatisch ermittelt.
+*/
inline SfxMultiMixRecordWriter::SfxMultiMixRecordWriter
(
SvStream* pStream, // Stream, in dem der Record angelegt wird
sal_uInt16 nRecordTag, // Gesamt-Record-Art-Kennung
sal_uInt8 nRecordVer // Gesamt-Record-Versions-Kennung
)
-
-/* [Beschreibung]
-
- Legt in 'pStream' einen 'SfxMultiMixRecord' an, f"ur dessen Contents
- je eine separate Kennung f"ur Art (Tag) und Version gespeichert wird.
- Die Gr"o\sen der einzelnen Contents werden automatisch ermittelt.
-*/
-
: SfxMultiVarRecordWriter( SFX_REC_TYPE_MIXTAGS,
pStream, nRecordTag, nRecordVer )
{
}
-//=========================================================================
-
inline void SfxMultiFixRecordWriter::Reset()
{
_pStream->Seek( _nStartPos + SFX_REC_HEADERSIZE_MINI +
@@ -970,58 +858,42 @@ inline void SfxMultiFixRecordWriter::Reset()
_bHeaderOk = false;
}
-//=========================================================================
-
-inline sal_uInt16 SfxMultiRecordReader::GetContentTag()
-
/* [Beschreibung]
Diese Methode liefert die Art-Kennung des zuletzt mit der Methode
<SfxMultiRecordReder::GetContent()> ge"offneten Contents.
*/
-
+inline sal_uInt16 SfxMultiRecordReader::GetContentTag()
{
return _nContentTag;
}
-//-------------------------------------------------------------------------
-
-inline sal_uInt8 SfxMultiRecordReader::GetContentVersion() const
-
/* [Beschreibung]
Diese Methode liefert die Version-Kennung des zuletzt mit der Methode
<SfxMultiRecordReder::GetContent()> ge"offneten Contents.
*/
-
+inline sal_uInt8 SfxMultiRecordReader::GetContentVersion() const
{
return _nContentVer;
}
-//-------------------------------------------------------------------------
-
-inline bool SfxMultiRecordReader::HasContentVersion( sal_uInt16 nVersion ) const
-
/* [Beschreibung]
Diese Methode stellt fest, ob die Version 'nVersion' in der Version des
zuletzt mit der Methode <SfxMultiRecordReder::GetContent()> ge"offneten
Contents enthalten ist.
*/
-
+inline bool SfxMultiRecordReader::HasContentVersion( sal_uInt16 nVersion ) const
{
return _nContentVer >= nVersion;
}
-//-------------------------------------------------------------------------
-
-inline sal_uInt32 SfxMultiRecordReader::ContentCount() const
-
/* [Beschreibung]
Diese Methode liefert die Anzahl im Record befindlichen Contents.
*/
-
+inline sal_uInt32 SfxMultiRecordReader::ContentCount() const
{
return _nContentCount;
}
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx
index 01c9e5bbed70..4fba3e33b213 100644
--- a/include/svl/itempool.hxx
+++ b/include/svl/itempool.hxx
@@ -36,21 +36,15 @@ struct SfxItemPool_Impl;
DBG_NAMEEX(SfxItemPool)
-//====================================================================
-
#define SFX_ITEM_POOLABLE 0x0001
#define SFX_ITEM_NOT_POOLABLE 0x0002
-//====================================================================
-
struct SfxItemInfo
{
sal_uInt16 _nSID;
sal_uInt16 _nFlags;
};
-//====================================================================
-
class SfxStyleSheetIterator;
struct SfxPoolItemArray_Impl;
class SfxItemPool;
@@ -64,8 +58,6 @@ protected:
~SfxItemPoolUser() {}
};
-class SVL_DLLPUBLIC SfxItemPool
-
/* [Beschreibung]
Die von dieser Klasse abgeleiteten Klassen dienen der Bereitstellung von
@@ -78,7 +70,7 @@ class SVL_DLLPUBLIC SfxItemPool
beschleunigt und ein einfaches Laden und Speichern von Attributen
bereitstellt.
*/
-
+class SVL_DLLPUBLIC SfxItemPool
{
friend struct SfxItemPool_Impl;
@@ -89,9 +81,7 @@ public:
void AddSfxItemPoolUser(SfxItemPoolUser& rNewUser);
void RemoveSfxItemPoolUser(SfxItemPoolUser& rOldUser);
- //---------------------------------------------------------------------
#ifndef _SFXITEMS_HXX
-
private:
sal_uInt16 GetIndex_Impl(sal_uInt16 nWhich) const;
sal_uInt16 GetSize_Impl() const;
@@ -103,9 +93,7 @@ public:
// fuer dflt. SfxItemSet::CTOR, setze dflt. WhichRanges
void FillItemIdRanges_Impl( sal_uInt16*& pWhichRanges ) const;
const sal_uInt16* GetFrozenIdRanges() const;
-
#endif
- //---------------------------------------------------------------------
protected:
static inline void SetRefCount( SfxPoolItem& rItem, sal_uLong n );
@@ -121,8 +109,10 @@ public:
const SfxItemInfo *pItemInfos,
SfxPoolItem **pDefaults = 0,
bool bLoadRefCounts = true );
+
protected:
virtual ~SfxItemPool();
+
public:
static void Free(SfxItemPool* pPool);
@@ -240,8 +230,6 @@ private:
static const SfxItemPool* pStoringPool_;
};
-// --------------- Inline Implementierungen ------------------------------
-
// nur der Pool darf den Referenz-Zaehler manipulieren !!!
inline void SfxItemPool::SetRefCount( SfxPoolItem& rItem, sal_uLong n )
{
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index f9d4cec53bb8..b705e12b03dd 100644
--- a/include/svx/svdobj.hxx
+++ b/include/svx/svdobj.hxx
@@ -43,9 +43,7 @@
#include <boost/optional.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
-//************************************************************
-// Vorausdeklarationen
-//************************************************************
+// forward declarations
class SfxBroadcaster;
class Pointer;
@@ -96,9 +94,7 @@ namespace svx
class PropertyChangeNotifier;
}
-//************************************************************
-// Defines
-//************************************************************
+// Defines
enum SdrObjKind {OBJ_NONE = 0, // Abstraktes Objekt (SdrObject)
OBJ_GRUP = 1, // Objektgruppe
@@ -153,10 +149,7 @@ enum SdrUserCallType {SDRUSERCALL_MOVEONLY, // Nur verschoben, Groesse u
SDRUSERCALL_CHILD_INSERTED, // Ein Child einer Gruppe hat sich veraendert
SDRUSERCALL_CHILD_REMOVED}; // Ein Child einer Gruppe hat sich veraendert
-//************************************************************
// Hilfsklasse SdrObjUserCall
-//************************************************************
-
class SVX_DLLPUBLIC SdrObjUserCall
{
public:
@@ -165,10 +158,7 @@ public:
virtual void Changed(const SdrObject& rObj, SdrUserCallType eType, const Rectangle& rOldBoundRect);
};
-//************************************************************
// Hilfsklasse SdrObjMacroHitRec
-//************************************************************
-
class SVX_DLLPUBLIC SdrObjMacroHitRec
{
public:
@@ -183,7 +173,6 @@ public:
SdrObjMacroHitRec();
};
-//************************************************************
// Hilfsklasse SdrObjUserData
//
// Anwenderdaten an einem Zeichenobjekt, z.B. applikationsspezifische Daten.
@@ -191,8 +180,6 @@ public:
// Wer hier Daten halten will, muss sich ableiten und auch an der Factory
// einen entsprechenden Link setzen.
//
-//************************************************************
-
class SVX_DLLPUBLIC SdrObjUserData
{
protected:
@@ -224,10 +211,7 @@ public:
virtual OUString GetMacroPopupComment(const SdrObjMacroHitRec& rRec, const SdrObject* pObj) const;
};
-//************************************************************
// Hilfsklasse SdrObjUserDataList
-//************************************************************
-
class SdrObjUserDataList
{
typedef boost::ptr_vector<SdrObjUserData> ListType;
@@ -244,13 +228,9 @@ public:
void DeleteUserData(size_t nNum);
};
-//************************************************************
// Hilfsklasse SdrObjGeoData
//
// Alle geometrischen Daten eines beliebigen Objektes zur ??bergabe an's Undo/Redo
-//
-//************************************************************
-
class SVX_DLLPUBLIC SdrObjGeoData
{
public:
@@ -269,13 +249,9 @@ public:
virtual ~SdrObjGeoData();
};
-//************************************************************
// Hilfsklasse SdrObjPlusData
//
// Bitsack fuer DrawObjekte
-//
-//************************************************************
-
class SdrObjPlusData
{
friend class SdrObject;
@@ -299,13 +275,9 @@ public:
void SetGluePoints(const SdrGluePointList& rPts);
};
-//************************************************************
// Hilfsklasse SdrObjTransformInfoRec
//
// gibt Auskunft ueber verschiedene Eigenschaften eines ZObjects
-//
-//************************************************************
-
class SVX_DLLPUBLIC SdrObjTransformInfoRec
{
public:
@@ -1087,9 +1059,6 @@ private:
bool mbDoNotInsertIntoPageAutomatically;
};
-//************************************************************
-// SdrDummyObj
-//
// Wer sich eigene Objekte schafft muss einen Link in der Klasse
// SdrObjFactory setzen. Der Handler hat folgendes aussehen:
// void Hdl(SdrObjFactory*)
@@ -1097,9 +1066,6 @@ private:
// nIdentifier ansehen und entsprechend mit new eine Zeichenobjektinstanz
// erzeugen. Einen Zeiger auf diese Instanz hat er in der Membervariablen
// pNewObj zu hinterlassen.
-//
-//************************************************************
-
class SVX_DLLPUBLIC SdrObjFactory
{
public:
diff --git a/include/unotools/bootstrap.hxx b/include/unotools/bootstrap.hxx
index 779d990816e3..ebbe582127bd 100644
--- a/include/unotools/bootstrap.hxx
+++ b/include/unotools/bootstrap.hxx
@@ -25,7 +25,6 @@
namespace utl
{
-//-----------------------------------------------------------------------------
/** provides configuration information needed for application startup.
<p>This class handles the startup information for the office application.
It encapsulates knowledge of how to retriev such information and how
@@ -112,9 +111,8 @@ namespace utl
class Impl;
static const Impl& data(); // the data related to the bootstrap.ini file
};
-//-----------------------------------------------------------------------------
-} // namespace utl
+}
-#endif // _UTL_BOOTSTRAP_HXX
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/textview.hxx b/include/vcl/textview.hxx
index baeee5a4d84d..1f9b310c176e 100644
--- a/include/vcl/textview.hxx
+++ b/include/vcl/textview.hxx
@@ -201,6 +201,6 @@ public:
sal_Int32 GetLineNumberOfCursorInSelection() const;
};
-#endif // _TEXTVIEW_HXX
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */