summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/inc/EnhancedPDFExportHelper.hxx14
-rw-r--r--sw/inc/anchoreddrawobject.hxx8
-rw-r--r--sw/inc/anchoredobject.hxx8
-rw-r--r--sw/inc/dcontact.hxx4
-rw-r--r--sw/inc/doc.hxx2
-rw-r--r--sw/inc/fesh.hxx4
-rw-r--r--sw/inc/fmtcol.hxx4
-rw-r--r--sw/inc/fmtflcnt.hxx4
-rw-r--r--sw/inc/fmtfordr.hxx4
-rw-r--r--sw/inc/format.hxx6
-rw-r--r--sw/inc/frmfmt.hxx6
-rw-r--r--sw/inc/ndnotxt.hxx10
-rw-r--r--sw/inc/node.hxx8
-rw-r--r--sw/inc/numrule.hxx10
-rw-r--r--sw/inc/pagepreviewlayout.hxx2
-rw-r--r--sw/inc/section.hxx4
-rw-r--r--sw/inc/txtinet.hxx6
-rw-r--r--sw/inc/viewsh.hxx4
-rw-r--r--sw/source/core/attr/format.cxx6
-rw-r--r--sw/source/core/doc/number.cxx20
-rw-r--r--sw/source/core/docnode/ndnotxt.cxx4
-rw-r--r--sw/source/core/draw/dcontact.cxx4
-rw-r--r--sw/source/core/fields/macrofld.cxx6
-rw-r--r--sw/source/core/frmedt/feshview.cxx4
-rw-r--r--sw/source/core/inc/anchoredobjectposition.hxx4
-rw-r--r--sw/source/core/inc/flyfrm.hxx10
-rw-r--r--sw/source/core/inc/objectformatter.hxx6
-rw-r--r--sw/source/core/inc/pagefrm.hxx4
-rw-r--r--sw/source/core/inc/txtfrm.hxx4
-rw-r--r--sw/source/core/inc/viewimp.hxx4
-rw-r--r--sw/source/core/layout/anchoreddrawobject.cxx8
-rw-r--r--sw/source/core/layout/anchoredobject.cxx4
-rw-r--r--sw/source/core/layout/atrfrm.cxx6
-rw-r--r--sw/source/core/layout/fly.cxx6
-rw-r--r--sw/source/core/layout/paintfrm.cxx8
-rw-r--r--sw/source/core/text/frmcrsr.cxx14
-rw-r--r--sw/source/core/text/frmpaint.cxx4
-rw-r--r--sw/source/core/text/inftxt.cxx2
-rw-r--r--sw/source/core/text/inftxt.hxx10
-rw-r--r--sw/source/core/text/itratr.hxx2
-rw-r--r--sw/source/core/text/itrform2.hxx10
-rw-r--r--sw/source/core/text/porfld.hxx4
-rw-r--r--sw/source/core/text/porfly.hxx10
-rw-r--r--sw/source/core/text/porlin.hxx90
-rw-r--r--sw/source/core/text/portxt.hxx2
-rw-r--r--sw/source/core/text/widorp.cxx4
-rw-r--r--sw/source/core/text/widorp.hxx16
-rw-r--r--sw/source/core/txtnode/fntcap.cxx4
-rw-r--r--sw/source/core/view/pagepreviewlayout.cxx4
-rw-r--r--sw/source/core/view/vnew.cxx4
-rw-r--r--sw/source/filter/html/svxcss1.cxx4
-rw-r--r--sw/source/filter/html/swhtml.cxx4
-rw-r--r--sw/source/filter/html/swhtml.hxx4
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par2.hxx2
-rw-r--r--sw/source/filter/ww8/ww8scan.cxx2
-rw-r--r--sw/source/ui/fldui/fldfunc.cxx4
-rw-r--r--sw/source/ui/fldui/fldref.cxx4
-rw-r--r--sw/source/ui/fldui/fldref.hxx4
-rw-r--r--sw/source/ui/inc/fldmgr.hxx6
60 files changed, 219 insertions, 213 deletions
diff --git a/sw/inc/EnhancedPDFExportHelper.hxx b/sw/inc/EnhancedPDFExportHelper.hxx
index 7786b8ebab..dc5335f589 100644
--- a/sw/inc/EnhancedPDFExportHelper.hxx
+++ b/sw/inc/EnhancedPDFExportHelper.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: EnhancedPDFExportHelper.hxx,v $
- * $Revision: 1.10 $
+ * $Revision: 1.10.174.1 $
*
* This file is part of OpenOffice.org.
*
@@ -40,13 +40,19 @@
#include <vector>
#include <set>
-class vcl::PDFExtOutDevData;
+namespace vcl
+{
+ class PDFExtOutDevData;
+}
class OutputDevice;
class SwFrm;
class SwLinePortion;
class SwTxtPainter;
class SwEditShell;
-class rtl::OUString;
+namespace rtl
+{
+ class OUString;
+}
class MultiSelection;
class SwTxtNode;
class SwNumRule;
@@ -247,7 +253,7 @@ class SwEnhancedPDFExportHelper
static NumListBodyIdMap& GetNumListBodyIdMap() {return aNumListBodyIdMap; }
static FrmTagIdMap& GetFrmTagIdMap() { return aFrmTagIdMap; }
- static const LanguageType GetDefaultLanguage() {return eLanguageDefault; }
+ static LanguageType GetDefaultLanguage() {return eLanguageDefault; }
};
#endif
diff --git a/sw/inc/anchoreddrawobject.hxx b/sw/inc/anchoreddrawobject.hxx
index 43158d26ad..432f32e759 100644
--- a/sw/inc/anchoreddrawobject.hxx
+++ b/sw/inc/anchoreddrawobject.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: anchoreddrawobject.hxx,v $
- * $Revision: 1.15 $
+ * $Revision: 1.15.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -136,8 +136,8 @@ class SwAnchoredDrawObject : public SwAnchoredObject
virtual void RegisterAtCorrectPage();
// --> OD 2006-08-10 #i68520#
- virtual const bool _SetObjTop( const SwTwips _nTop);
- virtual const bool _SetObjLeft( const SwTwips _nLeft);
+ virtual bool _SetObjTop( const SwTwips _nTop);
+ virtual bool _SetObjLeft( const SwTwips _nLeft);
// <--
// --> OD 2006-10-05 #i70122#
@@ -216,7 +216,7 @@ class SwAnchoredDrawObject : public SwAnchoredObject
virtual void UpdateLayoutDir();
// <--
// --> OD 2006-03-17 #i62875#
- const bool IsOutsidePage() const;
+ bool IsOutsidePage() const;
// <--
// new Loop control
diff --git a/sw/inc/anchoredobject.hxx b/sw/inc/anchoredobject.hxx
index f5deaa47ac..a48497e04f 100644
--- a/sw/inc/anchoredobject.hxx
+++ b/sw/inc/anchoredobject.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: anchoredobject.hxx,v $
- * $Revision: 1.22 $
+ * $Revision: 1.22.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -237,8 +237,8 @@ class SwAnchoredObject
void SetTmpConsiderWrapInfluenceOfOtherObjs( const bool bTmpConsiderWrapInfluence );
// --> OD 2006-08-10 #i68520#
- virtual const bool _SetObjTop( const SwTwips _nTop) = 0;
- virtual const bool _SetObjLeft( const SwTwips _nLeft) = 0;
+ virtual bool _SetObjTop( const SwTwips _nTop) = 0;
+ virtual bool _SetObjLeft( const SwTwips _nLeft) = 0;
// <--
// --> OD 2006-10-05 #i70122#
@@ -349,7 +349,7 @@ class SwAnchoredObject
void ResetLastCharRectHeight();
// accessor to member <nmLastTopOfLine>
- const SwTwips GetLastTopOfLine() const;
+ SwTwips GetLastTopOfLine() const;
// OD 2004-05-18 #i28701# - follow-up of #i22341#
void AddLastTopOfLineY( SwTwips _nDiff );
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx
index 57133d6326..da9bc4bb9b 100644
--- a/sw/inc/dcontact.hxx
+++ b/sw/inc/dcontact.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dcontact.hxx,v $
- * $Revision: 1.27 $
+ * $Revision: 1.26.210.2 $
*
* This file is part of OpenOffice.org.
*
@@ -149,7 +149,7 @@ public:
{ return (const SwFrmFmt*)GetRegisteredIn(); }
// OD 05.09.2003 #112039# - accessor for member <mbInDTOR>
- const bool IsInDTOR() const;
+ bool IsInDTOR() const;
/** method to move drawing object to corresponding visible layer
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 861bc40b07..3756ba726b 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -2078,7 +2078,7 @@ public:
// <-- #i31958# access methods for XForms model(s)
// --> OD 2006-03-21 #b6375613#
- inline const bool ApplyWorkaroundForB6375613() const
+ inline bool ApplyWorkaroundForB6375613() const
{
return mbApplyWorkaroundForB6375613;
}
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index 9c6dbbac0a..5c9014a62e 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fesh.hxx,v $
- * $Revision: 1.63 $
+ * $Revision: 1.63.212.1 $
*
* This file is part of OpenOffice.org.
*
@@ -758,7 +758,7 @@ public:
@returns boolean, indicating, if the horizontal text direction of the
page, the selected drawing object is on, is right-to-left.
*/
- const bool IsShapeDefaultHoriTextDirR2L() const;
+ bool IsShapeDefaultHoriTextDirR2L() const;
void ParkCursorInTab();
diff --git a/sw/inc/fmtcol.hxx b/sw/inc/fmtcol.hxx
index da0ae8cf5b..40242cc433 100644
--- a/sw/inc/fmtcol.hxx
+++ b/sw/inc/fmtcol.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fmtcol.hxx,v $
- * $Revision: 1.13 $
+ * $Revision: 1.13.144.1 $
*
* This file is part of OpenOffice.org.
*
@@ -111,7 +111,7 @@ public:
BOOL IsAtDocNodeSet() const;
// --> OD 2006-11-22 #i71574#
- inline const bool AssignedToListLevelOfOutlineStyle() const
+ inline bool AssignedToListLevelOfOutlineStyle() const
{
return ( /*0 <= GetOutlineLevel() &&*/ GetOutlineLevel() < MAXLEVEL );
}
diff --git a/sw/inc/fmtflcnt.hxx b/sw/inc/fmtflcnt.hxx
index 66eb126c0c..f251580a25 100644
--- a/sw/inc/fmtflcnt.hxx
+++ b/sw/inc/fmtflcnt.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fmtflcnt.hxx,v $
- * $Revision: 1.6 $
+ * $Revision: 1.6.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -60,7 +60,7 @@ public:
SwTxtFlyCnt *GetTxtFlyCnt() { return pTxtAttr; }
// OD 27.06.2003 #108784#
- const bool Sw3ioExportAllowed() const;
+ bool Sw3ioExportAllowed() const;
};
#endif
diff --git a/sw/inc/fmtfordr.hxx b/sw/inc/fmtfordr.hxx
index e8e3087c83..abf52ac6ec 100644
--- a/sw/inc/fmtfordr.hxx
+++ b/sw/inc/fmtfordr.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fmtfordr.hxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.8.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -56,7 +56,7 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual USHORT GetValueCount() const;
- const SwFillOrder GetFillOrder() const { return SwFillOrder(GetValue()); }
+ SwFillOrder GetFillOrder() const { return SwFillOrder(GetValue()); }
};
inline SwFmtFillOrder &SwFmtFillOrder::operator=( const SwFmtFillOrder &rCpy )
diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx
index 9f4a84b0c3..1950086a86 100644
--- a/sw/inc/format.hxx
+++ b/sw/inc/format.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: format.hxx,v $
- * $Revision: 1.32 $
+ * $Revision: 1.32.144.1 $
*
* This file is part of OpenOffice.org.
*
@@ -318,7 +318,7 @@ public:
@return false, default implementation
*/
- virtual const sal_Bool IsBackgroundTransparent() const;
+ virtual sal_Bool IsBackgroundTransparent() const;
/** SwFmt::IsShadowTransparent - for feature #99657#
@@ -331,7 +331,7 @@ public:
@return false, default implementation
*/
- virtual const sal_Bool IsShadowTransparent() const;
+ virtual sal_Bool IsShadowTransparent() const;
};
// --------------- inline Implementierungen ------------------------
diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx
index 21d3616f15..dbbb7585cc 100644
--- a/sw/inc/frmfmt.hxx
+++ b/sw/inc/frmfmt.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: frmfmt.hxx,v $
- * $Revision: 1.15 $
+ * $Revision: 1.15.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -187,7 +187,7 @@ public:
@return true, if background color is transparent, but not "no fill"
or a existing background graphic is transparent.
*/
- virtual const sal_Bool IsBackgroundTransparent() const;
+ virtual sal_Bool IsBackgroundTransparent() const;
/** SwFlyFrmFmt::IsBackgroundBrushInherited - for #103898#
@@ -200,7 +200,7 @@ public:
@return true, if background brush is "inherited" from parent/grandparent
*/
- const sal_Bool IsBackgroundBrushInherited() const;
+ sal_Bool IsBackgroundBrushInherited() const;
DECL_FIXEDMEMPOOL_NEWDEL(SwFlyFrmFmt)
};
diff --git a/sw/inc/ndnotxt.hxx b/sw/inc/ndnotxt.hxx
index 0222b826ff..77f5a83426 100644
--- a/sw/inc/ndnotxt.hxx
+++ b/sw/inc/ndnotxt.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ndnotxt.hxx,v $
- * $Revision: 1.10 $
+ * $Revision: 1.10.212.1 $
*
* This file is part of OpenOffice.org.
*
@@ -82,12 +82,12 @@ public:
void SetContour( const PolyPolygon *pPoly,
BOOL bAutomatic = FALSE );
const PolyPolygon *HasContour() const;
- const BOOL _HasContour() const { return pContour!=0; };
+ BOOL _HasContour() const { return pContour!=0; };
void GetContour( PolyPolygon &rPoly ) const;
void CreateContour();
void SetAutomaticContour( BOOL bSet ) { bAutomaticContour = bSet; }
- const BOOL HasAutomaticContour() const { return bAutomaticContour; }
+ BOOL HasAutomaticContour() const { return bAutomaticContour; }
// set either a MM100 or pixel contour
void SetContourAPI( const PolyPolygon *pPoly );
@@ -96,9 +96,9 @@ public:
BOOL GetContourAPI( PolyPolygon &rPoly ) const;
void SetPixelContour( BOOL bSet ) { bPixelContour = bSet; }
- const BOOL IsPixelContour() const;
+ BOOL IsPixelContour() const;
- const BOOL IsContourMapModeValid() const { return bContourMapModeValid; }
+ BOOL IsContourMapModeValid() const { return bContourMapModeValid; }
//Besorgt die Graphic, mit SwapIn fuer GrfNode, per GetData fuer OLE.
Graphic GetGraphic() const;
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index 6ef9cac729..f2a65df7ae 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: node.hxx,v $
- * $Revision: 1.22 $
+ * $Revision: 1.22.144.1 $
*
* This file is part of OpenOffice.org.
*
@@ -128,13 +128,13 @@ public:
inline const SwEndNode* EndOfSectionNode() const;
inline SwEndNode* EndOfSectionNode();
- inline const BYTE GetAutoFmtLvl() const { return nAFmtNumLvl; }
+ inline BYTE GetAutoFmtLvl() const { return nAFmtNumLvl; }
inline void SetAutoFmtLvl( BYTE nVal ) { nAFmtNumLvl = nVal; }
- inline const BOOL IsSetNumLSpace() const { return bSetNumLSpace; }
+ inline BOOL IsSetNumLSpace() const { return bSetNumLSpace; }
inline void SetNumLSpace( BOOL bFlag ) { bSetNumLSpace = bFlag; }
- inline const BOOL IsIgnoreDontExpand() const { return bIgnoreDontExpand; }
+ inline BOOL IsIgnoreDontExpand() const { return bIgnoreDontExpand; }
inline void SetIgnoreDontExpand( BOOL bNew ) { bIgnoreDontExpand = bNew; }
BYTE GetNodeType() const { return nNodeType; }
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx
index a49f983d07..398f394709 100644
--- a/sw/inc/numrule.hxx
+++ b/sw/inc/numrule.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: numrule.hxx,v $
- * $Revision: 1.39 $
+ * $Revision: 1.39.78.1 $
*
* This file is part of OpenOffice.org.
*
@@ -341,7 +341,7 @@ namespace numfunc
@author OD
*/
- const bool IsDefBulletFontUserDefined();
+ bool IsDefBulletFontUserDefined();
/** retrieve font used for the default bullet list characters
@@ -353,7 +353,7 @@ namespace numfunc
@author OD
*/
- const sal_Unicode GetBulletChar( BYTE nLevel );
+ sal_Unicode GetBulletChar( BYTE nLevel );
/** configuration, if at first position of the first list item the <TAB>-key
increased the indent of the complete list or only demotes this list item.
@@ -364,14 +364,14 @@ namespace numfunc
@author OD
*/
- const sal_Bool ChangeIndentOnTabAtFirstPosOfFirstListItem();
+ sal_Bool ChangeIndentOnTabAtFirstPosOfFirstListItem();
/**
OD 2008-06-06 #i89178#
@author OD
*/
- const SvxNumberFormat::SvxNumPositionAndSpaceMode GetDefaultPositionAndSpaceMode();
+ SvxNumberFormat::SvxNumPositionAndSpaceMode GetDefaultPositionAndSpaceMode();
}
#endif // _NUMRULE_HXX
diff --git a/sw/inc/pagepreviewlayout.hxx b/sw/inc/pagepreviewlayout.hxx
index f31a31132b..589e2850b1 100644
--- a/sw/inc/pagepreviewlayout.hxx
+++ b/sw/inc/pagepreviewlayout.hxx
@@ -219,7 +219,7 @@ private:
@author OD
*/
- const void _PaintSelectMarkAtPage( const PrevwPage* _aSelectedPrevwPage ) const;
+ void _PaintSelectMarkAtPage( const PrevwPage* _aSelectedPrevwPage ) const;
public:
/** constructor of <SwPagePreviewLayout>
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx
index 01d588ef3b..f7ea343ca0 100644
--- a/sw/inc/section.hxx
+++ b/sw/inc/section.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: section.hxx,v $
- * $Revision: 1.13 $
+ * $Revision: 1.13.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -128,7 +128,7 @@ public:
const String& GetName() const { return sSectionNm; }
void SetName( const String& rName ) { sSectionNm = rName; }
- const SectionType GetType() const { return eType; }
+ SectionType GetType() const { return eType; }
void SetType( SectionType eNew ) { eType = eNew; }
SwSectionFmt* GetFmt() { return (SwSectionFmt*)pRegisteredIn; }
diff --git a/sw/inc/txtinet.hxx b/sw/inc/txtinet.hxx
index db70222230..c22c927192 100644
--- a/sw/inc/txtinet.hxx
+++ b/sw/inc/txtinet.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: txtinet.hxx,v $
- * $Revision: 1.7 $
+ * $Revision: 1.7.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -65,10 +65,10 @@ public:
const SwCharFmt* GetCharFmt() const
{ return ((SwTxtINetFmt*)this)->GetCharFmt(); }
- const BOOL IsVisited() const { return bVisited; }
+ BOOL IsVisited() const { return bVisited; }
void SetVisited( BOOL bNew ) { bVisited = bNew; }
- const BOOL IsValidVis() const { return bValidVis; }
+ BOOL IsValidVis() const { return bValidVis; }
void SetValidVis( BOOL bNew ) { bValidVis = bNew; }
BOOL IsProtect() const;
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index 019c98baaa..4b27c6378f 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: viewsh.hxx,v $
- * $Revision: 1.65 $
+ * $Revision: 1.64.210.2 $
*
* This file is part of OpenOffice.org.
*
@@ -493,7 +493,7 @@ public:
sal_Bool IsPaintLocked() const { return nLockPaint != 0; }
// Abfragen/Erzeugen DrawView + PageView
- const sal_Bool HasDrawView() const;
+ sal_Bool HasDrawView() const;
void MakeDrawView();
//DrawView darf u.U. am UI benutzt werden.
diff --git a/sw/source/core/attr/format.cxx b/sw/source/core/attr/format.cxx
index 11b3cf5c31..c9d6abadae 100644
--- a/sw/source/core/attr/format.cxx
+++ b/sw/source/core/attr/format.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: format.cxx,v $
- * $Revision: 1.17 $
+ * $Revision: 1.17.146.1 $
*
* This file is part of OpenOffice.org.
*
@@ -662,7 +662,7 @@ void SwFmt::DelDiffs( const SfxItemSet& rSet )
@return false, default implementation
*/
-const sal_Bool SwFmt::IsBackgroundTransparent() const
+sal_Bool SwFmt::IsBackgroundTransparent() const
{
return sal_False;
}
@@ -678,7 +678,7 @@ const sal_Bool SwFmt::IsBackgroundTransparent() const
@return false, default implementation
*/
-const sal_Bool SwFmt::IsShadowTransparent() const
+sal_Bool SwFmt::IsShadowTransparent() const
{
return sal_False;
}
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx
index 77d111d47f..0c592adee5 100644
--- a/sw/source/core/doc/number.cxx
+++ b/sw/source/core/doc/number.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: number.cxx,v $
- * $Revision: 1.53 $
+ * $Revision: 1.53.76.1 $
*
* This file is part of OpenOffice.org.
*
@@ -1240,7 +1240,7 @@ namespace numfunc
return msFontname;
}
// --> OD 2008-06-02 #i63395#
- inline const bool IsFontnameUserDefined() const
+ inline bool IsFontnameUserDefined() const
{
return mbUserDefinedFontname;
}
@@ -1249,15 +1249,15 @@ namespace numfunc
{
return *mpFont;
}
- inline const short GetFontWeight() const
+ inline short GetFontWeight() const
{
return static_cast<short>(meFontWeight);
}
- inline const short GetFontItalic() const
+ inline short GetFontItalic() const
{
return static_cast<short>(meFontItalic);
}
- inline const sal_Unicode GetChar( BYTE p_nListLevel ) const
+ inline sal_Unicode GetChar( BYTE p_nListLevel ) const
{
if ( p_nListLevel > MAXLEVEL )
{
@@ -1476,7 +1476,7 @@ namespace numfunc
}
// --> OD 2008-06-02 #i63395#
- const bool IsDefBulletFontUserDefined()
+ bool IsDefBulletFontUserDefined()
{
return SwDefBulletConfig::getInstance()->IsFontnameUserDefined();
}
@@ -1487,7 +1487,7 @@ namespace numfunc
return SwDefBulletConfig::getInstance()->GetFont();
}
- const sal_Unicode GetBulletChar( BYTE nLevel )
+ sal_Unicode GetBulletChar( BYTE nLevel )
{
return SwDefBulletConfig::getInstance()->GetChar( nLevel );
}
@@ -1514,7 +1514,7 @@ namespace numfunc
return mpInstance;
}
- inline const sal_Bool ChangeIndentOnTabAtFirstPosOfFirstListItem() const
+ inline sal_Bool ChangeIndentOnTabAtFirstPosOfFirstListItem() const
{
return mbChangeIndentOnTabAtFirstPosOfFirstListItem;
}
@@ -1618,13 +1618,13 @@ namespace numfunc
LoadConfig();
}
- const sal_Bool ChangeIndentOnTabAtFirstPosOfFirstListItem()
+ sal_Bool ChangeIndentOnTabAtFirstPosOfFirstListItem()
{
return SwNumberingUIBehaviorConfig::getInstance()->ChangeIndentOnTabAtFirstPosOfFirstListItem();
}
// --> OD 2008-06-06 #i89178#
- const SvxNumberFormat::SvxNumPositionAndSpaceMode GetDefaultPositionAndSpaceMode()
+ SvxNumberFormat::SvxNumPositionAndSpaceMode GetDefaultPositionAndSpaceMode()
{
SvxNumberFormat::SvxNumPositionAndSpaceMode ePosAndSpaceMode;
SvtSaveOptions aSaveOptions;
diff --git a/sw/source/core/docnode/ndnotxt.cxx b/sw/source/core/docnode/ndnotxt.cxx
index bc94f131f9..b3e5fe72c1 100644
--- a/sw/source/core/docnode/ndnotxt.cxx
+++ b/sw/source/core/docnode/ndnotxt.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ndnotxt.cxx,v $
- * $Revision: 1.13 $
+ * $Revision: 1.13.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -217,7 +217,7 @@ BOOL SwNoTxtNode::GetContourAPI( PolyPolygon &rContour ) const
return TRUE;
}
-const BOOL SwNoTxtNode::IsPixelContour() const
+BOOL SwNoTxtNode::IsPixelContour() const
{
BOOL bRet;
if( bContourMapModeValid )
diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx
index 8cb26c3af2..25845fca00 100644
--- a/sw/source/core/draw/dcontact.cxx
+++ b/sw/source/core/draw/dcontact.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dcontact.cxx,v $
- * $Revision: 1.62 $
+ * $Revision: 1.61.210.2 $
*
* This file is part of OpenOffice.org.
*
@@ -212,7 +212,7 @@ SwContact::~SwContact()
}
// OD 05.09.2003 #112039# - accessor for member <mbInDTOR>
-const bool SwContact::IsInDTOR() const
+bool SwContact::IsInDTOR() const
{
return mbInDTOR;
}
diff --git a/sw/source/core/fields/macrofld.cxx b/sw/source/core/fields/macrofld.cxx
index 77e79e94f6..d568ca2ce5 100644
--- a/sw/source/core/fields/macrofld.cxx
+++ b/sw/source/core/fields/macrofld.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: macrofld.cxx,v $
- * $Revision: 1.13 $
+ * $Revision: 1.13.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -107,7 +107,7 @@ String SwMacroField::GetLibName() const
USHORT nPos = aMacro.Len();
for (USHORT i = 0; i < 3 && nPos > 0; i++)
- while (aMacro.GetChar(--nPos) != '.' && nPos > 0);
+ while (aMacro.GetChar(--nPos) != '.' && nPos > 0) ;
return aMacro.Copy(0, nPos );
}
@@ -129,7 +129,7 @@ String SwMacroField::GetMacroName() const
USHORT nPos = aMacro.Len();
for (USHORT i = 0; i < 3 && nPos > 0; i++)
- while (aMacro.GetChar(--nPos) != '.' && nPos > 0);
+ while (aMacro.GetChar(--nPos) != '.' && nPos > 0) ;
return aMacro.Copy( ++nPos );
}
diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx
index 51361245dc..974d100d41 100644
--- a/sw/source/core/frmedt/feshview.cxx
+++ b/sw/source/core/frmedt/feshview.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: feshview.cxx,v $
- * $Revision: 1.62 $
+ * $Revision: 1.61.136.2 $
*
* This file is part of OpenOffice.org.
*
@@ -3121,7 +3121,7 @@ const Color SwFEShell::GetShapeBackgrd() const
@returns boolean, indicating, if the horizontal text direction of the
page, the selected drawing object is on, is right-to-left.
*/
-const bool SwFEShell::IsShapeDefaultHoriTextDirR2L() const
+bool SwFEShell::IsShapeDefaultHoriTextDirR2L() const
{
bool bRet = false;
diff --git a/sw/source/core/inc/anchoredobjectposition.hxx b/sw/source/core/inc/anchoredobjectposition.hxx
index b47563cccf..8c98a1f89c 100644
--- a/sw/source/core/inc/anchoredobjectposition.hxx
+++ b/sw/source/core/inc/anchoredobjectposition.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: anchoredobjectposition.hxx,v $
- * $Revision: 1.12 $
+ * $Revision: 1.12.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -126,7 +126,7 @@ namespace objectpositioning
return *mpFrmFmt;
}
// --> OD 2006-03-15 #i62875#
- inline const bool DoesObjFollowsTextFlow() const
+ inline bool DoesObjFollowsTextFlow() const
{
return mbFollowTextFlow;
}
diff --git a/sw/source/core/inc/flyfrm.hxx b/sw/source/core/inc/flyfrm.hxx
index db3a275da4..8312125fc6 100644
--- a/sw/source/core/inc/flyfrm.hxx
+++ b/sw/source/core/inc/flyfrm.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: flyfrm.hxx,v $
- * $Revision: 1.24 $
+ * $Revision: 1.24.212.1 $
*
* This file is part of OpenOffice.org.
*
@@ -146,8 +146,8 @@ protected:
virtual void RegisterAtCorrectPage();
// --> OD 2006-08-10 #i68520#
- virtual const bool _SetObjTop( const SwTwips _nTop );
- virtual const bool _SetObjLeft( const SwTwips _nLeft );
+ virtual bool _SetObjTop( const SwTwips _nTop );
+ virtual bool _SetObjLeft( const SwTwips _nLeft );
// <--
// --> OD 2006-10-05 #i70122#
@@ -245,7 +245,7 @@ public:
@return true, if background color is transparent or a existing background
graphic is transparent.
*/
- const sal_Bool IsBackgroundTransparent() const;
+ sal_Bool IsBackgroundTransparent() const;
/** SwFlyFrm::IsShadowTransparent - for feature #99657#
@@ -257,7 +257,7 @@ public:
@return true, if shadow color is transparent.
*/
- const sal_Bool IsShadowTransparent() const;
+ sal_Bool IsShadowTransparent() const;
// OD 2004-01-19 #110582#
void Chain( SwFrm* _pAnchor );
diff --git a/sw/source/core/inc/objectformatter.hxx b/sw/source/core/inc/objectformatter.hxx
index 26130df365..3ad7764d95 100644
--- a/sw/source/core/inc/objectformatter.hxx
+++ b/sw/source/core/inc/objectformatter.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: objectformatter.hxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.8.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -110,7 +110,7 @@ class SwObjectFormatter
return mrPageFrm;
}
- inline const bool ConsiderWrapOnObjPos() const
+ inline bool ConsiderWrapOnObjPos() const
{
return mbConsiderWrapOnObjPos;
}
@@ -130,7 +130,7 @@ class SwObjectFormatter
mbFormatOnlyAsCharAnchored = true;
}
- inline const bool FormatOnlyAsCharAnchored() const
+ inline bool FormatOnlyAsCharAnchored() const
{
return mbFormatOnlyAsCharAnchored;
}
diff --git a/sw/source/core/inc/pagefrm.hxx b/sw/source/core/inc/pagefrm.hxx
index c2551faec8..aa207629cc 100644
--- a/sw/source/core/inc/pagefrm.hxx
+++ b/sw/source/core/inc/pagefrm.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: pagefrm.hxx,v $
- * $Revision: 1.25 $
+ * $Revision: 1.25.144.1 $
*
* This file is part of OpenOffice.org.
*
@@ -275,7 +275,7 @@ public:
void SetFtnPage( BOOL b ) { bFtnPage = b; }
void SetEndNotePage( BOOL b ) { bEndNotePage = b; }
- inline const USHORT GetPhyPageNum() const { return nPhyPageNum;}
+ inline USHORT GetPhyPageNum() const { return nPhyPageNum;}
inline void SetPhyPageNum( USHORT nNum ) { nPhyPageNum = nNum;}
inline void DecrPhyPageNum() { --nPhyPageNum; }
inline void IncrPhyPageNum() { ++nPhyPageNum; }
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx
index 2db08fccac..0f6f6a75c5 100644
--- a/sw/source/core/inc/txtfrm.hxx
+++ b/sw/source/core/inc/txtfrm.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: txtfrm.hxx,v $
- * $Revision: 1.56 $
+ * $Revision: 1.56.212.1 $
*
* This file is part of OpenOffice.org.
*
@@ -590,7 +590,7 @@ public:
inline void SwitchRTLtoLTR( Point& rPoint ) const { SwitchLTRtoRTL( rPoint ); };
// OD 14.03.2003 #i11760# - access to new member <mbNoFollowFormat>
- inline const bool FollowFormatAllowed() const
+ inline bool FollowFormatAllowed() const
{
return mbFollowFormatAllowed;
}
diff --git a/sw/source/core/inc/viewimp.hxx b/sw/source/core/inc/viewimp.hxx
index d7bcece5a0..e6be68c6a1 100644
--- a/sw/source/core/inc/viewimp.hxx
+++ b/sw/source/core/inc/viewimp.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: viewimp.hxx,v $
- * $Revision: 1.36 $
+ * $Revision: 1.36.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -244,7 +244,7 @@ public:
BOOL IsPaintInScroll() const { return bPaintInScroll; }
// neues Interface fuer StarView Drawing
- inline const BOOL HasDrawView() const { return 0 != pDrawView; }
+ inline BOOL HasDrawView() const { return 0 != pDrawView; }
SwDrawView* GetDrawView() { return pDrawView; }
const SwDrawView* GetDrawView() const { return pDrawView; }
SdrPageView*GetPageView() { return pSdrPageView; }
diff --git a/sw/source/core/layout/anchoreddrawobject.cxx b/sw/source/core/layout/anchoreddrawobject.cxx
index 7faaf6c5be..e2376f3d8e 100644
--- a/sw/source/core/layout/anchoreddrawobject.cxx
+++ b/sw/source/core/layout/anchoreddrawobject.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: anchoreddrawobject.cxx,v $
- * $Revision: 1.26 $
+ * $Revision: 1.26.144.1 $
*
* This file is part of OpenOffice.org.
*
@@ -273,7 +273,7 @@ void SwAnchoredDrawObject::UpdateLayoutDir()
// <--
// --> OD 2006-03-17 #i62875#
-const bool SwAnchoredDrawObject::IsOutsidePage() const
+bool SwAnchoredDrawObject::IsOutsidePage() const
{
bool bOutsidePage( false );
@@ -712,14 +712,14 @@ const SwRect SwAnchoredDrawObject::GetObjBoundRect() const
// <--
// --> OD 2006-08-10 #i68520#
-const bool SwAnchoredDrawObject::_SetObjTop( const SwTwips _nTop )
+bool SwAnchoredDrawObject::_SetObjTop( const SwTwips _nTop )
{
SwTwips nDiff = _nTop - GetObjRect().Top();
DrawObj()->Move( Size( 0, nDiff ) );
return nDiff != 0;
}
-const bool SwAnchoredDrawObject::_SetObjLeft( const SwTwips _nLeft )
+bool SwAnchoredDrawObject::_SetObjLeft( const SwTwips _nLeft )
{
SwTwips nDiff = _nLeft - GetObjRect().Left();
DrawObj()->Move( Size( nDiff, 0 ) );
diff --git a/sw/source/core/layout/anchoredobject.cxx b/sw/source/core/layout/anchoredobject.cxx
index 47df4bf07e..eed807f6f2 100644
--- a/sw/source/core/layout/anchoredobject.cxx
+++ b/sw/source/core/layout/anchoredobject.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: anchoredobject.cxx,v $
- * $Revision: 1.27 $
+ * $Revision: 1.27.212.1 $
*
* This file is part of OpenOffice.org.
*
@@ -276,7 +276,7 @@ void SwAnchoredObject::SetVertPosOrientFrm( const SwLayoutFrm& _rVertPosOrientFr
// =============================================================================
// accessors for member <mnLastTopOfLine>
// =============================================================================
-const SwTwips SwAnchoredObject::GetLastTopOfLine() const
+SwTwips SwAnchoredObject::GetLastTopOfLine() const
{
return mnLastTopOfLine;
}
diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index 0d10236ed0..ee8efdba27 100644
--- a/sw/source/core/layout/atrfrm.cxx
+++ b/sw/source/core/layout/atrfrm.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: atrfrm.cxx,v $
- * $Revision: 1.72 $
+ * $Revision: 1.72.144.1 $
*
* This file is part of OpenOffice.org.
*
@@ -2885,7 +2885,7 @@ sal_Bool SwFlyFrmFmt::GetInfo( SfxPoolItem& rInfo ) const
@return true, if background color is transparent, but not "no fill"
or the transparency of a existing background graphic is set.
*/
-const sal_Bool SwFlyFrmFmt::IsBackgroundTransparent() const
+sal_Bool SwFlyFrmFmt::IsBackgroundTransparent() const
{
sal_Bool bReturn = sal_False;
@@ -2925,7 +2925,7 @@ const sal_Bool SwFlyFrmFmt::IsBackgroundTransparent() const
@return true, if background brush is "inherited" from parent/grandparent
*/
-const sal_Bool SwFlyFrmFmt::IsBackgroundBrushInherited() const
+sal_Bool SwFlyFrmFmt::IsBackgroundBrushInherited() const
{
sal_Bool bReturn = sal_False;
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx
index f776ebe209..140e1470e1 100644
--- a/sw/source/core/layout/fly.cxx
+++ b/sw/source/core/layout/fly.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fly.cxx,v $
- * $Revision: 1.92 $
+ * $Revision: 1.92.110.1 $
*
* This file is part of OpenOffice.org.
*
@@ -2769,7 +2769,7 @@ const SwRect SwFlyFrm::GetObjBoundRect() const
// <--
// --> OD 2006-08-10 #i68520#
-const bool SwFlyFrm::_SetObjTop( const SwTwips _nTop )
+bool SwFlyFrm::_SetObjTop( const SwTwips _nTop )
{
const bool bChanged( Frm().Pos().Y() != _nTop );
@@ -2777,7 +2777,7 @@ const bool SwFlyFrm::_SetObjTop( const SwTwips _nTop )
return bChanged;
}
-const bool SwFlyFrm::_SetObjLeft( const SwTwips _nLeft )
+bool SwFlyFrm::_SetObjLeft( const SwTwips _nLeft )
{
const bool bChanged( Frm().Pos().X() != _nLeft );
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index d01000d0b9..4d72972e75 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: paintfrm.cxx,v $
- * $Revision: 1.121 $
+ * $Revision: 1.121.110.1 $
*
* This file is part of OpenOffice.org.
*
@@ -197,7 +197,7 @@ public:
void LockLines( BOOL bLock );
/// OD 13.08.2002 - correct type of function
- const USHORT Free() const { return nFree; }
+ USHORT Free() const { return nFree; }
};
class SwSubsRects : public SwLineRects
@@ -3295,7 +3295,7 @@ void SwLayoutFrm::Paint( const SwRect& rRect ) const
@return true, if background is transparent drawn.
*/
-const sal_Bool SwFlyFrm::IsBackgroundTransparent() const
+sal_Bool SwFlyFrm::IsBackgroundTransparent() const
{
sal_Bool bBackgroundTransparent = GetFmt()->IsBackgroundTransparent();
if ( !bBackgroundTransparent &&
@@ -3347,7 +3347,7 @@ const sal_Bool SwFlyFrm::IsBackgroundTransparent() const
@return true, if shadow color is transparent.
*/
-const sal_Bool SwFlyFrm::IsShadowTransparent() const
+sal_Bool SwFlyFrm::IsShadowTransparent() const
{
return GetFmt()->IsShadowTransparent();
};
diff --git a/sw/source/core/text/frmcrsr.cxx b/sw/source/core/text/frmcrsr.cxx
index 4355c73ec6..424812a46a 100644
--- a/sw/source/core/text/frmcrsr.cxx
+++ b/sw/source/core/text/frmcrsr.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: frmcrsr.cxx,v $
- * $Revision: 1.44 $
+ * $Revision: 1.44.212.1 $
*
* This file is part of OpenOffice.org.
*
@@ -558,12 +558,12 @@ struct SwFillData
const Point& rPt ) : aFrm( rR ), pCMS( pC ), pPos( pP ), rPoint( rPt ),
nLineWidth( 0 ), bFirstLine( sal_True ), bInner( sal_False ), bColumn( sal_False ),
bEmpty( sal_True ){}
- const SwFillMode Mode() const { return pCMS->pFill->eMode; }
- const long X() const { return rPoint.X(); }
- const long Y() const { return rPoint.Y(); }
- const long Left() const { return aFrm.Left(); }
- const long Right() const { return aFrm.Right(); }
- const long Bottom() const { return aFrm.Bottom(); }
+ SwFillMode Mode() const { return pCMS->pFill->eMode; }
+ long X() const { return rPoint.X(); }
+ long Y() const { return rPoint.Y(); }
+ long Left() const { return aFrm.Left(); }
+ long Right() const { return aFrm.Right(); }
+ long Bottom() const { return aFrm.Bottom(); }
SwRect& Frm() { return aFrm; }
SwFillCrsrPos &Fill() const { return *pCMS->pFill; }
void SetTab( MSHORT nNew ) { pCMS->pFill->nTabCnt = nNew; }
diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx
index 8276bbddad..d1f2416958 100644
--- a/sw/source/core/text/frmpaint.cxx
+++ b/sw/source/core/text/frmpaint.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: frmpaint.cxx,v $
- * $Revision: 1.60 $
+ * $Revision: 1.60.68.1 $
*
* This file is part of OpenOffice.org.
*
@@ -78,7 +78,7 @@
namespace numfunc
{
extern const String& GetDefBulletFontname();
- extern const bool IsDefBulletFontUserDefined();
+ extern bool IsDefBulletFontUserDefined();
}
// <--
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index 3e4f2465d1..91427101f1 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -110,7 +110,7 @@ using namespace ::com::sun::star::beans;
namespace numfunc
{
extern const String& GetDefBulletFontname();
- extern const bool IsDefBulletFontUserDefined();
+ extern bool IsDefBulletFontUserDefined();
}
// <--
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index 14edfdada4..e7346949e0 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.hxx
@@ -291,7 +291,7 @@ public:
inline const SwViewOption &GetOpt() const { return *pOpt; }
inline const XubString &GetTxt() const { return *pTxt; }
- inline const xub_Unicode GetChar( const xub_StrLen nPos ) const
+ inline xub_Unicode GetChar( const xub_StrLen nPos ) const
{ return pTxt->GetChar( nPos ); }
inline KSHORT GetTxtHeight() const;
@@ -370,13 +370,13 @@ public:
//
// Feature: Kana Compression
//
- inline const MSHORT GetKanaIdx() const { return nKanaIdx; }
+ inline MSHORT GetKanaIdx() const { return nKanaIdx; }
inline void ResetKanaIdx(){ nKanaIdx = 0; }
inline void SetKanaIdx( MSHORT nNew ) { nKanaIdx = nNew; }
inline void IncKanaIdx() { ++nKanaIdx; }
inline void SetKanaComp( SvUShorts *pNew ){ pKanaComp = pNew; }
inline SvUShorts* GetpKanaComp() const { return pKanaComp; }
- inline const USHORT GetKanaComp() const
+ inline USHORT GetKanaComp() const
{ return ( pKanaComp && nKanaIdx < pKanaComp->Count() )
? (*pKanaComp)[nKanaIdx] : 0; }
@@ -493,12 +493,12 @@ public:
//
// STUFF FOR JUSTIFIED ALIGNMENT
//
- inline const MSHORT GetSpaceIdx() const { return nSpaceIdx; }
+ inline MSHORT GetSpaceIdx() const { return nSpaceIdx; }
inline void ResetSpaceIdx(){nSpaceIdx = 0; }
inline void SetSpaceIdx( MSHORT nNew ) { nSpaceIdx = nNew; }
inline void IncSpaceIdx() { ++nSpaceIdx; }
inline void RemoveFirstSpaceAdd() { pSpaceAdd->erase( pSpaceAdd->begin() ); }
- inline const long GetSpaceAdd() const
+ inline long GetSpaceAdd() const
{ return ( pSpaceAdd && nSpaceIdx < pSpaceAdd->size() )
? (*pSpaceAdd)[nSpaceIdx] : 0; }
diff --git a/sw/source/core/text/itratr.hxx b/sw/source/core/text/itratr.hxx
index 918641fb01..2d7a670c85 100644
--- a/sw/source/core/text/itratr.hxx
+++ b/sw/source/core/text/itratr.hxx
@@ -121,7 +121,7 @@ public:
inline SwFont *GetFnt() { return pFnt; }
inline const SwFont *GetFnt() const { return pFnt; }
- inline const BYTE GetPropFont() const { return nPropFont; }
+ inline BYTE GetPropFont() const { return nPropFont; }
inline void SetPropFont( const BYTE nNew ) { nPropFont = nNew; }
inline SwAttrHandler& GetAttrHandler() { return aAttrHandler; }
diff --git a/sw/source/core/text/itrform2.hxx b/sw/source/core/text/itrform2.hxx
index c17e759838..f5732ced0b 100644
--- a/sw/source/core/text/itrform2.hxx
+++ b/sw/source/core/text/itrform2.hxx
@@ -183,19 +183,19 @@ public:
inline SwMultiPortion *GetMulti() const { return pMulti; }
- inline const sal_Bool IsOnceMore() const { return bOnceMore; }
+ inline sal_Bool IsOnceMore() const { return bOnceMore; }
inline void SetOnceMore( sal_Bool bNew ) { bOnceMore = bNew; }
- inline const sal_Bool HasChanges() const { return bChanges; }
+ inline sal_Bool HasChanges() const { return bChanges; }
inline void SetChanges() { bChanges = sal_True; }
- inline const sal_Bool HasTruncLines() const { return bTruncLines; }
+ inline sal_Bool HasTruncLines() const { return bTruncLines; }
inline void SetTruncLines( sal_Bool bNew ) { bTruncLines = bNew; }
- inline const sal_Bool IsUnclipped() const { return bUnclipped; }
+ inline sal_Bool IsUnclipped() const { return bUnclipped; }
inline void SetUnclipped( sal_Bool bNew ) { bUnclipped = bNew; }
- inline const sal_Bool IsFlyInCntBase() const { return bFlyInCntBase; }
+ inline sal_Bool IsFlyInCntBase() const { return bFlyInCntBase; }
inline void SetFlyInCntBase( sal_Bool bNew = sal_True ){ bFlyInCntBase = bNew; }
inline SwTxtFormatInfo &GetInfo()
diff --git a/sw/source/core/text/porfld.hxx b/sw/source/core/text/porfld.hxx
index 076faef47e..084b020672 100644
--- a/sw/source/core/text/porfld.hxx
+++ b/sw/source/core/text/porfld.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: porfld.hxx,v $
- * $Revision: 1.16 $
+ * $Revision: 1.16.100.1 $
*
* This file is part of OpenOffice.org.
*
@@ -70,7 +70,7 @@ public:
void TakeNextOffset( const SwFldPortion* pFld );
void CheckScript( const SwTxtSizeInfo &rInf );
- inline const sal_Bool HasFont() const { return 0 != pFnt; }
+ inline sal_Bool HasFont() const { return 0 != pFnt; }
// --> OD 2008-06-05 #i89179# - made public
inline const SwFont *GetFont() const { return pFnt; }
// <--
diff --git a/sw/source/core/text/porfly.hxx b/sw/source/core/text/porfly.hxx
index 8e06c6ba3b..7f754ef94f 100644
--- a/sw/source/core/text/porfly.hxx
+++ b/sw/source/core/text/porfly.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: porfly.hxx,v $
- * $Revision: 1.14 $
+ * $Revision: 1.14.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -49,7 +49,7 @@ class SwFlyPortion : public SwFixPortion
public:
inline SwFlyPortion( const SwRect &rFlyRect )
: SwFixPortion(rFlyRect), nBlankWidth( 0 ) { SetWhichPor( POR_FLY ); }
- inline const KSHORT GetBlankWidth( ) const { return nBlankWidth; }
+ inline KSHORT GetBlankWidth( ) const { return nBlankWidth; }
inline void SetBlankWidth( const KSHORT nNew ) { nBlankWidth = nNew; }
virtual void Paint( const SwTxtPaintInfo &rInf ) const;
virtual sal_Bool Format( SwTxtFormatInfo &rInf );
@@ -87,9 +87,9 @@ public:
inline SwDrawContact *GetDrawContact() { return (SwDrawContact*)pContact; }
inline const SwDrawContact* GetDrawContact() const
{ return (SwDrawContact*)pContact; }
- inline const sal_Bool IsDraw() const { return bDraw; }
- inline const sal_Bool IsMax() const { return bMax; }
- inline const sal_uInt8 GetAlign() const { return nAlign; }
+ inline sal_Bool IsDraw() const { return bDraw; }
+ inline sal_Bool IsMax() const { return bMax; }
+ inline sal_uInt8 GetAlign() const { return nAlign; }
inline void SetAlign( sal_uInt8 nNew ) { nAlign = nNew; }
inline void SetMax( sal_Bool bNew ) { bMax = bNew; }
// OD 29.07.2003 #110978# - use new datatype for parameter <nFlags>
diff --git a/sw/source/core/text/porlin.hxx b/sw/source/core/text/porlin.hxx
index 26f9da70c7..9beb401c93 100644
--- a/sw/source/core/text/porlin.hxx
+++ b/sw/source/core/text/porlin.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: porlin.hxx,v $
- * $Revision: 1.17 $
+ * $Revision: 1.17.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -91,7 +91,7 @@ public:
inline SwLinePortion *GetPortion() const { return( pPortion ); }
inline SwLinePortion &operator=(const SwLinePortion &rPortion);
inline sal_Bool operator==( const SwLinePortion &rPortion ) const;
- inline const xub_StrLen GetLen() const { return nLineLength; }
+ inline xub_StrLen GetLen() const { return nLineLength; }
inline void SetLen( const xub_StrLen nLen ) { nLineLength = nLen; }
inline void SetPortion( SwLinePortion *pNew ){ pPortion = pNew; }
inline KSHORT &GetAscent() { return nAscent; }
@@ -114,56 +114,56 @@ public:
virtual SwLinePortion *Compress();
inline void SetWhichPor( const MSHORT nNew ) { nWhichPor = nNew; }
- inline const MSHORT GetWhichPor( ) const { return nWhichPor; }
+ inline MSHORT GetWhichPor( ) const { return nWhichPor; }
// Gruppenabfragen:
- inline const sal_Bool InTxtGrp( ) const { return nWhichPor & PORGRP_TXT ? sal_True : sal_False; }
- inline const sal_Bool InGlueGrp( ) const { return nWhichPor & PORGRP_GLUE ? sal_True : sal_False;}
- inline const sal_Bool InTabGrp( ) const { return nWhichPor & PORGRP_TAB ? sal_True : sal_False; }
- inline const sal_Bool InHyphGrp( ) const { return nWhichPor & PORGRP_HYPH ? sal_True : sal_False;}
- inline const sal_Bool InNumberGrp( )const { return nWhichPor & PORGRP_NUMBER ? sal_True : sal_False;}
- inline const sal_Bool InFixGrp( ) const { return nWhichPor & PORGRP_FIX ? sal_True : sal_False; }
- inline const sal_Bool InFldGrp( ) const { return nWhichPor & PORGRP_FLD ? sal_True : sal_False; }
- inline const sal_Bool InToxRefGrp( ) const { return nWhichPor & PORGRP_TOXREF ? sal_True : sal_False; }
- inline const sal_Bool InToxRefOrFldGrp( ) const { return nWhichPor &
+ inline sal_Bool InTxtGrp( ) const { return nWhichPor & PORGRP_TXT ? sal_True : sal_False; }
+ inline sal_Bool InGlueGrp( ) const { return nWhichPor & PORGRP_GLUE ? sal_True : sal_False;}
+ inline sal_Bool InTabGrp( ) const { return nWhichPor & PORGRP_TAB ? sal_True : sal_False; }
+ inline sal_Bool InHyphGrp( ) const { return nWhichPor & PORGRP_HYPH ? sal_True : sal_False;}
+ inline sal_Bool InNumberGrp( )const { return nWhichPor & PORGRP_NUMBER ? sal_True : sal_False;}
+ inline sal_Bool InFixGrp( ) const { return nWhichPor & PORGRP_FIX ? sal_True : sal_False; }
+ inline sal_Bool InFldGrp( ) const { return nWhichPor & PORGRP_FLD ? sal_True : sal_False; }
+ inline sal_Bool InToxRefGrp( ) const { return nWhichPor & PORGRP_TOXREF ? sal_True : sal_False; }
+ inline sal_Bool InToxRefOrFldGrp( ) const { return nWhichPor &
( PORGRP_FLD | PORGRP_TOXREF ) ? sal_True : sal_False; }
- inline const sal_Bool InExpGrp( ) const { return nWhichPor & PORGRP_EXP ? sal_True : sal_False; }
- inline const sal_Bool InTabnLftGrp( ) const
+ inline sal_Bool InExpGrp( ) const { return nWhichPor & PORGRP_EXP ? sal_True : sal_False; }
+ inline sal_Bool InTabnLftGrp( ) const
{ return nWhichPor & PORGRP_TABNOTLFT ? sal_True : sal_False; }
- inline const sal_Bool InFixMargGrp( )const
+ inline sal_Bool InFixMargGrp( )const
{ return nWhichPor & PORGRP_FIXMARG ? sal_True : sal_False; }
- inline const sal_Bool InSpaceGrp( )const
+ inline sal_Bool InSpaceGrp( )const
{ return InTxtGrp() || IsMultiPortion(); }
// Individuelle Abfragen:
- inline const sal_Bool IsGrfNumPortion( )const{ return nWhichPor == POR_GRFNUM; }
- inline const sal_Bool IsFlyCntPortion( )const{ return nWhichPor == POR_FLYCNT; }
- inline const sal_Bool IsBlankPortion( ) const{ return nWhichPor == POR_BLANK; }
- inline const sal_Bool IsBreakPortion( ) const{ return nWhichPor == POR_BRK; }
- inline const sal_Bool IsErgoSumPortion()const{ return nWhichPor == POR_ERGOSUM;}
- inline const sal_Bool IsQuoVadisPortion()const{ return nWhichPor==POR_QUOVADIS;}
- inline const sal_Bool IsTabCntPortion( )const{ return nWhichPor==POR_TABCENTER;}
- inline const sal_Bool IsTabDecimalPortion() const { return nWhichPor == POR_TABDECIMAL;}
- inline const sal_Bool IsTabLeftPortion()const{ return nWhichPor == POR_TABLEFT;}
- inline const sal_Bool IsFtnNumPortion( )const{ return nWhichPor == POR_FTNNUM; }
- inline const sal_Bool IsFtnPortion( ) const{ return nWhichPor == POR_FTN; }
- inline const sal_Bool IsTmpEndPortion( )const{ return nWhichPor == POR_TMPEND; }
- inline const sal_Bool IsDropPortion( ) const{ return nWhichPor == POR_DROP; }
- inline const sal_Bool IsLayPortion( ) const{ return nWhichPor == POR_LAY; }
- inline const sal_Bool IsParaPortion( ) const{ return nWhichPor == POR_PARA; }
- inline const sal_Bool IsMarginPortion( )const{ return nWhichPor == POR_MARGIN; }
- inline const sal_Bool IsFlyPortion( ) const{ return nWhichPor == POR_FLY; }
- inline const sal_Bool IsHolePortion( ) const{ return nWhichPor == POR_HOLE; }
- inline const sal_Bool IsSoftHyphPortion()const{ return nWhichPor==POR_SOFTHYPH;}
- inline const sal_Bool IsPostItsPortion()const{ return nWhichPor == POR_POSTITS;}
- inline const sal_Bool IsCombinedPortion()const{ return nWhichPor==POR_COMBINED;}
- inline const sal_Bool IsTextPortion( ) const{ return nWhichPor == POR_TXT; }
- inline const sal_Bool IsURLPortion( ) const{ return nWhichPor == POR_URL; }
- inline const sal_Bool IsHangingPortion( ) const{ return nWhichPor == POR_HNG; }
- inline const sal_Bool IsKernPortion( ) const{ return nWhichPor == POR_KERN; }
- inline const sal_Bool IsArrowPortion( ) const{ return nWhichPor == POR_ARROW; }
- inline const sal_Bool IsMultiPortion( ) const{ return nWhichPor == POR_MULTI; }
- inline const sal_Bool IsNumberPortion( ) const{ return nWhichPor == POR_NUMBER; } // #i23726#
- inline const sal_Bool IsControlCharPortion() const { return nWhichPor == POR_CONTROLCHAR; }
+ inline sal_Bool IsGrfNumPortion( )const{ return nWhichPor == POR_GRFNUM; }
+ inline sal_Bool IsFlyCntPortion( )const{ return nWhichPor == POR_FLYCNT; }
+ inline sal_Bool IsBlankPortion( ) const{ return nWhichPor == POR_BLANK; }
+ inline sal_Bool IsBreakPortion( ) const{ return nWhichPor == POR_BRK; }
+ inline sal_Bool IsErgoSumPortion()const{ return nWhichPor == POR_ERGOSUM;}
+ inline sal_Bool IsQuoVadisPortion()const{ return nWhichPor==POR_QUOVADIS;}
+ inline sal_Bool IsTabCntPortion( )const{ return nWhichPor==POR_TABCENTER;}
+ inline sal_Bool IsTabDecimalPortion() const { return nWhichPor == POR_TABDECIMAL;}
+ inline sal_Bool IsTabLeftPortion()const{ return nWhichPor == POR_TABLEFT;}
+ inline sal_Bool IsFtnNumPortion( )const{ return nWhichPor == POR_FTNNUM; }
+ inline sal_Bool IsFtnPortion( ) const{ return nWhichPor == POR_FTN; }
+ inline sal_Bool IsTmpEndPortion( )const{ return nWhichPor == POR_TMPEND; }
+ inline sal_Bool IsDropPortion( ) const{ return nWhichPor == POR_DROP; }
+ inline sal_Bool IsLayPortion( ) const{ return nWhichPor == POR_LAY; }
+ inline sal_Bool IsParaPortion( ) const{ return nWhichPor == POR_PARA; }
+ inline sal_Bool IsMarginPortion( )const{ return nWhichPor == POR_MARGIN; }
+ inline sal_Bool IsFlyPortion( ) const{ return nWhichPor == POR_FLY; }
+ inline sal_Bool IsHolePortion( ) const{ return nWhichPor == POR_HOLE; }
+ inline sal_Bool IsSoftHyphPortion()const{ return nWhichPor==POR_SOFTHYPH;}
+ inline sal_Bool IsPostItsPortion()const{ return nWhichPor == POR_POSTITS;}
+ inline sal_Bool IsCombinedPortion()const{ return nWhichPor==POR_COMBINED;}
+ inline sal_Bool IsTextPortion( ) const{ return nWhichPor == POR_TXT; }
+ inline sal_Bool IsURLPortion( ) const{ return nWhichPor == POR_URL; }
+ inline sal_Bool IsHangingPortion( ) const{ return nWhichPor == POR_HNG; }
+ inline sal_Bool IsKernPortion( ) const{ return nWhichPor == POR_KERN; }
+ inline sal_Bool IsArrowPortion( ) const{ return nWhichPor == POR_ARROW; }
+ inline sal_Bool IsMultiPortion( ) const{ return nWhichPor == POR_MULTI; }
+ inline sal_Bool IsNumberPortion( ) const{ return nWhichPor == POR_NUMBER; } // #i23726#
+ inline sal_Bool IsControlCharPortion() const { return nWhichPor == POR_CONTROLCHAR; }
// Positionierung
SwLinePortion *FindPrevPortion( const SwLinePortion *pRoot );
diff --git a/sw/source/core/text/portxt.hxx b/sw/source/core/text/portxt.hxx
index 21237a98d8..240d40acca 100644
--- a/sw/source/core/text/portxt.hxx
+++ b/sw/source/core/text/portxt.hxx
@@ -82,7 +82,7 @@ class SwHolePortion : public SwLinePortion
KSHORT nBlankWidth;
public:
SwHolePortion( const SwTxtPortion &rPor );
- inline const KSHORT GetBlankWidth( ) const { return nBlankWidth; }
+ inline KSHORT GetBlankWidth( ) const { return nBlankWidth; }
inline void SetBlankWidth( const KSHORT nNew ) { nBlankWidth = nNew; }
virtual SwLinePortion *Compress();
virtual sal_Bool Format( SwTxtFormatInfo &rInf );
diff --git a/sw/source/core/text/widorp.cxx b/sw/source/core/text/widorp.cxx
index 9119a749a9..00e12645b4 100644
--- a/sw/source/core/text/widorp.cxx
+++ b/sw/source/core/text/widorp.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: widorp.cxx,v $
- * $Revision: 1.22 $
+ * $Revision: 1.22.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -127,7 +127,7 @@ SwTxtFrmBreak::SwTxtFrmBreak( SwTxtFrm *pNewFrm, const SwTwips nRst )
* naechste Seite rutscht.
*/
-const sal_Bool SwTxtFrmBreak::IsInside( SwTxtMargin &rLine ) const
+sal_Bool SwTxtFrmBreak::IsInside( SwTxtMargin &rLine ) const
{
sal_Bool bFit = sal_False;
diff --git a/sw/source/core/text/widorp.hxx b/sw/source/core/text/widorp.hxx
index 6844df6a0f..01d8bd79c9 100644
--- a/sw/source/core/text/widorp.hxx
+++ b/sw/source/core/text/widorp.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: widorp.hxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.8.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -47,15 +47,15 @@ public:
SwTxtFrmBreak( SwTxtFrm *pFrm, const SwTwips nRst = 0 );
sal_Bool IsBreakNow( SwTxtMargin &rLine );
- const sal_Bool IsBroken() const { return bBreak; }
- const sal_Bool IsKeepAlways() const { return bKeep; }
- void Keep() { bKeep = sal_True; }
- void Break() { bKeep = sal_False; bBreak = sal_True; }
+ sal_Bool IsBroken() const { return bBreak; }
+ sal_Bool IsKeepAlways() const { return bKeep; }
+ void Keep() { bKeep = sal_True; }
+ void Break() { bKeep = sal_False; bBreak = sal_True; }
inline sal_Bool GetKeep() const { return bKeep; }
inline void SetKeep( const sal_Bool bNew ) { bKeep = bNew; }
- const sal_Bool IsInside( SwTxtMargin &rLine ) const;
+ sal_Bool IsInside( SwTxtMargin &rLine ) const;
// Um Sonderfaelle mit Ftn behandeln zu koennen.
// Mit SetRstHeight wird dem SwTxtFrmBreak die Resthoehe eingestellt,
@@ -78,9 +78,9 @@ public:
WidowsAndOrphans( SwTxtFrm *pFrm, const SwTwips nRst = 0,
sal_Bool bCheckKeep = sal_True );
sal_Bool FindWidows( SwTxtFrm *pFrm, SwTxtMargin &rLine );
- const MSHORT GetWidowsLines() const
+ MSHORT GetWidowsLines() const
{ return nWidLines; }
- const MSHORT GetOrphansLines() const
+ MSHORT GetOrphansLines() const
{ return nOrphLines; }
void ClrOrphLines(){ nOrphLines = 0; }
diff --git a/sw/source/core/txtnode/fntcap.cxx b/sw/source/core/txtnode/fntcap.cxx
index 0d6d7f5988..a4229de0b2 100644
--- a/sw/source/core/txtnode/fntcap.cxx
+++ b/sw/source/core/txtnode/fntcap.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fntcap.cxx,v $
- * $Revision: 1.27 $
+ * $Revision: 1.27.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -215,7 +215,7 @@ public:
{ }
virtual void Init( SwFntObj *pUpperFont, SwFntObj *pLowerFont );
virtual void Do();
- const xub_StrLen GetBreak() const { return nBreak; }
+ xub_StrLen GetBreak() const { return nBreak; }
};
void SwDoGetCapitalBreak::Init( SwFntObj *, SwFntObj * )
diff --git a/sw/source/core/view/pagepreviewlayout.cxx b/sw/source/core/view/pagepreviewlayout.cxx
index 44873efb87..399d8e8751 100644
--- a/sw/source/core/view/pagepreviewlayout.cxx
+++ b/sw/source/core/view/pagepreviewlayout.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: pagepreviewlayout.cxx,v $
- * $Revision: 1.15 $
+ * $Revision: 1.15.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -1274,7 +1274,7 @@ void SwPagePreviewLayout::Repaint( const Rectangle _aInvalidCoreRect ) const
@author OD
*/
-const void SwPagePreviewLayout::_PaintSelectMarkAtPage(
+void SwPagePreviewLayout::_PaintSelectMarkAtPage(
const PrevwPage* _aSelectedPrevwPage ) const
{
OutputDevice* pOutputDev = mrParentViewShell.GetOut();
diff --git a/sw/source/core/view/vnew.cxx b/sw/source/core/view/vnew.cxx
index ea78b49207..afae44310b 100644
--- a/sw/source/core/view/vnew.cxx
+++ b/sw/source/core/view/vnew.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: vnew.cxx,v $
- * $Revision: 1.32 $
+ * $Revision: 1.31.210.2 $
*
* This file is part of OpenOffice.org.
*
@@ -390,7 +390,7 @@ ViewShell::~ViewShell()
delete pAccOptions;
}
-const BOOL ViewShell::HasDrawView() const
+BOOL ViewShell::HasDrawView() const
{
return Imp()->HasDrawView();
}
diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx
index d9b67cdff3..8d6e99c007 100644
--- a/sw/source/filter/html/svxcss1.cxx
+++ b/sw/source/filter/html/svxcss1.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: svxcss1.cxx,v $
- * $Revision: 1.20 $
+ * $Revision: 1.20.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -3068,7 +3068,7 @@ static void ParseCSS1_page_break_inside( const CSS1Expression *pExpr,
SvxCSS1PropertyInfo& /*rPropInfo*/,
const SvxCSS1Parser& /*rParser*/ )
{
- SvxCSS1PageBreak eBreak;
+ SvxCSS1PageBreak eBreak(SVX_CSS1_PBREAK_NONE);
ParseCSS1_page_break_xxx( pExpr, eBreak );
BOOL bSetSplit = FALSE, bSplit = TRUE;
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index ebd9445adf..457081e25e 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: swhtml.cxx,v $
- * $Revision: 1.51 $
+ * $Revision: 1.51.98.1 $
*
* This file is part of OpenOffice.org.
*
@@ -4964,7 +4964,7 @@ USHORT SwHTMLParser::ToTwips( USHORT nPixel ) const
return nPixel;
}
-const SwTwips SwHTMLParser::GetCurrentBrowseWidth()
+SwTwips SwHTMLParser::GetCurrentBrowseWidth()
{
SwTwips nWidth = SwHTMLTableLayout::GetBrowseWidth( *pDoc );
if( nWidth )
diff --git a/sw/source/filter/html/swhtml.hxx b/sw/source/filter/html/swhtml.hxx
index 18816e48bb..a8d9109c45 100644
--- a/sw/source/filter/html/swhtml.hxx
+++ b/sw/source/filter/html/swhtml.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: swhtml.hxx,v $
- * $Revision: 1.18 $
+ * $Revision: 1.18.100.1 $
*
* This file is part of OpenOffice.org.
*
@@ -566,7 +566,7 @@ class SwHTMLParser : public SfxHTMLParser, public SwClient
const SwFmtColl *GetCurrFmtColl() const;
- const SwTwips GetCurrentBrowseWidth() /* const */;
+ SwTwips GetCurrentBrowseWidth();
SwHTMLNumRuleInfo& GetNumInfo() { return *pNumRuleInfo; }
// --> OD 2008-04-02 #refactorlists#
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 60299f3d84..409c0bb632 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ww8par2.cxx,v $
- * $Revision: 1.146 $
+ * $Revision: 1.145.76.2 $
*
* This file is part of OpenOffice.org.
*
diff --git a/sw/source/filter/ww8/ww8par2.hxx b/sw/source/filter/ww8/ww8par2.hxx
index 35c647ed9a..8041b68f1e 100644
--- a/sw/source/filter/ww8/ww8par2.hxx
+++ b/sw/source/filter/ww8/ww8par2.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ww8par2.hxx,v $
- * $Revision: 1.48 $
+ * $Revision: 1.47.214.1 $
*
* This file is part of OpenOffice.org.
*
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index 542c3b7623..3a8868993e 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -3271,7 +3271,7 @@ void WW8PLCFx_Cp_FKP::GetSprms(WW8PLCFxDesc* p)
character is at the FKP FC minus 1.
*/
WW8_CP nCpStart, nCpEnd;
- void* pData=0;
+ void* pData=NULL;
pPieceIter->Get(nCpStart, nCpEnd, pData);
WW8_FC nLimitFC = SVBT32ToUInt32( ((WW8_PCD*)pData)->fc );
diff --git a/sw/source/ui/fldui/fldfunc.cxx b/sw/source/ui/fldui/fldfunc.cxx
index b49e6340b5..871049660b 100644
--- a/sw/source/ui/fldui/fldfunc.cxx
+++ b/sw/source/ui/fldui/fldfunc.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fldfunc.cxx,v $
- * $Revision: 1.22 $
+ * $Revision: 1.22.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -578,7 +578,7 @@ IMPL_LINK( SwFldFuncPage, MacroHdl, Button *, pBtn )
Application::SetDefDialogParent( pBtn );
String sMacro(TurnMacroString(aNameED.GetText()));
- while (sMacro.SearchAndReplace('.', ';') != STRING_NOTFOUND);
+ while (sMacro.SearchAndReplace('.', ';') != STRING_NOTFOUND) ;
if (GetFldMgr().ChooseMacro(sMacro))
UpdateSubType();
diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx
index fdbc52e2f1..a3548ce20e 100644
--- a/sw/source/ui/fldui/fldref.cxx
+++ b/sw/source/ui/fldui/fldref.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fldref.cxx,v $
- * $Revision: 1.12 $
+ * $Revision: 1.12.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -179,7 +179,7 @@ const SwTxtNode* SwFldRefPage::GetSavedSelectedTxtNode() const
return mpSavedSelectedTxtNode;
}
-const sal_uInt16 SwFldRefPage::GetSavedSelectedPos() const
+sal_uInt16 SwFldRefPage::GetSavedSelectedPos() const
{
return mnSavedSelectedPos;
}
diff --git a/sw/source/ui/fldui/fldref.hxx b/sw/source/ui/fldui/fldref.hxx
index dff1bcd1f0..35dae2f8e1 100644
--- a/sw/source/ui/fldui/fldref.hxx
+++ b/sw/source/ui/fldui/fldref.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fldref.hxx,v $
- * $Revision: 1.4 $
+ * $Revision: 1.4.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -93,7 +93,7 @@ class SwFldRefPage : public SwFldPage
// --> OD 2007-12-05 #i83479#
void SaveSelectedTxtNode();
const SwTxtNode* GetSavedSelectedTxtNode() const;
- const sal_uInt16 GetSavedSelectedPos() const;
+ sal_uInt16 GetSavedSelectedPos() const;
// <--
protected:
diff --git a/sw/source/ui/inc/fldmgr.hxx b/sw/source/ui/inc/fldmgr.hxx
index 9aa0f0e657..f1e2002d6e 100644
--- a/sw/source/ui/inc/fldmgr.hxx
+++ b/sw/source/ui/inc/fldmgr.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fldmgr.hxx,v $
- * $Revision: 1.16 $
+ * $Revision: 1.16.214.1 $
*
* This file is part of OpenOffice.org.
*
@@ -154,7 +154,7 @@ public:
inline const String& GetCurFldPar1() const;
inline const String& GetCurFldPar2() const;
- inline const ULONG GetCurFldFmt() const;
+ inline ULONG GetCurFldFmt() const;
// Ein Feld ermitteln
SwField* GetCurFld();
@@ -229,7 +229,7 @@ inline const String& SwFldMgr::GetCurFldPar1() const
inline const String& SwFldMgr::GetCurFldPar2() const
{ return aCurPar2; }
-inline const ULONG SwFldMgr::GetCurFldFmt() const
+inline ULONG SwFldMgr::GetCurFldFmt() const
{ return nCurFmt; }