summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorChris Laplante <mostthingsweb@gmail.com>2014-04-21 19:28:47 -0400
committerThomas Arnhold <thomas@arnhold.org>2014-04-24 04:39:51 +0000
commitba39f1bf9b29f58b7593f01d552a4f1a42a637cb (patch)
treeab251de2ca0dbb92ab843bfa73c674adebb0ebf5 /sw/inc
parentbff954c0c4e5f9acf18bfd9ae796bc5a937b7ff6 (diff)
Finish cleaning up ASCII art in the sw module
Change-Id: If4f11093b791902514dee8e216c92f66b075211d Reviewed-on: https://gerrit.libreoffice.org/9117 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/EnhancedPDFExportHelper.hxx14
-rw-r--r--sw/inc/IDocumentRedlineAccess.hxx8
-rw-r--r--sw/inc/SwSmartTagMgr.hxx7
-rw-r--r--sw/inc/breakit.hxx4
-rw-r--r--sw/inc/calc.hxx17
-rw-r--r--sw/inc/checkit.hxx7
-rw-r--r--sw/inc/grfatr.hxx18
-rw-r--r--sw/inc/paratr.hxx10
-rw-r--r--sw/inc/shellio.hxx3
-rw-r--r--sw/inc/splargs.hxx18
-rw-r--r--sw/inc/swscanner.hxx8
-rw-r--r--sw/inc/viewsh.hxx3
12 files changed, 17 insertions, 100 deletions
diff --git a/sw/inc/EnhancedPDFExportHelper.hxx b/sw/inc/EnhancedPDFExportHelper.hxx
index 38028102ed3a..d8c4ef45b4be 100644
--- a/sw/inc/EnhancedPDFExportHelper.hxx
+++ b/sw/inc/EnhancedPDFExportHelper.hxx
@@ -122,12 +122,8 @@ struct lt_TableColumn
}
};
-/*************************************************************************
- * class SwTaggedPDFHelper
- * Analyses a given frame during painting and generates the appropriate
- * structure elements.
- *************************************************************************/
-
+// Analyses a given frame during painting and generates the appropriate
+// structure elements.
class SwTaggedPDFHelper
{
private:
@@ -172,8 +168,7 @@ class SwTaggedPDFHelper
static bool IsExportTaggedPDF( const OutputDevice& rOut );
};
-/*************************************************************************
- * class SwEnhancedPDFExportHelper
+/*
* Analyses the document structure and export Notes, Hyperlinks, References,
* and Outline. Link ids created during pdf export are stored in
* aReferenceIdMap and aHyperlinkIdMap, in order to use them during
@@ -183,8 +178,7 @@ class SwTaggedPDFHelper
* Therefore SwEnhancedPDFExportHelper also has to be used after the
* painting process, the parameter bEditEngineOnly indicated that only
* the bookmarks from the EditEngine have to be processed.
- *************************************************************************/
-
+ */
typedef std::set< long, lt_TableColumn > TableColumnsMapEntry;
typedef std::pair< SwRect, sal_Int32 > IdMapEntry;
typedef std::vector< IdMapEntry > LinkIdMap;
diff --git a/sw/inc/IDocumentRedlineAccess.hxx b/sw/inc/IDocumentRedlineAccess.hxx
index 2700a3116ef9..50cbdcbd46da 100644
--- a/sw/inc/IDocumentRedlineAccess.hxx
+++ b/sw/inc/IDocumentRedlineAccess.hxx
@@ -98,10 +98,6 @@ public:
public:
- /*************************************************
- Query
- *************************************************/
-
/** Query the currently set redline mode
@returns
@@ -139,10 +135,6 @@ public:
virtual bool IsInRedlines(const SwNode& rNode) const = 0;
- /***************************************************
- Manipulation
- ***************************************************/
-
/** Append a new redline
@param pPtr
diff --git a/sw/inc/SwSmartTagMgr.hxx b/sw/inc/SwSmartTagMgr.hxx
index c3e1640ed89a..e11f1f303f5d 100644
--- a/sw/inc/SwSmartTagMgr.hxx
+++ b/sw/inc/SwSmartTagMgr.hxx
@@ -22,12 +22,7 @@
#include <svx/SmartTagMgr.hxx>
-/*************************************************************************
- * class SwSmartTagMgr
- *
- * Wrapper for the svx SmartTagMgr
- *************************************************************************/
-
+// Wrapper for the svx SmartTagMgr
class SwSmartTagMgr : public SmartTagMgr
{
private:
diff --git a/sw/inc/breakit.hxx b/sw/inc/breakit.hxx
index 89ea5d12f093..588943efdb12 100644
--- a/sw/inc/breakit.hxx
+++ b/sw/inc/breakit.hxx
@@ -29,10 +29,6 @@
#include <i18nlangtag/languagetag.hxx>
#include <swdllapi.h>
-/*************************************************************************
- * class SwBreakIt
- *************************************************************************/
-
class SW_DLLPUBLIC SwBreakIt : private ::boost::noncopyable
{
com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > m_xContext;
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx
index 2d00ab550020..ead65e624129 100644
--- a/sw/inc/calc.hxx
+++ b/sw/inc/calc.hxx
@@ -35,9 +35,6 @@ class SwUserFieldType;
const sal_Unicode cListDelim = '|';
-/******************************************************************************
- * Calculate Operations
- ******************************************************************************/
enum SwCalcOper
{
CALC_NAME, CALC_NUMBER, CALC_ENDCALC,
@@ -58,8 +55,7 @@ enum SwCalcOper
CALC_DAY=284
};
-//-- Calculate Operations Strings -----------------------------------------
-
+// Calculate Operations Strings
extern const sal_Char sCalc_Add[];
extern const sal_Char sCalc_Sub[];
extern const sal_Char sCalc_Mul[];
@@ -91,9 +87,7 @@ extern const sal_Char sCalc_Tdif[];
extern const sal_Char sCalc_Round[];
extern const sal_Char sCalc_Date[];
-/******************************************************************************
- * Calculate ErrorCodes
- ******************************************************************************/
+// Calculate ErrorCodes
enum SwCalcError
{
CALC_NOERR=0,
@@ -128,9 +122,7 @@ public:
void SetVoidValue(bool bSet) {bVoid = bSet;}
};
-/******************************************************************************
- * Calculate HashTables for VarTable und Operations
- ******************************************************************************/
+// Calculate HashTables for VarTable und Operations
struct SwHash
{
SwHash( const OUString& rStr );
@@ -157,9 +149,6 @@ void DeleteHashTable( SwHash** ppTable, sal_uInt16 nTblSize );
struct _CalcOp;
_CalcOp* FindOperator( const OUString& rSearch );
-/******************************************************************************
- * class SwCalc
- ******************************************************************************/
class SwCalc
{
SwHash* VarTable[ TBLSZ ];
diff --git a/sw/inc/checkit.hxx b/sw/inc/checkit.hxx
index b26c51e02cb7..66ee3709826e 100644
--- a/sw/inc/checkit.hxx
+++ b/sw/inc/checkit.hxx
@@ -24,12 +24,7 @@
#include <com/sun/star/i18n/XExtendedInputSequenceChecker.hpp>
-/*************************************************************************
- * class SwCheckIt
- *
- * Wrapper for the XInputSequenceChecker
- *************************************************************************/
-
+// Wrapper for the XInputSequenceChecker
class SwCheckIt
{
public:
diff --git a/sw/inc/grfatr.hxx b/sw/inc/grfatr.hxx
index de916b330c3b..5c43030d039d 100644
--- a/sw/inc/grfatr.hxx
+++ b/sw/inc/grfatr.hxx
@@ -28,10 +28,6 @@
#include <swatrset.hxx>
#include <format.hxx>
-/******************************************************************************
- * class SwMirrorGrf
- ******************************************************************************/
-
enum MirrorGraph
{
RES_MIRROR_GRAPH_BEGIN,
@@ -83,10 +79,6 @@ public:
inline void SetGrfToggle( sal_Bool bNew ) { bGrfToggle = bNew; }
};
-/******************************************************************************
- * class SwAttrCropGrf
- ******************************************************************************/
-
class SW_DLLPUBLIC SwCropGrf : public SvxGrfCrop
{
public:
@@ -296,10 +288,7 @@ public:
sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
};
-/******************************************************************************
- * Implementation of graphics attributes methods of SwAttr
- ******************************************************************************/
-
+// Implementation of graphics attributes methods of SwAttr
inline const SwMirrorGrf &SwAttrSet::GetMirrorGrf(sal_Bool bInP) const
{ return (const SwMirrorGrf&)Get( RES_GRFATR_MIRRORGRF,bInP); }
inline const SwCropGrf &SwAttrSet::GetCropGrf(sal_Bool bInP) const
@@ -325,10 +314,7 @@ inline const SwTransparencyGrf &SwAttrSet::GetTransparencyGrf(sal_Bool bInP) con
inline const SwDrawModeGrf &SwAttrSet::GetDrawModeGrf(sal_Bool bInP) const
{ return (const SwDrawModeGrf&)Get( RES_GRFATR_DRAWMODE,bInP); }
-/******************************************************************************
- * Implementation of graphics attributes methods of SwFmt
- ******************************************************************************/
-
+// Implementation of graphics attributes methods of SwFmt
inline const SwMirrorGrf &SwFmt::GetMirrorGrf(sal_Bool bInP) const
{ return aSet.GetMirrorGrf(bInP); }
inline const SwCropGrf &SwFmt::GetCropGrf(sal_Bool bInP) const
diff --git a/sw/inc/paratr.hxx b/sw/inc/paratr.hxx
index 8bd41a07c8ec..bb81ce815bbc 100644
--- a/sw/inc/paratr.hxx
+++ b/sw/inc/paratr.hxx
@@ -188,10 +188,7 @@ inline SwParaConnectBorderItem& SwParaConnectBorderItem::operator=(
return *this;
}
-/******************************************************************************
- * Implementation of paragraph-attributes methods of SwAttrSet
- ******************************************************************************/
-
+// Implementation of paragraph-attributes methods of SwAttrSet
inline const SvxLineSpacingItem &SwAttrSet::GetLineSpacing(sal_Bool bInP) const
{ return (const SvxLineSpacingItem&)Get( RES_PARATR_LINESPACING,bInP); }
inline const SvxAdjustItem &SwAttrSet::GetAdjust(sal_Bool bInP) const
@@ -225,10 +222,7 @@ inline const SvxParaGridItem &SwAttrSet::GetParaGrid(sal_Bool bInP) const
inline const SwParaConnectBorderItem &SwAttrSet::GetParaConnectBorder(sal_Bool bInP) const
{ return (const SwParaConnectBorderItem&)Get( RES_PARATR_CONNECT_BORDER, bInP ); }
-/******************************************************************************
- * Implementation of paragraph-attributes methods of SwFmt
- ******************************************************************************/
-
+// Implementation of paragraph-attributes methods of SwFmt
inline const SvxLineSpacingItem &SwFmt::GetLineSpacing(sal_Bool bInP) const
{ return aSet.GetLineSpacing(bInP); }
inline const SvxAdjustItem &SwFmt::GetAdjust(sal_Bool bInP) const
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index 0f2ff1988704..cf7449ed429a 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -94,7 +94,6 @@ public:
SwAsciiOptions() { Reset(); }
};
-/**************** SwReader/Reader ************************/
// Base class of possible options for a special reader.
class Reader;
// Calls reader with its options, document, cursor etc.
@@ -184,8 +183,6 @@ protected:
void SetBaseURL( const OUString& rURL ) { sBaseURL = rURL; }
};
-/**************** Special Readers ************************/
-
// Special Readers can be both!! (Excel, W4W, .. ).
#define SW_STREAM_READER 1
#define SW_STORAGE_READER 2
diff --git a/sw/inc/splargs.hxx b/sw/inc/splargs.hxx
index 47bc1fbc3fc1..438a2f55ffe9 100644
--- a/sw/inc/splargs.hxx
+++ b/sw/inc/splargs.hxx
@@ -31,10 +31,6 @@ class Font;
#include <com/sun/star/linguistic2/XSpellChecker1.hpp>
#include <com/sun/star/linguistic2/XHyphenatedWord.hpp>
-/*************************************************************************
- * struct SwArgsBase
- *************************************************************************/
-
struct SwArgsBase // used for text conversion (Hangul/Hanja, ...)
{
SwTxtNode *pStartNode;
@@ -60,11 +56,7 @@ struct SwArgsBase // used for text conversion (Hangul/Hanja, ...)
}
};
-/*************************************************************************
- * struct SwConversionArgs
- * used for text conversion (Hangul/Hanja, Simplified/Traditional Chinese, ...)
- *************************************************************************/
-
+// used for text conversion (Hangul/Hanja, Simplified/Traditional Chinese, ...)
struct SwConversionArgs : SwArgsBase
{
OUString aConvText; // convertible text found
@@ -89,10 +81,6 @@ struct SwConversionArgs : SwArgsBase
{}
};
-/*************************************************************************
- * struct SwSpellArgs
- *************************************************************************/
-
struct SwSpellArgs : SwArgsBase
{
::com::sun::star::uno::Reference<
@@ -114,10 +102,6 @@ struct SwSpellArgs : SwArgsBase
{}
};
-/*************************************************************************
- * class SwInterHyphInfo
- *************************************************************************/
-
// Parameter-class for Hyphenate.
// docedt.cxx: SwDoc::Hyphenate()
// txtedt.cxx: SwTxtNode::Hyphenate()
diff --git a/sw/inc/swscanner.hxx b/sw/inc/swscanner.hxx
index 49ce2e2d3053..aafd070da238 100644
--- a/sw/inc/swscanner.hxx
+++ b/sw/inc/swscanner.hxx
@@ -25,12 +25,8 @@
class SwTxtNode;
-/*************************************************************************
- * class SwScanner
- * Helper class that provides consecutively the words of a selected area
- * during spell check
- *************************************************************************/
-
+// Helper class that provides consecutively the words of a selected area
+// during spell check
class SwScanner
{
OUString aWord;
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index 22a4ff8528f3..3f3708028651 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -573,8 +573,7 @@ public:
bool IsSelectAll() { return mbSelectAll; }
};
-//---- class CurrShell manages global ShellPointer -------------------
-
+// manages global ShellPointer
class CurrShell
{
public: