summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-22 10:08:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-22 10:08:07 +0200
commit85825e0fd54551735ef05b8484f71974734b9135 (patch)
tree8bece458e55c1b5eab7559076579bf76cca8df68 /sw/inc
parentfc233b52ce2acc1bcd7cecc3d51bcab870c81932 (diff)
Avoid reserved identifiers
Change-Id: I27ff0f4f0eb395d7e0a60dd604758c220a3134c4
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/IDocumentDrawModelAccess.hxx2
-rw-r--r--sw/inc/IDocumentFieldsAccess.hxx6
-rw-r--r--sw/inc/SwNodeNum.hxx2
-rw-r--r--sw/inc/SwNumberTree.hxx4
-rw-r--r--sw/inc/SwStyleNameMapper.hxx4
-rw-r--r--sw/inc/accmap.hxx6
-rw-r--r--sw/inc/anchoreddrawobject.hxx14
-rw-r--r--sw/inc/anchoredobject.hxx10
-rw-r--r--sw/inc/breakit.hxx22
-rw-r--r--sw/inc/calc.hxx6
-rw-r--r--sw/inc/cellfml.hxx10
-rw-r--r--sw/inc/crsrsh.hxx14
-rw-r--r--sw/inc/dcontact.hxx12
-rw-r--r--sw/inc/ddefld.hxx6
-rw-r--r--sw/inc/doc.hxx28
-rw-r--r--sw/inc/docsh.hxx2
-rw-r--r--sw/inc/docufld.hxx6
-rw-r--r--sw/inc/editsh.hxx10
-rw-r--r--sw/inc/expfld.hxx20
-rw-r--r--sw/inc/fesh.hxx10
-rw-r--r--sw/inc/fldbas.hxx4
-rw-r--r--sw/inc/fmtclds.hxx2
-rw-r--r--sw/inc/fmtfld.hxx2
-rw-r--r--sw/inc/htmltbl.hxx2
-rw-r--r--sw/inc/init.hxx12
-rw-r--r--sw/inc/ndarr.hxx10
-rw-r--r--sw/inc/ndgrf.hxx4
-rw-r--r--sw/inc/ndnotxt.hxx2
-rw-r--r--sw/inc/ndtxt.hxx6
-rw-r--r--sw/inc/numrule.hxx2
-rw-r--r--sw/inc/pagepreviewlayout.hxx26
-rw-r--r--sw/inc/pam.hxx2
-rw-r--r--sw/inc/printdata.hxx6
-rw-r--r--sw/inc/shellio.hxx4
-rw-r--r--sw/inc/shellres.hxx4
-rw-r--r--sw/inc/swatrset.hxx4
-rw-r--r--sw/inc/swcrsr.hxx18
-rw-r--r--sw/inc/swrect.hxx26
-rw-r--r--sw/inc/swtable.hxx12
-rw-r--r--sw/inc/tblafmt.hxx2
-rw-r--r--sw/inc/tblsel.hxx52
-rw-r--r--sw/inc/textboxhelper.hxx4
-rw-r--r--sw/inc/tox.hxx4
-rw-r--r--sw/inc/txtflcnt.hxx6
-rw-r--r--sw/inc/unodraw.hxx14
-rw-r--r--sw/inc/view.hxx8
-rw-r--r--sw/inc/viewsh.hxx2
-rw-r--r--sw/inc/viscrs.hxx10
48 files changed, 222 insertions, 222 deletions
diff --git a/sw/inc/IDocumentDrawModelAccess.hxx b/sw/inc/IDocumentDrawModelAccess.hxx
index 857b9cfecf3a..e4a220ecd631 100644
--- a/sw/inc/IDocumentDrawModelAccess.hxx
+++ b/sw/inc/IDocumentDrawModelAccess.hxx
@@ -35,7 +35,7 @@ public:
*/
virtual const SwDrawModel* GetDrawModel() const = 0;
virtual SwDrawModel* GetDrawModel() = 0;
- virtual SwDrawModel* _MakeDrawModel() = 0;
+ virtual SwDrawModel* MakeDrawModel_() = 0;
virtual SwDrawModel* GetOrCreateDrawModel() = 0;
virtual SdrLayerID GetHeavenId() const = 0;
virtual SdrLayerID GetHellId() const = 0;
diff --git a/sw/inc/IDocumentFieldsAccess.hxx b/sw/inc/IDocumentFieldsAccess.hxx
index 4eb6b1088573..f9b116b716c2 100644
--- a/sw/inc/IDocumentFieldsAccess.hxx
+++ b/sw/inc/IDocumentFieldsAccess.hxx
@@ -33,7 +33,7 @@ class SwTextField;
class SwField;
class SwMsgPoolItem;
class DateTime;
-class _SetGetExpField;
+class SetGetExpField;
struct SwHash;
class SwNode;
@@ -120,9 +120,9 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } }
// (if the address != 0 and the pointer == 0 a new list will be returned).
virtual void FieldsToCalc(SwCalc& rCalc, sal_uLong nLastNd, sal_uInt16 nLastCnt) = 0;
- virtual void FieldsToCalc(SwCalc& rCalc, const _SetGetExpField& rToThisField) = 0;
+ virtual void FieldsToCalc(SwCalc& rCalc, const SetGetExpField& rToThisField) = 0;
- virtual void FieldsToExpand(SwHash**& ppTable, sal_uInt16& rTableSize, const _SetGetExpField& rToThisField) = 0;
+ virtual void FieldsToExpand(SwHash**& ppTable, sal_uInt16& rTableSize, const SetGetExpField& rToThisField) = 0;
virtual bool IsNewFieldLst() const = 0;
diff --git a/sw/inc/SwNodeNum.hxx b/sw/inc/SwNodeNum.hxx
index ec1682c04b7b..f597529f28a6 100644
--- a/sw/inc/SwNodeNum.hxx
+++ b/sw/inc/SwNodeNum.hxx
@@ -85,7 +85,7 @@ private:
SwTextNode * mpTextNode;
SwNumRule * mpNumRule;
- static void _UnregisterMeAndChildrenDueToRootDelete( SwNodeNum& rNodeNum );
+ static void UnregisterMeAndChildrenDueToRootDelete( SwNodeNum& rNodeNum );
SwNodeNum( const SwNodeNum& ) = delete;
SwNodeNum& operator=( const SwNodeNum& ) = delete;
diff --git a/sw/inc/SwNumberTree.hxx b/sw/inc/SwNumberTree.hxx
index 4b9bdae378f4..dc78b6c60e29 100644
--- a/sw/inc/SwNumberTree.hxx
+++ b/sw/inc/SwNumberTree.hxx
@@ -439,13 +439,13 @@ protected:
SwNumberTreeNode& operator=( const SwNumberTreeNode& );
/**
- Calls _GetNumberVector on parent and adds number of this node
+ Calls GetNumberVector_ on parent and adds number of this node
at the end.
@param rVector return value
@param bValidate validate the number?
*/
- void _GetNumberVector( SwNumberTree::tNumberVector& rVector,
+ void GetNumberVector_( SwNumberTree::tNumberVector& rVector,
bool bValidate = true ) const;
/**
diff --git a/sw/inc/SwStyleNameMapper.hxx b/sw/inc/SwStyleNameMapper.hxx
index 14852be59cbb..89011caa5a98 100644
--- a/sw/inc/SwStyleNameMapper.hxx
+++ b/sw/inc/SwStyleNameMapper.hxx
@@ -77,8 +77,8 @@ typedef std::unordered_map<OUString, sal_uInt16, OUStringHash> NameToIdHash;
class SwStyleNameMapper
{
- friend void _InitCore();
- friend void _FinitCore();
+ friend void InitCore();
+ friend void FinitCore();
protected:
// UI Name tables
diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx
index 885892d35797..2178a7223498 100644
--- a/sw/inc/accmap.hxx
+++ b/sw/inc/accmap.hxx
@@ -110,10 +110,10 @@ class SwAccessibleMap : public ::accessibility::IAccessibleViewForwarder,
//IvalidateShapeInParaSelection() method is responsible for the updating the selected states of the objects.
void InvalidateShapeInParaSelection();
- void _InvalidateRelationSet( const SwFrame* pFrame, bool bFrom );
+ void InvalidateRelationSet_( const SwFrame* pFrame, bool bFrom );
css::uno::Reference<css::accessibility::XAccessible>
- _GetDocumentView( bool bPagePreview );
+ GetDocumentView_( bool bPagePreview );
/** method to build up a new data structure of the accessible paragraphs,
which have a selection
@@ -122,7 +122,7 @@ class SwAccessibleMap : public ::accessibility::IAccessibleViewForwarder,
@author OD
*/
- SwAccessibleSelectedParas_Impl* _BuildSelectedParas();
+ SwAccessibleSelectedParas_Impl* BuildSelectedParas();
public:
diff --git a/sw/inc/anchoreddrawobject.hxx b/sw/inc/anchoreddrawobject.hxx
index 7b097a2fb606..5336f2a9d36d 100644
--- a/sw/inc/anchoreddrawobject.hxx
+++ b/sw/inc/anchoreddrawobject.hxx
@@ -60,7 +60,7 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject
@author OD
*/
- void _MakeObjPosAnchoredAtPara();
+ void MakeObjPosAnchoredAtPara();
/** method for the intrinsic positioning of a at-page|at-frame anchored
drawing object
@@ -69,7 +69,7 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject
@author OD
*/
- void _MakeObjPosAnchoredAtLayout();
+ void MakeObjPosAnchoredAtLayout();
/** method to set positioning attributes (not for as-character anchored)
@@ -81,7 +81,7 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject
@author OD
*/
- void _SetPositioningAttr();
+ void SetPositioningAttr();
/** method to set internal anchor position of <SdrObject> instance
of the drawing object
@@ -97,13 +97,13 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject
@author OD
*/
- void _SetDrawObjAnchor();
+ void SetDrawObjAnchor();
/** method to invalidate the given page frame
@author OD
*/
- void _InvalidatePage( SwPageFrame* _pPageFrame );
+ void InvalidatePage_( SwPageFrame* _pPageFrame );
protected:
virtual void ObjectAttachedToAnchorFrame() override;
@@ -115,8 +115,8 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject
*/
virtual void RegisterAtCorrectPage() override;
- virtual bool _SetObjTop( const SwTwips _nTop) override;
- virtual bool _SetObjLeft( const SwTwips _nLeft) override;
+ virtual bool SetObjTop_( const SwTwips _nTop) override;
+ virtual bool SetObjLeft_( const SwTwips _nLeft) override;
virtual const SwRect GetObjBoundRect() const override;
diff --git a/sw/inc/anchoredobject.hxx b/sw/inc/anchoredobject.hxx
index e82d9ffb7788..024b55550034 100644
--- a/sw/inc/anchoredobject.hxx
+++ b/sw/inc/anchoredobject.hxx
@@ -104,7 +104,7 @@ class SW_DLLPUBLIC SwAnchoredObject
// This boolean is used, if compatibility option 'Consider wrapping style
// influence on object positioning' is OFF and a positioning loop is
// detected in method <SwFlyAtContentFrame::MakeAll()> or method
- // <SwAnchoredDrawObject::_MakeObjPosAnchoredAtPara()>.
+ // <SwAnchoredDrawObject::MakeObjPosAnchoredAtPara()>.
// The boolean is reset to <false>, when the layout process for a
// page frame starts.
bool mbTmpConsiderWrapInfluence;
@@ -142,7 +142,7 @@ class SW_DLLPUBLIC SwAnchoredObject
input parameter - reference to the text frame containing the anchor
character.
*/
- void _CheckCharRect( const SwFormatAnchor& _rAnch,
+ void CheckCharRect( const SwFormatAnchor& _rAnch,
const SwTextFrame& _rAnchorCharFrame );
/** check top of line
@@ -161,7 +161,7 @@ class SW_DLLPUBLIC SwAnchoredObject
input parameter - reference to the text frame containing the anchor
character.
*/
- void _CheckTopOfLine( const SwFormatAnchor& _rAnch,
+ void CheckTopOfLine( const SwFormatAnchor& _rAnch,
const SwTextFrame& _rAnchorCharFrame );
// method <sw_HideObj(..)> sets needed data structure values for the
@@ -202,8 +202,8 @@ class SW_DLLPUBLIC SwAnchoredObject
*/
void SetTmpConsiderWrapInfluenceOfOtherObjs();
- virtual bool _SetObjTop( const SwTwips _nTop) = 0;
- virtual bool _SetObjLeft( const SwTwips _nLeft) = 0;
+ virtual bool SetObjTop_( const SwTwips _nTop) = 0;
+ virtual bool SetObjLeft_( const SwTwips _nLeft) = 0;
virtual const SwRect GetObjBoundRect() const = 0;
public:
diff --git a/sw/inc/breakit.hxx b/sw/inc/breakit.hxx
index 9145517ead40..47615f45bc0f 100644
--- a/sw/inc/breakit.hxx
+++ b/sw/inc/breakit.hxx
@@ -40,25 +40,25 @@ class SW_DLLPUBLIC SwBreakIt
LanguageType aForbiddenLang; ///< language of the current forbiddenChar struct
- void _GetLocale( const LanguageType aLang );
- void _GetLocale( const LanguageTag& rLanguageTag );
- void _GetForbidden( const LanguageType aLang );
+ void GetLocale_( const LanguageType aLang );
+ void GetLocale_( const LanguageTag& rLanguageTag );
+ void GetForbidden_( const LanguageType aLang );
void createBreakIterator() const;
SwBreakIt(SwBreakIt const&) = delete;
SwBreakIt& operator=(SwBreakIt const&) = delete;
- // private (see @ _Create, _Delete).
+ // private (see @ Create_, Delete_).
explicit SwBreakIt(
const css::uno::Reference< css::uno::XComponentContext > & rxContext);
~SwBreakIt();
public:
// private (see @ source/core/bastyp/init.cxx).
- static void _Create(
+ static void Create_(
const css::uno::Reference< css::uno::XComponentContext > & rxContext);
- static void _Delete();
+ static void Delete_();
public:
static SwBreakIt * Get();
@@ -72,7 +72,7 @@ public:
const css::lang::Locale& GetLocale( const LanguageType aLang )
{
if( !m_pLanguageTag || m_pLanguageTag->getLanguageType() != aLang )
- _GetLocale( aLang );
+ GetLocale_( aLang );
return m_pLanguageTag->getLocale();
}
@@ -83,14 +83,14 @@ public:
// assigned, so LanguageTag does not need to convert to BCP47 for
// comparison.
if( !m_pLanguageTag || m_pLanguageTag->getLanguageType() != rLanguageTag.getLanguageType() )
- _GetLocale( rLanguageTag );
+ GetLocale_( rLanguageTag );
return m_pLanguageTag->getLocale();
}
const LanguageTag& GetLanguageTag( const LanguageType aLang )
{
if( !m_pLanguageTag || m_pLanguageTag->getLanguageType() != aLang )
- _GetLocale( aLang );
+ GetLocale_( aLang );
return *m_pLanguageTag;
}
@@ -101,14 +101,14 @@ public:
// assigned, so LanguageTag does not need to convert to BCP47 for
// comparison.
if( !m_pLanguageTag || m_pLanguageTag->getLanguageType() != rLanguageTag.getLanguageType() )
- _GetLocale( rLanguageTag );
+ GetLocale_( rLanguageTag );
return *m_pLanguageTag;
}
const css::i18n::ForbiddenCharacters& GetForbidden( const LanguageType aLang )
{
if( !m_pForbidden || aForbiddenLang != aLang )
- _GetForbidden( aLang );
+ GetForbidden_( aLang );
return *m_pForbidden;
}
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx
index 5c76e0b50b18..6b85dbdf0968 100644
--- a/sw/inc/calc.hxx
+++ b/sw/inc/calc.hxx
@@ -145,9 +145,9 @@ SwHash* Find( const OUString& rSrch, SwHash* const * ppTable,
void DeleteHashTable( SwHash** ppTable, sal_uInt16 nTableSize );
-// if _CalcOp != 0, this is a valid operator
-struct _CalcOp;
-_CalcOp* FindOperator( const OUString& rSearch );
+// if CalcOp != 0, this is a valid operator
+struct CalcOp;
+CalcOp* FindOperator( const OUString& rSearch );
class SwCalc
{
diff --git a/sw/inc/cellfml.hxx b/sw/inc/cellfml.hxx
index f00f80bed351..4e7b591de4f2 100644
--- a/sw/inc/cellfml.hxx
+++ b/sw/inc/cellfml.hxx
@@ -66,13 +66,13 @@ typedef void (SwTableFormula:: *FnScanFormula)( const SwTable&, OUString&,
void* pPara = nullptr ) const;
void BoxNmsToRelNm( const SwTable&, OUString&, OUString&, OUString* = nullptr,
void* pPara = nullptr ) const;
- void _MakeFormula( const SwTable&, OUString&, OUString&, OUString* = nullptr,
+ void MakeFormula_( const SwTable&, OUString&, OUString&, OUString* = nullptr,
void* pPara = nullptr ) const;
- void _GetFormulaBoxes( const SwTable&, OUString&, OUString&, OUString* = nullptr,
+ void GetFormulaBoxes( const SwTable&, OUString&, OUString&, OUString* = nullptr,
void* pPara = nullptr ) const;
- void _HasValidBoxes( const SwTable&, OUString&, OUString&, OUString* = nullptr,
+ void HasValidBoxes_( const SwTable&, OUString&, OUString&, OUString* = nullptr,
void* pPara = nullptr ) const;
- void _SplitMergeBoxNm( const SwTable&, OUString&, OUString&, OUString* = nullptr,
+ void SplitMergeBoxNm_( const SwTable&, OUString&, OUString&, OUString* = nullptr,
void* pPara = nullptr ) const;
static void GetBoxes( const SwTableBox& rStt, const SwTableBox& rEnd,
@@ -99,7 +99,7 @@ protected:
OUString MakeFormula( SwTableCalcPara& rCalcPara ) const
{
- return ScanString( &SwTableFormula::_MakeFormula,
+ return ScanString( &SwTableFormula::MakeFormula_,
*rCalcPara.pTable, &rCalcPara );
}
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx
index 2a1af0a0d57f..89c90a965cfd 100644
--- a/sw/inc/crsrsh.hxx
+++ b/sw/inc/crsrsh.hxx
@@ -236,7 +236,7 @@ private:
SAL_DLLPRIVATE void MoveCursorToNum();
- SAL_DLLPRIVATE void _ParkPams( SwPaM* pDelRg, SwShellCursor** ppDelRing );
+ SAL_DLLPRIVATE void ParkPams( SwPaM* pDelRg, SwShellCursor** ppDelRing );
/** Mark a certain list level of a certain list
@@ -263,7 +263,7 @@ private:
typedef bool (SwCursor:: *FNCursor)();
SAL_DLLPRIVATE bool CallCursorFN( FNCursor );
- SAL_DLLPRIVATE const SwRangeRedline* _GotoRedline( sal_uInt16 nArrPos, bool bSelect );
+ SAL_DLLPRIVATE const SwRangeRedline* GotoRedline_( sal_uInt16 nArrPos, bool bSelect );
protected:
@@ -284,7 +284,7 @@ protected:
};
int CompareCursor( CursorCompareType eType ) const;
- bool _SelTableRowOrCol( bool bRow, bool bRowSimple = false );
+ bool SelTableRowOrCol( bool bRow, bool bRowSimple = false );
bool SetInFrontOfLabel( bool bNew );
@@ -329,8 +329,8 @@ public:
SwPaM* GetCursor( bool bMakeTableCursor = true ) const;
inline SwCursor* GetSwCursor() const;
// return only the current cursor
- SwShellCursor* _GetCursor() { return m_pCurrentCursor; }
- const SwShellCursor* _GetCursor() const { return m_pCurrentCursor; }
+ SwShellCursor* GetCursor_() { return m_pCurrentCursor; }
+ const SwShellCursor* GetCursor_() const { return m_pCurrentCursor; }
// show passed cursor - for UNO
void SetSelection(const SwPaM& rCursor);
@@ -591,8 +591,8 @@ public:
bool GotoTable( const OUString& rName );
// select a table row, column or box (based on the current cursor)
- bool SelTableRow() { return _SelTableRowOrCol( true ); }
- bool SelTableCol() { return _SelTableRowOrCol( false ); }
+ bool SelTableRow() { return SelTableRowOrCol( true ); }
+ bool SelTableCol() { return SelTableRowOrCol( false ); }
bool SelTableBox();
bool SelTable();
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx
index e50f999db180..7e6a79c3c34c 100644
--- a/sw/inc/dcontact.hxx
+++ b/sw/inc/dcontact.hxx
@@ -95,7 +95,7 @@ class SwContact : public SdrObjUserCall, public SwClient
input parameter, which will be changed - drawing object, which will
change its layer.
*/
- void _MoveObjToLayer( const bool _bToVisible,
+ void MoveObjToLayer( const bool _bToVisible,
SdrObject* _pDrawObj );
protected:
@@ -122,7 +122,7 @@ public:
/** method to move drawing object to corresponding visible layer
- uses method <_MoveObjToLayer(..)>
+ uses method <MoveObjToLayer(..)>
@author OD
@@ -133,7 +133,7 @@ public:
/** method to move drawing object to corresponding invisible layer
- uses method <_MoveObjToLayer(..)>
+ uses method <MoveObjToLayer(..)>
@author OD
@@ -334,7 +334,7 @@ class SwDrawContact : public SwContact
bool mbDisconnectInProgress : 1;
/** Needed data for handling of nested <SdrObjUserCall> events in
- method <_Changed(..)> */
+ method <Changed_(..)> */
bool mbUserCallActive : 1;
/** event type, which is handled for <mpSdrObjHandledByCurrentUserCall>.
Note: value only valid, if <mbUserCallActive> is true. */
@@ -375,7 +375,7 @@ class SwDrawContact : public SwContact
static void DestroyVirtObj( SwDrawVirtObj* pVirtObj );
void RemoveAllVirtObjs();
- void _InvalidateObjs( const bool _bUpdateSortedObjsList = false );
+ void InvalidateObjs_( const bool _bUpdateSortedObjsList = false );
SwDrawContact( const SwDrawContact& ) = delete;
SwDrawContact& operator=( const SwDrawContact& ) = delete;
@@ -443,7 +443,7 @@ class SwDrawContact : public SwContact
/** Used by Changed() and by UndoDraw.
Notifies paragraphs that have to get out of the way. */
- void _Changed(const SdrObject& rObj, SdrUserCallType eType, const Rectangle* pOldBoundRect);
+ void Changed_(const SdrObject& rObj, SdrUserCallType eType, const Rectangle* pOldBoundRect);
/// Moves all SW-connections to new Master)
void ChangeMasterObject( SdrObject *pNewMaster );
diff --git a/sw/inc/ddefld.hxx b/sw/inc/ddefld.hxx
index 953f0ee6af06..7f26d2dd836c 100644
--- a/sw/inc/ddefld.hxx
+++ b/sw/inc/ddefld.hxx
@@ -38,7 +38,7 @@ class SW_DLLPUBLIC SwDDEFieldType : public SwFieldType
bool bCRLFFlag : 1;
bool bDeleted : 1;
- SAL_DLLPRIVATE void _RefCntChgd();
+ SAL_DLLPRIVATE void RefCntChgd();
public:
SwDDEFieldType( const OUString& rName, const OUString& rCmd,
@@ -74,8 +74,8 @@ public:
SwDoc* GetDoc() { return pDoc; }
void SetDoc( SwDoc* pDoc );
- void IncRefCnt() { if( !nRefCnt++ && pDoc ) _RefCntChgd(); }
- void DecRefCnt() { if( !--nRefCnt && pDoc ) _RefCntChgd(); }
+ void IncRefCnt() { if( !nRefCnt++ && pDoc ) RefCntChgd(); }
+ void DecRefCnt() { if( !--nRefCnt && pDoc ) RefCntChgd(); }
void SetCRLFDelFlag( bool bFlag = true ) { bCRLFFlag = bFlag; }
};
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 7b64365e679c..4d84134ed084 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -144,7 +144,7 @@ class SwTextFormatColls;
class SwURLStateChanged;
class SwUnoCursor;
class SwViewShell;
-class _SetGetExpField;
+class SetGetExpField;
class SwDrawContact;
class SwLayouter;
class SdrView;
@@ -188,7 +188,7 @@ class IDocumentState;
class IDocumentLayoutAccess;
class IDocumentStylePoolAccess;
class IDocumentExternalData;
-class _SetGetExpFields;
+class SetGetExpFields;
namespace sw { namespace mark {
class MarkManager;
@@ -247,8 +247,8 @@ class SW_DLLPUBLIC SwDoc :
{
friend class ::sw::DocumentContentOperationsManager;
- friend void _InitCore();
- friend void _FinitCore();
+ friend void InitCore();
+ friend void FinitCore();
// private Member
std::unique_ptr<SwNodes> m_pNodes; //< document content (Nodes Array)
@@ -388,7 +388,7 @@ private:
static SwAutoCompleteWord *mpACmpltWords; //< List of all words for AutoComplete
// private methods
- SwFlyFrameFormat* _MakeFlySection( const SwPosition& rAnchPos,
+ SwFlyFrameFormat* MakeFlySection_( const SwPosition& rAnchPos,
const SwContentNode& rNode, RndStdIds eRequestId,
const SfxItemSet* pFlyAttrSet,
SwFrameFormat* = nullptr );
@@ -417,9 +417,9 @@ private:
const OUString& rFormula,
std::vector<OUString>& rUsedDBNames );
- void _CreateNumberFormatter();
+ void CreateNumberFormatter();
- bool _UnProtectTableCells( SwTable& rTable );
+ bool UnProtectTableCells( SwTable& rTable );
/** Create sub-documents according to the given collection.
If no collection is given, take chapter style of the 1st level. */
@@ -427,9 +427,9 @@ private:
const SwTextFormatColl* pSplitColl, int nOutlineLevel = 0 );
// Update charts of given table.
- void _UpdateCharts( const SwTable& rTable, SwViewShell const & rVSh ) const;
+ void UpdateCharts_( const SwTable& rTable, SwViewShell const & rVSh ) const;
- static bool _SelectNextRubyChars( SwPaM& rPam, SwRubyListEntry& rRubyEntry,
+ static bool SelectNextRubyChars( SwPaM& rPam, SwRubyListEntry& rRubyEntry,
sal_uInt16 nMode );
// CharTimer calls this method.
@@ -437,11 +437,11 @@ private:
DECL_LINK_TYPED( DoUpdateModifiedOLE, Idle *, void );
public:
- SwFormat *_MakeCharFormat(const OUString &, SwFormat *, bool, bool );
- SwFormat *_MakeFrameFormat(const OUString &, SwFormat *, bool, bool );
+ SwFormat *MakeCharFormat_(const OUString &, SwFormat *, bool, bool );
+ SwFormat *MakeFrameFormat_(const OUString &, SwFormat *, bool, bool );
private:
- SwFormat *_MakeTextFormatColl(const OUString &, SwFormat *, bool, bool );
+ SwFormat *MakeTextFormatColl_(const OUString &, SwFormat *, bool, bool );
private:
bool mbReadOnly;
@@ -1666,7 +1666,7 @@ inline const SwTableNode* SwDoc::IsIdxInTable( const SwNodeIndex& rIdx ) const
inline SvNumberFormatter* SwDoc::GetNumberFormatter( bool bCreate )
{
if( bCreate && !mpNumberFormatter )
- _CreateNumberFormatter();
+ CreateNumberFormatter();
return mpNumberFormatter;
}
@@ -1682,7 +1682,7 @@ inline void SwDoc::SetOLEPrtNotifyPending( bool bSet )
mbAllOLENotify = false;
}
-bool sw_GetPostIts( IDocumentFieldsAccess* pIDFA, _SetGetExpFields * pSrtLst );
+bool sw_GetPostIts( IDocumentFieldsAccess* pIDFA, SetGetExpFields * pSrtLst );
#endif //_DOC_HXX
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx
index 3a73b9ed7886..0b564e02004c 100644
--- a/sw/inc/docsh.hxx
+++ b/sw/inc/docsh.hxx
@@ -249,7 +249,7 @@ public:
virtual void LoadStyles( SfxObjectShell& rSource ) override;
- void _LoadStyles( SfxObjectShell& rSource, bool bPreserveCurrentDocument );
+ void LoadStyles_( SfxObjectShell& rSource, bool bPreserveCurrentDocument );
/// Show page style format dialog
/// @param nSlot
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index 32eb94b39139..4a0b91bd5224 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -27,7 +27,7 @@
#include "fldbas.hxx"
#include "numrule.hxx"
-class _SetGetExpFields;
+class SetGetExpFields;
class SwTextField;
class SwFrame;
class OutlinerParaObject;
@@ -596,14 +596,14 @@ class SwRefPageGetFieldType : public SwFieldType
SwDoc* pDoc;
sal_Int16 nNumberingType;
- void UpdateField( SwTextField* pTextField, _SetGetExpFields& rSetList );
+ void UpdateField( SwTextField* pTextField, SetGetExpFields& rSetList );
protected:
/// overwritten to update all RefPageGet fields
virtual void Modify( const SfxPoolItem*, const SfxPoolItem * ) override;
public:
SwRefPageGetFieldType( SwDoc* pDoc );
virtual SwFieldType* Copy() const override;
- bool MakeSetList( _SetGetExpFields& rTmpLst );
+ bool MakeSetList( SetGetExpFields& rTmpLst );
SwDoc* GetDoc() const { return pDoc; }
};
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index cf86fa05669b..ccc323105681 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -147,18 +147,18 @@ class SW_DLLPUBLIC SwEditShell : public SwCursorShell
/// For the private methods DelRange and those of AutoCorrect.
friend class SwAutoFormat;
- friend void _InitCore();
- friend void _FinitCore();
+ friend void InitCore();
+ friend void FinitCore();
/// For the PamCorrAbs/-Rel methods.
friend class SwUndo;
/** Returns pointer to a SwGrfNode
that will be used by GetGraphic() and GetGraphicSize(). */
- SAL_DLLPRIVATE SwGrfNode *_GetGrfNode() const ;
+ SAL_DLLPRIVATE SwGrfNode *GetGrfNode_() const ;
SAL_DLLPRIVATE void DeleteSel( SwPaM& rPam, bool* pUndo = nullptr );
- SAL_DLLPRIVATE void _SetSectionAttr( SwSectionFormat& rSectFormat, const SfxItemSet& rSet );
+ SAL_DLLPRIVATE void SetSectionAttr_( SwSectionFormat& rSectFormat, const SfxItemSet& rSet );
using SwViewShell::UpdateFields;
using SwModify::GetInfo;
@@ -206,7 +206,7 @@ public:
If table is copied into table, move all cursors away from it.
Copy and Paste must be in FEShell because of FlyFrames!
Copy all selections to the document. */
- bool _CopySelToDoc( SwDoc* pInsDoc );
+ bool CopySelToDoc( SwDoc* pInsDoc );
long SplitNode( bool bAutoFormat = false, bool bCheckTableStart = true );
bool AppendTextNode();
diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx
index 99c9c6e612a3..8e84d2814fb3 100644
--- a/sw/inc/expfld.hxx
+++ b/sw/inc/expfld.hxx
@@ -32,7 +32,7 @@ struct SwPosition;
class SwTextField;
class SwDoc;
class SwFormatField;
-class _SetGetExpFields;
+class SetGetExpFields;
class SwEditShell;
/// Forward declaration: get "BodyTextNode" for exp.fld in Fly's headers/footers/footnotes.
@@ -41,32 +41,32 @@ const SwTextNode* GetBodyTextNode( const SwDoc& pDoc, SwPosition& rPos,
OUString ReplacePoint(const OUString& sTmpName, bool bWithCommandType = false);
-struct _SeqFieldLstElem
+struct SeqFieldLstElem
{
OUString sDlgEntry;
sal_uInt16 nSeqNo;
- _SeqFieldLstElem( const OUString& rStr, sal_uInt16 nNo )
+ SeqFieldLstElem( const OUString& rStr, sal_uInt16 nNo )
: sDlgEntry( rStr ), nSeqNo( nNo )
{}
};
class SW_DLLPUBLIC SwSeqFieldList
{
- std::vector<_SeqFieldLstElem*> maData;
+ std::vector<SeqFieldLstElem*> maData;
public:
~SwSeqFieldList()
{
- for( std::vector<_SeqFieldLstElem*>::const_iterator it = maData.begin(); it != maData.end(); ++it )
+ for( std::vector<SeqFieldLstElem*>::const_iterator it = maData.begin(); it != maData.end(); ++it )
delete *it;
}
- bool InsertSort(_SeqFieldLstElem* pNew);
- bool SeekEntry(const _SeqFieldLstElem& rNew, size_t* pPos) const;
+ bool InsertSort(SeqFieldLstElem* pNew);
+ bool SeekEntry(const SeqFieldLstElem& rNew, size_t* pPos) const;
size_t Count() { return maData.size(); }
- _SeqFieldLstElem* operator[](size_t nIndex) { return maData[nIndex]; }
- const _SeqFieldLstElem* operator[](size_t nIndex) const { return maData[nIndex]; }
+ SeqFieldLstElem* operator[](size_t nIndex) { return maData[nIndex]; }
+ const SeqFieldLstElem* operator[](size_t nIndex) const { return maData[nIndex]; }
void Clear() { maData.clear(); }
};
@@ -373,7 +373,7 @@ public:
private:
SwEditShell* pSh;
- _SetGetExpFields* pSrtLst;
+ SetGetExpFields* pSrtLst;
std::set<const SwTextField*> aTmpLst;
};
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index 8e73562cebd7..52e77192384e 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -223,11 +223,11 @@ private:
SAL_DLLPRIVATE const SwFrame *GetBox( const Point &rPt, bool* pbRow = nullptr, bool* pbCol = nullptr ) const;
// 0 == not in any column.
- SAL_DLLPRIVATE sal_uInt16 _GetCurColNum( const SwFrame *pFrame,
+ SAL_DLLPRIVATE sal_uInt16 GetCurColNum_( const SwFrame *pFrame,
SwGetCurColNumPara* pPara ) const;
- SAL_DLLPRIVATE void _GetTabCols( SwTabCols &rToFill, const SwFrame *pBox ) const;
- SAL_DLLPRIVATE void _GetTabRows( SwTabCols &rToFill, const SwFrame *pBox ) const;
+ SAL_DLLPRIVATE void GetTabCols_( SwTabCols &rToFill, const SwFrame *pBox ) const;
+ SAL_DLLPRIVATE void GetTabRows_( SwTabCols &rToFill, const SwFrame *pBox ) const;
SAL_DLLPRIVATE bool ImpEndCreate();
@@ -240,7 +240,7 @@ private:
/// Get list of marked SdrObjects;
/// helper method for GetSelFrameType, IsSelContainsControl.
- SAL_DLLPRIVATE const SdrMarkList* _GetMarkList() const;
+ SAL_DLLPRIVATE const SdrMarkList* GetMarkList_() const;
SAL_DLLPRIVATE bool CheckHeadline( bool bRepeat ) const;
@@ -508,7 +508,7 @@ public:
size_t IsObjSelected() const; ///< @return object count, but doesn't count the objects in groups.
bool IsObjSelected( const SdrObject& rObj ) const;
bool IsObjSameLevelWithMarked(const SdrObject* pObj) const;
- const SdrMarkList* GetMarkList() const{ return _GetMarkList(); };
+ const SdrMarkList* GetMarkList() const{ return GetMarkList_(); };
void EndTextEdit(); ///< Deletes object if required.
diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx
index 2023f8c691ee..45b5e05d03e4 100644
--- a/sw/inc/fldbas.hxx
+++ b/sw/inc/fldbas.hxx
@@ -236,10 +236,10 @@ class SW_DLLPUBLIC SwFieldType : public SwModify
sal_uInt16 m_nWhich;
- friend void _FinitUI(); ///< In order to delete pointer!
+ friend void FinitUI(); ///< In order to delete pointer!
static std::vector<OUString>* s_pFieldNames;
- static void _GetFieldName(); ///< Sets up FieldNames; fldmgr.cxx!
+ static void GetFieldName_(); ///< Sets up FieldNames; fldmgr.cxx!
protected:
/// Single argument ctors shall be explicit.
diff --git a/sw/inc/fmtclds.hxx b/sw/inc/fmtclds.hxx
index ab3532b901ed..2b7fb7f484b9 100644
--- a/sw/inc/fmtclds.hxx
+++ b/sw/inc/fmtclds.hxx
@@ -151,7 +151,7 @@ public:
void SetOrtho( bool bNew, sal_uInt16 nGutterWidth, sal_uInt16 nAct );
/// For the reader
- void _SetOrtho( bool bNew ) { m_bOrtho = bNew; }
+ void SetOrtho_( bool bNew ) { m_bOrtho = bNew; }
/** Calculates current width of column nCol.
The ratio of desired width of this column to return value is
diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx
index 1db9bbb6f749..65d658889fac 100644
--- a/sw/inc/fmtfld.hxx
+++ b/sw/inc/fmtfld.hxx
@@ -41,7 +41,7 @@ class SW_DLLPUBLIC SwFormatField
, public SwModify
, public SfxBroadcaster
{
- friend void _InitCore();
+ friend void InitCore();
SwFormatField( sal_uInt16 nWhich ); // for default-Attibute
css::uno::WeakReference<css::text::XTextField> m_wXTextField;
diff --git a/sw/inc/htmltbl.hxx b/sw/inc/htmltbl.hxx
index 1bc85cb52a16..fa444f9b3dcb 100644
--- a/sw/inc/htmltbl.hxx
+++ b/sw/inc/htmltbl.hxx
@@ -244,7 +244,7 @@ class SwHTMLTableLayout
void ClearPass1Info() { m_nMin = m_nMax = 0; }
- void _Resize( sal_uInt16 nAbsAvail, bool bRecalc=false );
+ void Resize_( sal_uInt16 nAbsAvail, bool bRecalc=false );
DECL_LINK_TYPED( DelayedResize_Impl, Timer*, void );
diff --git a/sw/inc/init.hxx b/sw/inc/init.hxx
index 8730c9de1716..dcbbe5cffd9c 100644
--- a/sw/inc/init.hxx
+++ b/sw/inc/init.hxx
@@ -26,8 +26,8 @@
class SwViewShell;
-void _InitCore(); // bastyp/init.cxx
-void _FinitCore();
+void InitCore(); // bastyp/init.cxx
+void FinitCore();
namespace sw {
@@ -53,13 +53,13 @@ private:
}
// layout/newfrm.cxx
-void _FrameInit();
-void _FrameFinit();
+void FrameInit();
+void FrameFinit();
void SetShell( SwViewShell *pSh );
// text/txtfrm.cxx
-void _TextInit();
-void _TextFinit();
+void TextInit_();
+void TextFinit();
#endif
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx
index f2b2d12ccdd4..39078e7f627f 100644
--- a/sw/inc/ndarr.hxx
+++ b/sw/inc/ndarr.hxx
@@ -122,9 +122,9 @@ class SW_DLLPUBLIC SwNodes
void UpdateOutlineIdx( const SwNode& ); ///< Update all OutlineNodes starting from Node.
- void _CopyNodes( const SwNodeRange&, const SwNodeIndex&,
+ void CopyNodes( const SwNodeRange&, const SwNodeIndex&,
bool bNewFrames = true, bool bTableInsDummyNode = false ) const;
- void _DelDummyNodes( const SwNodeRange& rRg );
+ void DelDummyNodes( const SwNodeRange& rRg );
SwNodes(SwNodes const&) = delete;
SwNodes& operator=(SwNodes const&) = delete;
@@ -170,13 +170,13 @@ public:
static sal_uInt16 GetSectionLevel(const SwNodeIndex &rIndex);
void Delete(const SwNodeIndex &rPos, sal_uLong nNodes = 1);
- bool _MoveNodes( const SwNodeRange&, SwNodes& rNodes, const SwNodeIndex&,
+ bool MoveNodes( const SwNodeRange&, SwNodes& rNodes, const SwNodeIndex&,
bool bNewFrames = true );
void MoveRange( SwPaM&, SwPosition&, SwNodes& rNodes );
- void _Copy( const SwNodeRange& rRg, const SwNodeIndex& rInsPos,
+ void Copy_( const SwNodeRange& rRg, const SwNodeIndex& rInsPos,
bool bNewFrames = true ) const
- { _CopyNodes( rRg, rInsPos, bNewFrames ); }
+ { CopyNodes( rRg, rInsPos, bNewFrames ); }
void SectionUp( SwNodeRange *);
void SectionDown( SwNodeRange *pRange, SwStartNodeType = SwNormalStartNode );
diff --git a/sw/inc/ndgrf.hxx b/sw/inc/ndgrf.hxx
index 776cdf7aedcf..8034c09bb674 100644
--- a/sw/inc/ndgrf.hxx
+++ b/sw/inc/ndgrf.hxx
@@ -93,7 +93,7 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTextNode
new created stream of the embedded graphic, which has to be destroyed
after its usage. Could be NULL, if the stream isn't found.
*/
- SvStream* _GetStreamForEmbedGrf(
+ SvStream* GetStreamForEmbedGrf(
const css::uno::Reference< css::embed::XStorage >& _refPics,
const OUString& rStreamName ) const;
@@ -108,7 +108,7 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTextNode
@return XStorage
reference to substorage or the root storage
*/
- css::uno::Reference< css::embed::XStorage > _GetDocSubstorageOrRoot(
+ css::uno::Reference< css::embed::XStorage > GetDocSubstorageOrRoot(
const OUString& aStgName ) const;
/// allow reaction on change of content of GraphicObject, so always call
diff --git a/sw/inc/ndnotxt.hxx b/sw/inc/ndnotxt.hxx
index 97cdfb53d2a0..7affc6eb1412 100644
--- a/sw/inc/ndnotxt.hxx
+++ b/sw/inc/ndnotxt.hxx
@@ -68,7 +68,7 @@ public:
void SetContour( const tools::PolyPolygon *pPoly,
bool bAutomatic = false );
const tools::PolyPolygon *HasContour() const;
- bool _HasContour() const { return pContour!=nullptr; };
+ bool HasContour_() const { return pContour!=nullptr; };
void GetContour( tools::PolyPolygon &rPoly ) const;
void CreateContour();
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx
index 94c8003b87b6..14d189e39d42 100644
--- a/sw/inc/ndtxt.hxx
+++ b/sw/inc/ndtxt.hxx
@@ -123,7 +123,7 @@ class SW_DLLPUBLIC SwTextNode: public SwContentNode, public ::sfx2::Metadatable
/// Copies the attributes at nStart to pDest.
SAL_DLLPRIVATE void CopyAttr( SwTextNode *pDest, const sal_Int32 nStart, const sal_Int32 nOldPos);
- SAL_DLLPRIVATE SwTextNode* _MakeNewTextNode( const SwNodeIndex&, bool bNext = true,
+ SAL_DLLPRIVATE SwTextNode* MakeNewTextNode( const SwNodeIndex&, bool bNext = true,
bool bChgFollow = true );
SAL_DLLPRIVATE void CutImpl(
@@ -150,7 +150,7 @@ class SW_DLLPUBLIC SwTextNode: public SwContentNode, public ::sfx2::Metadatable
SAL_DLLPRIVATE void CalcHiddenCharFlags() const;
- SAL_DLLPRIVATE SwNumRule * _GetNumRule(bool bInParent = true) const;
+ SAL_DLLPRIVATE SwNumRule * GetNumRule_(bool bInParent = true) const;
SAL_DLLPRIVATE void SetLanguageAndFont( const SwPaM &rPaM,
LanguageType nLang, sal_uInt16 nLangWhichId,
@@ -410,7 +410,7 @@ public:
inline SwTextFormatColl *GetTextColl() const;
virtual SwFormatColl *ChgFormatColl( SwFormatColl* ) override;
- void _ChgTextCollUpdateNum( const SwTextFormatColl* pOld,
+ void ChgTextCollUpdateNum( const SwTextFormatColl* pOld,
const SwTextFormatColl* pNew );
/** Copy collection with all auto formats to dest-node.
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx
index 1d7f8b7d1e60..c9c012ab3104 100644
--- a/sw/inc/numrule.hxx
+++ b/sw/inc/numrule.hxx
@@ -108,7 +108,7 @@ public:
};
private:
- friend void _FinitCore();
+ friend void FinitCore();
static SwNumFormat* maBaseFormats [ RULE_END ][ MAXLEVEL ];
static const sal_uInt16 maDefNumIndents[ MAXLEVEL ];
diff --git a/sw/inc/pagepreviewlayout.hxx b/sw/inc/pagepreviewlayout.hxx
index 30601771276b..46ca66d1759f 100644
--- a/sw/inc/pagepreviewlayout.hxx
+++ b/sw/inc/pagepreviewlayout.hxx
@@ -106,25 +106,25 @@ private:
@author OD
*/
- void _Clear();
+ void Clear_();
/** helper method to clear preview page layout sizes
@author OD
*/
- void _ClearPreviewLayoutSizes();
+ void ClearPreviewLayoutSizes();
/** helper method to clear data in preview page vectors
@author OD
*/
- void _ClearPreviewPageData();
+ void ClearPreviewPageData();
/** calculate page preview layout sizes
@author OD
*/
- void _CalcPreviewLayoutSizes();
+ void CalcPreviewLayoutSizes();
/** apply new zoom at given view shell
@@ -133,7 +133,7 @@ private:
@param _aNewZoom
input parameter - new zoom percentage
*/
- void _ApplyNewZoomAtViewShell( sal_uInt8 _aNewZoom );
+ void ApplyNewZoomAtViewShell( sal_uInt8 _aNewZoom );
/** calculate additional paint offset
@@ -149,7 +149,7 @@ private:
@author OD
*/
- void _CalcAdditionalPaintOffset();
+ void CalcAdditionalPaintOffset();
/** calculate painted preview document rectangle
@@ -159,11 +159,11 @@ private:
preconditions:
(1) paint offset of document preview is calculated.
(2) size of document preview is calculated.
- (3) additional paint offset is calculated - see <_CalcAdditionalPaintOffset>.
+ (3) additional paint offset is calculated - see <CalcAdditionalPaintOffset>.
@author OD
*/
- void _CalcDocPreviewPaintRect();
+ void CalcDocPreviewPaintRect();
/** determines preview data for a given page and a given preview offset
@@ -183,7 +183,7 @@ private:
@return boolean, indicating, if calculation was successful.
*/
- bool _CalcPreviewDataForPage( const SwPageFrame& _rPage,
+ bool CalcPreviewDataForPage( const SwPageFrame& _rPage,
const Point& _rPreviewOffset,
PreviewPage* _opPreviewPage );
@@ -196,7 +196,7 @@ private:
@author OD
*/
- void _CalcPreviewPages();
+ void CalcPreviewPages();
/** get preview page by physical page number
@@ -209,13 +209,13 @@ private:
@return pointer to preview page of current preview pages. If page doesn't
belongs to current preview pages, <0> is returned.
*/
- const PreviewPage* _GetPreviewPageByPageNum( const sal_uInt16 _nPageNum ) const;
+ const PreviewPage* GetPreviewPageByPageNum( const sal_uInt16 _nPageNum ) const;
/** paint selection mark at page
@author OD
*/
- void _PaintSelectMarkAtPage(vcl::RenderContext& rRenderContext, const PreviewPage* _aSelectedPreviewPage) const;
+ void PaintSelectMarkAtPage(vcl::RenderContext& rRenderContext, const PreviewPage* _aSelectedPreviewPage) const;
public:
/** constructor of <SwPagePreviewLayout>
@@ -244,7 +244,7 @@ public:
*/
inline ~SwPagePreviewLayout()
{
- _ClearPreviewPageData();
+ ClearPreviewPageData();
}
/** init page preview layout
diff --git a/sw/inc/pam.hxx b/sw/inc/pam.hxx
index 4e1d9f76d5ee..2b23457eb442 100644
--- a/sw/inc/pam.hxx
+++ b/sw/inc/pam.hxx
@@ -214,7 +214,7 @@ public:
sal_Int32 &nStart, sal_Int32 &nEnd, sal_Int32 nTextLen, SwNode* pNode, SwPaM* pPam);
inline bool IsInFrontOfLabel() const { return m_bIsInFrontOfLabel; }
- inline void _SetInFrontOfLabel( bool bNew ) { m_bIsInFrontOfLabel = bNew; }
+ inline void SetInFrontOfLabel_( bool bNew ) { m_bIsInFrontOfLabel = bNew; }
/// Unless this is called, the getter method of Mark will return Point.
virtual void SetMark();
diff --git a/sw/inc/printdata.hxx b/sw/inc/printdata.hxx
index f51bf9fa4edb..4f401fb9c7ed 100644
--- a/sw/inc/printdata.hxx
+++ b/sw/inc/printdata.hxx
@@ -32,7 +32,7 @@
class SwDoc;
class SwDocShell;
-class _SetGetExpFields;
+class SetGetExpFields;
class SwViewOption;
class OutputDevice;
class SwViewOptionAdjust_Impl;
@@ -242,8 +242,8 @@ class SwRenderData
public:
// PostIt relevant data
- /// an array of "_SetGetExpField *" sorted by page and line numbers
- std::unique_ptr<_SetGetExpFields> m_pPostItFields;
+ /// an array of "SetGetExpField *" sorted by page and line numbers
+ std::unique_ptr<SetGetExpFields> m_pPostItFields;
/// this contains a SwDoc with the post-it content
std::unique_ptr<SwViewShell> m_pPostItShell;
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index d3b7f200733b..4f8ba19b6830 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -358,8 +358,8 @@ class SW_DLLPUBLIC Writer
SwAsciiOptions aAscOpts;
OUString sBaseURL;
- void _AddFontItem( SfxItemPool& rPool, const SvxFontItem& rFont );
- void _AddFontItems( SfxItemPool& rPool, sal_uInt16 nWhichId );
+ void AddFontItem( SfxItemPool& rPool, const SvxFontItem& rFont );
+ void AddFontItems_( SfxItemPool& rPool, sal_uInt16 nWhichId );
::std::unique_ptr<Writer_Impl> m_pImpl;
diff --git a/sw/inc/shellres.hxx b/sw/inc/shellres.hxx
index 15661f64931c..80b9c61cdf14 100644
--- a/sw/inc/shellres.hxx
+++ b/sw/inc/shellres.hxx
@@ -83,7 +83,7 @@ struct SW_DLLPUBLIC ShellResource : public Resource
~ShellResource();
private:
- void _GetAutoFormatNameLst() const;
+ void GetAutoFormatNameLst_() const;
mutable std::vector<OUString> *pAutoFormatNameLst;
OUString sPageDescFirstName;
OUString sPageDescFollowName;
@@ -93,7 +93,7 @@ private:
inline const std::vector<OUString>& ShellResource::GetAutoFormatNameLst() const
{
if( !pAutoFormatNameLst )
- _GetAutoFormatNameLst();
+ GetAutoFormatNameLst_();
return *pAutoFormatNameLst;
}
diff --git a/sw/inc/swatrset.hxx b/sw/inc/swatrset.hxx
index 5d6763ed98b0..af96f2d2ba8b 100644
--- a/sw/inc/swatrset.hxx
+++ b/sw/inc/swatrset.hxx
@@ -145,8 +145,8 @@ private:
void createAndAddSecondaryPools();
void removeAndDeleteSecondaryPools();
- friend void _InitCore(); // For creating/deleting of version maps.
- friend void _FinitCore();
+ friend void InitCore(); // For creating/deleting of version maps.
+ friend void FinitCore();
static sal_uInt16* pVersionMap1;
static sal_uInt16* pVersionMap2;
static sal_uInt16* pVersionMap3;
diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx
index 742821dbdd4a..a7d07829dc62 100644
--- a/sw/inc/swcrsr.hxx
+++ b/sw/inc/swcrsr.hxx
@@ -25,7 +25,7 @@
#include <tblsel.hxx>
#include <cshtyp.hxx>
-struct _SwCursor_SavePos;
+struct SwCursor_SavePos;
namespace com { namespace sun { namespace star { namespace util {
struct SearchOptions2;
@@ -69,7 +69,7 @@ class SW_DLLPUBLIC SwCursor : public SwPaM
{
friend class SwCursorSaveState;
- _SwCursor_SavePos* m_pSavePos;
+ SwCursor_SavePos* m_pSavePos;
long m_nRowSpanOffset; // required for travelling in tabs with rowspans
sal_uInt8 m_nCursorBidiLevel; // bidi level of the cursor
bool m_bColumnSelection; // true: cursor is aprt of a column selection
@@ -81,11 +81,11 @@ class SW_DLLPUBLIC SwCursor : public SwPaM
SwCursor(SwCursor const& rPaM) = delete;
protected:
- _SwCursor_SavePos* CreateNewSavePos() const;
+ SwCursor_SavePos* CreateNewSavePos() const;
void SaveState();
void RestoreState();
- const _SwCursor_SavePos* GetSavePos() const { return m_pSavePos; }
+ const SwCursor_SavePos* GetSavePos() const { return m_pSavePos; }
virtual const SwContentFrame* DoSetBidiLevelLeftRight(
bool & io_rbLeft, bool bVisualAllowed, bool bInsertCursor);
@@ -240,20 +240,20 @@ public:
};
// internal, used by SwCursor::SaveState() etc.
-struct _SwCursor_SavePos
+struct SwCursor_SavePos
{
sal_uLong nNode;
sal_Int32 nContent;
- _SwCursor_SavePos* pNext;
+ SwCursor_SavePos* pNext;
- _SwCursor_SavePos( const SwCursor& rCursor )
+ SwCursor_SavePos( const SwCursor& rCursor )
: nNode( rCursor.GetPoint()->nNode.GetIndex() ),
nContent( rCursor.GetPoint()->nContent.GetIndex() ),
pNext( nullptr )
{}
- virtual ~_SwCursor_SavePos() {}
+ virtual ~SwCursor_SavePos() {}
- DECL_FIXEDMEMPOOL_NEWDEL( _SwCursor_SavePos )
+ DECL_FIXEDMEMPOOL_NEWDEL( SwCursor_SavePos )
};
class SwTableCursor : public virtual SwCursor
diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx
index c2f245df71fa..99b6bfd4fd06 100644
--- a/sw/inc/swrect.hxx
+++ b/sw/inc/swrect.hxx
@@ -76,7 +76,7 @@ public:
SwRect &Intersection( const SwRect& rRect );
// Same as Intersection, only assume that Rects are overlapping!
- SwRect &_Intersection( const SwRect &rRect );
+ SwRect &Intersection_( const SwRect &rRect );
bool IsInside( const Point& rPOINT ) const;
bool IsNear(const Point& rPoint, long nTolerance ) const;
@@ -101,18 +101,18 @@ public:
friend SvStream& WriteSwRect( SvStream &rStream, const SwRect &rRect );
- void _Top( const long nTop );
- void _Bottom( const long nBottom );
- void _Left( const long nLeft );
- void _Right( const long nRight );
- void _Width( const long nNew );
- void _Height( const long nNew );
- long _Top() const;
- long _Bottom() const;
- long _Left() const;
- long _Right() const;
- long _Width() const;
- long _Height() const;
+ void Top_( const long nTop );
+ void Bottom_( const long nBottom );
+ void Left_( const long nLeft );
+ void Rigth_( const long nRight );
+ void Width_( const long nNew );
+ void Height_( const long nNew );
+ long Top_() const;
+ long Bottom_() const;
+ long Left_() const;
+ long Rigth_() const;
+ long Width_() const;
+ long Height_() const;
void SubTop( const long nSub );
void AddBottom( const long nAdd );
void SubLeft( const long nSub );
diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx
index 143086233ffe..37d488cc5b55 100644
--- a/sw/inc/swtable.hxx
+++ b/sw/inc/swtable.hxx
@@ -154,9 +154,9 @@ private:
bool NewSplitRow( SwDoc*, const SwSelBoxes&, sal_uInt16, bool );
SwBoxSelection* CollectBoxSelection( const SwPaM& rPam ) const;
void InsertSpannedRow( SwDoc* pDoc, sal_uInt16 nIdx, sal_uInt16 nCnt );
- bool _InsertRow( SwDoc*, const SwSelBoxes&, sal_uInt16 nCnt, bool bBehind );
+ bool InsertRow_( SwDoc*, const SwSelBoxes&, sal_uInt16 nCnt, bool bBehind );
bool NewInsertCol( SwDoc*, const SwSelBoxes& rBoxes, sal_uInt16 nCnt, bool );
- void _FindSuperfluousRows( SwSelBoxes& rBoxes, SwTableLine*, SwTableLine* );
+ void FindSuperfluousRows_( SwSelBoxes& rBoxes, SwTableLine*, SwTableLine* );
void AdjustWidths( const long nOld, const long nNew );
void NewSetTabCols( Parm &rP, const SwTabCols &rNew, const SwTabCols &rOld,
const SwTableBox *pStart, bool bCurRowOnly );
@@ -183,7 +183,7 @@ public:
void SetTableStyleName(const OUString& rName) { maTableStyleName = rName; }
sal_uInt16 GetRowsToRepeat() const { return std::min( (sal_uInt16)GetTabLines().size(), m_nRowsToRepeat ); }
- sal_uInt16 _GetRowsToRepeat() const { return m_nRowsToRepeat; }
+ sal_uInt16 GetRowsToRepeat_() const { return m_nRowsToRepeat; }
void SetRowsToRepeat( sal_uInt16 nNumOfRows ) { m_nRowsToRepeat = nNumOfRows; }
bool IsHeadline( const SwTableLine& rLine ) const;
@@ -252,7 +252,7 @@ public:
bool SplitCol( SwDoc* pDoc, const SwSelBoxes& rBoxes, sal_uInt16 nCnt=1 );
void FindSuperfluousRows( SwSelBoxes& rBoxes )
- { _FindSuperfluousRows( rBoxes, nullptr, nullptr ); }
+ { FindSuperfluousRows_( rBoxes, nullptr, nullptr ); }
void CheckRowSpan( SwTableLine* &rpLine, bool bUp ) const;
SwTableSortBoxes& GetTabSortBoxes() { return m_TabSortContentBoxes; }
@@ -262,7 +262,7 @@ public:
// #i80314#
// add 3rd parameter in order to control validation check on <rStr>
- static sal_uInt16 _GetBoxNum( OUString& rStr,
+ static sal_uInt16 GetBoxNum( OUString& rStr,
bool bFirst = false,
const bool bPerformValidCheck = false );
@@ -270,7 +270,7 @@ public:
// #i80314#
// add 2nd parameter in order to control validation check in called method
- // <_GetBoxNum(..)>
+ // <GetBoxNum(..)>
const SwTableBox* GetTableBox( const OUString& rName,
const bool bPerformValidCheck = false ) const;
// Copy selected boxes to another document.
diff --git a/sw/inc/tblafmt.hxx b/sw/inc/tblafmt.hxx
index 016fdfc041ab..f98067a19a30 100644
--- a/sw/inc/tblafmt.hxx
+++ b/sw/inc/tblafmt.hxx
@@ -227,7 +227,7 @@ properties are stored per-table, and are lossless.
*/
class SW_DLLPUBLIC SwTableAutoFormat
{
- friend void _FinitCore(); // To destroy default pointer.
+ friend void FinitCore(); // To destroy default pointer.
static SwBoxAutoFormat* pDfltBoxAutoFormat;
OUString m_aName;
diff --git a/sw/inc/tblsel.hxx b/sw/inc/tblsel.hxx
index 17ef7f42d79a..4e50bb39e674 100644
--- a/sw/inc/tblsel.hxx
+++ b/sw/inc/tblsel.hxx
@@ -149,34 +149,34 @@ void MakeSelUnions( SwSelUnions&, const SwLayoutFrame *pStart,
// These classes copy the current table selections (rBoxes) into a
// separate structure while keeping the table structure.
-class _FndBox;
-class _FndLine;
+class FndBox_;
+class FndLine_;
-typedef std::vector<std::unique_ptr<_FndBox>> FndBoxes_t;
-typedef std::vector<std::unique_ptr<_FndLine>> FndLines_t;
+typedef std::vector<std::unique_ptr<FndBox_>> FndBoxes_t;
+typedef std::vector<std::unique_ptr<FndLine_>> FndLines_t;
-class _FndBox
+class FndBox_
{
SwTableBox* pBox;
FndLines_t m_Lines;
- _FndLine* pUpper;
+ FndLine_* pUpper;
SwTableLine *pLineBefore; // For deleting/restoring the layout.
SwTableLine *pLineBehind;
- _FndBox(_FndBox const&) = delete;
- _FndBox& operator=(_FndBox const&) = delete;
+ FndBox_(FndBox_ const&) = delete;
+ FndBox_& operator=(FndBox_ const&) = delete;
public:
- _FndBox( SwTableBox* pB, _FndLine* pFL ) :
+ FndBox_( SwTableBox* pB, FndLine_* pFL ) :
pBox(pB), pUpper(pFL), pLineBefore( nullptr ), pLineBehind( nullptr ) {}
const FndLines_t& GetLines() const { return m_Lines; }
FndLines_t& GetLines() { return m_Lines; }
const SwTableBox* GetBox() const { return pBox; }
SwTableBox* GetBox() { return pBox; }
- const _FndLine* GetUpper() const { return pUpper; }
- _FndLine* GetUpper() { return pUpper; }
+ const FndLine_* GetUpper() const { return pUpper; }
+ FndLine_* GetUpper() { return pUpper; }
void SetTableLines( const SwSelBoxes &rBoxes, const SwTable &rTable );
void SetTableLines( const SwTable &rTable );
@@ -190,42 +190,42 @@ public:
void ClearLineBehind() { pLineBehind = nullptr; }
};
-class _FndLine
+class FndLine_
{
SwTableLine* pLine;
FndBoxes_t m_Boxes;
- _FndBox* pUpper;
+ FndBox_* pUpper;
- _FndLine(_FndLine const&) = delete;
- _FndLine& operator=(_FndLine const&) = delete;
+ FndLine_(FndLine_ const&) = delete;
+ FndLine_& operator=(FndLine_ const&) = delete;
public:
- _FndLine(SwTableLine* pL, _FndBox* pFB=nullptr) : pLine(pL), pUpper(pFB) {}
+ FndLine_(SwTableLine* pL, FndBox_* pFB=nullptr) : pLine(pL), pUpper(pFB) {}
const FndBoxes_t& GetBoxes() const { return m_Boxes; }
FndBoxes_t& GetBoxes() { return m_Boxes; }
const SwTableLine* GetLine() const { return pLine; }
SwTableLine* GetLine() { return pLine; }
- const _FndBox* GetUpper() const { return pUpper; }
- _FndBox* GetUpper() { return pUpper; }
+ const FndBox_* GetUpper() const { return pUpper; }
+ FndBox_* GetUpper() { return pUpper; }
- void SetUpper( _FndBox* pUp ) { pUpper = pUp; }
+ void SetUpper( FndBox_* pUp ) { pUpper = pUp; }
};
-struct _FndPara
+struct FndPara
{
const SwSelBoxes& rBoxes;
- _FndLine* pFndLine;
- _FndBox* pFndBox;
+ FndLine_* pFndLine;
+ FndBox_* pFndBox;
- _FndPara( const SwSelBoxes& rBxs, _FndBox* pFB )
+ FndPara( const SwSelBoxes& rBxs, FndBox_* pFB )
: rBoxes(rBxs), pFndLine(nullptr), pFndBox(pFB) {}
- _FndPara( const _FndPara& rPara, _FndBox* pFB )
+ FndPara( const FndPara& rPara, FndBox_* pFB )
: rBoxes(rPara.rBoxes), pFndLine(rPara.pFndLine), pFndBox(pFB) {}
- _FndPara( const _FndPara& rPara, _FndLine* pFL )
+ FndPara( const FndPara& rPara, FndLine_* pFL )
: rBoxes(rPara.rBoxes), pFndLine(pFL), pFndBox(rPara.pFndBox) {}
};
-SW_DLLPUBLIC void ForEach_FndLineCopyCol(SwTableLines& rLines, _FndPara* pFndPara );
+SW_DLLPUBLIC void ForEach_FndLineCopyCol(SwTableLines& rLines, FndPara* pFndPara );
#endif // INCLUDED_SW_INC_TBLSEL_HXX
diff --git a/sw/inc/textboxhelper.hxx b/sw/inc/textboxhelper.hxx
index 012869f533fe..cce179607181 100644
--- a/sw/inc/textboxhelper.hxx
+++ b/sw/inc/textboxhelper.hxx
@@ -29,7 +29,7 @@ class SwFrameFormats;
class SwFormatContent;
class SwDoc;
class Rectangle;
-class _ZSortFly;
+class ZSortFly;
class SwNode;
/**
@@ -95,7 +95,7 @@ public:
/// Reset the shape -> textbox link on the shape, and save it to the map, so it can be restored later.
static void resetLink(SwFrameFormat* pShape, std::map<const SwFrameFormat*, SwFormatContent>& rOldContent);
/// Undo the effect of saveLinks() + individual resetLink() calls.
- static void restoreLinks(std::set<_ZSortFly>& rOld, std::vector<SwFrameFormat*>& rNew, SavedLink& rSavedLinks, SavedContent& rResetContent);
+ static void restoreLinks(std::set<ZSortFly>& rOld, std::vector<SwFrameFormat*>& rNew, SavedLink& rSavedLinks, SavedContent& rResetContent);
};
#endif // INCLUDED_SW_INC_TEXTBOXHELPER_HXX
diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx
index a025b7d699df..e9f0765573e2 100644
--- a/sw/inc/tox.hxx
+++ b/sw/inc/tox.hxx
@@ -53,7 +53,7 @@ class SW_DLLPUBLIC SwTOXMark
: public SfxPoolItem
, public SwModify
{
- friend void _InitCore();
+ friend void InitCore();
friend class SwTextTOXMark;
OUString m_aAltText; // Text of caption is different.
@@ -76,7 +76,7 @@ class SW_DLLPUBLIC SwTOXMark
css::uno::WeakReference<css::text::XDocumentIndexMark> m_wXDocumentIndexMark;
- SwTOXMark(); // to create the default attribute in _InitCore
+ SwTOXMark(); // to create the default attribute in InitCore
protected:
// SwClient
diff --git a/sw/inc/txtflcnt.hxx b/sw/inc/txtflcnt.hxx
index b4530d630124..e7177fda7d1f 100644
--- a/sw/inc/txtflcnt.hxx
+++ b/sw/inc/txtflcnt.hxx
@@ -29,7 +29,7 @@ class SwDoc;
// Attribute for line-bound frames (without end index).
class SwTextFlyCnt : public SwTextAttr
{
- SwFlyInContentFrame *_GetFlyFrame( const SwFrame *pCurrFrame );
+ SwFlyInContentFrame *GetFlyFrame_( const SwFrame *pCurrFrame );
public:
SwTextFlyCnt( SwFormatFlyCnt& rAttr, sal_Int32 nStart );
@@ -45,12 +45,12 @@ public:
inline SwFlyInContentFrame *SwTextFlyCnt::GetFlyFrame( const SwFrame *pCurrFrame )
{
- return _GetFlyFrame( pCurrFrame );
+ return GetFlyFrame_( pCurrFrame );
}
inline const SwFlyInContentFrame *SwTextFlyCnt::GetFlyFrame( const SwFrame *pCurrFrame ) const
{
- return (const_cast<SwTextFlyCnt*>(this))->_GetFlyFrame( pCurrFrame );
+ return (const_cast<SwTextFlyCnt*>(this))->GetFlyFrame_( pCurrFrame );
}
#endif
diff --git a/sw/inc/unodraw.hxx b/sw/inc/unodraw.hxx
index fc79a53ea05e..5acb95c351d7 100644
--- a/sw/inc/unodraw.hxx
+++ b/sw/inc/unodraw.hxx
@@ -158,20 +158,20 @@ class SwXShape : public SwXShapeBaseClass,
@author OD
*/
- SdrObject* _GetTopGroupObj( SvxShape* _pSvxShape = nullptr );
+ SdrObject* GetTopGroupObj( SvxShape* _pSvxShape = nullptr );
/** method to determine position according to the positioning attributes
@author OD
*/
- css::awt::Point _GetAttrPosition();
+ css::awt::Point GetAttrPosition();
/** method to convert the position (translation) of the drawing object to
the layout direction horizontal left-to-right.
@author OD
*/
- css::awt::Point _ConvertPositionToHoriL2R(
+ css::awt::Point ConvertPositionToHoriL2R(
const css::awt::Point& rObjPos,
const css::awt::Size& rObjSize );
@@ -180,7 +180,7 @@ class SwXShape : public SwXShapeBaseClass,
@author OD
*/
- css::drawing::HomogenMatrix3 _ConvertTransformationToLayoutDir(
+ css::drawing::HomogenMatrix3 ConvertTransformationToLayoutDir(
const css::drawing::HomogenMatrix3& rMatrixInHoriL2R );
/** method to adjust the positioning properties
@@ -192,14 +192,14 @@ class SwXShape : public SwXShapeBaseClass,
has to be given in the layout direction the shape is in and relative to
its position alignment areas.
*/
- void _AdjustPositionProperties(const css::awt::Point& rPosition);
+ void AdjustPositionProperties(const css::awt::Point& rPosition);
/** method to convert start or end position of the drawing object to the
Writer specific position, which is the attribute position in layout direction
@author OD
*/
- css::awt::Point _ConvertStartOrEndPosToLayoutDir(
+ css::awt::Point ConvertStartOrEndPosToLayoutDir(
const css::awt::Point& aStartOrEndPos );
/** method to convert PolyPolygonBezier of the drawing object to the
@@ -207,7 +207,7 @@ class SwXShape : public SwXShapeBaseClass,
@author OD
*/
- css::drawing::PolyPolygonBezierCoords _ConvertPolyPolygonBezierToLayoutDir(
+ css::drawing::PolyPolygonBezierCoords ConvertPolyPolygonBezierToLayoutDir(
const css::drawing::PolyPolygonBezierCoords& aPath );
/** method to get property from aggregation object
diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx
index ae253f977ac1..5fcf51b90f29 100644
--- a/sw/inc/view.hxx
+++ b/sw/inc/view.hxx
@@ -292,7 +292,7 @@ class SW_DLLPUBLIC SwView: public SfxViewShell
SAL_DLLPRIVATE long PhyPageUp();
SAL_DLLPRIVATE long PhyPageDown();
- SAL_DLLPRIVATE void _CreateScrollbar( bool bHori );
+ SAL_DLLPRIVATE void CreateScrollbar( bool bHori );
DECL_DLLPRIVATE_LINK_TYPED( ScrollHdl, ScrollBar*, void );
DECL_DLLPRIVATE_LINK_TYPED( EndScrollHdl, ScrollBar*, void );
SAL_DLLPRIVATE bool UpdateScrollbars();
@@ -319,13 +319,13 @@ class SW_DLLPUBLIC SwView: public SfxViewShell
// for readonly switching
SAL_DLLPRIVATE virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
- SAL_DLLPRIVATE void _CheckReadonlyState();
- SAL_DLLPRIVATE void _CheckReadonlySelection();
+ SAL_DLLPRIVATE void CheckReadonlyState();
+ SAL_DLLPRIVATE void CheckReadonlySelection();
// method for rotating PageDesc
SAL_DLLPRIVATE void SwapPageMargin(const SwPageDesc&, SvxLRSpaceItem& rLR);
- SAL_DLLPRIVATE void _SetZoom( const Size &rEditSz,
+ SAL_DLLPRIVATE void SetZoom_( const Size &rEditSz,
SvxZoomType eZoomType,
short nFactor = 100,
bool bViewOnly = false);
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index 3df2cd89ee93..498e9633e5a6 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -170,7 +170,7 @@ class SW_DLLPUBLIC SwViewShell : public sw::Ring<SwViewShell>
SAL_DLLPRIVATE void PaintDesktop(vcl::RenderContext& rRenderContext, const SwRect&); // Collect values for painting of desktop
// and calling.
// PaintDesktop split. This pars is also used by PreviewPage.
- SAL_DLLPRIVATE void _PaintDesktop(vcl::RenderContext& rRenderContext, const SwRegionRects &rRegion);
+ SAL_DLLPRIVATE void PaintDesktop_(vcl::RenderContext& rRenderContext, const SwRegionRects &rRegion);
SAL_DLLPRIVATE bool CheckInvalidForPaint( const SwRect & ); // Direct Paint or rather
// trigger an action.
diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx
index 701e9cd486ed..dcf1237e511a 100644
--- a/sw/inc/viscrs.hxx
+++ b/sw/inc/viscrs.hxx
@@ -34,8 +34,8 @@ class SwTextInputField;
class SwVisibleCursor
{
- friend void _InitCore();
- friend void _FinitCore();
+ friend void InitCore();
+ friend void FinitCore();
bool m_bIsVisible;
bool m_bIsDragCursor;
@@ -46,7 +46,7 @@ class SwVisibleCursor
/// For LibreOfficeKit only - remember what page we were at the last time.
sal_uInt16 m_nPageLastTime;
- void _SetPosAndShow();
+ void SetPosAndShow();
public:
SwVisibleCursor( const SwCursorShell * pCShell );
@@ -66,8 +66,8 @@ namespace sw { namespace overlay { class OverlayRangesOutline; }}
class SwSelPaintRects : public SwRects
{
- friend void _InitCore();
- friend void _FinitCore();
+ friend void InitCore();
+ friend void FinitCore();
static long s_nPixPtX, s_nPixPtY;
static MapMode *s_pMapMode;