summaryrefslogtreecommitdiff
path: root/sw/source/core/text/widorp.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-02-08 09:07:27 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-02-08 09:58:00 +0100
commit5dd669ff658c37171dedd5cfb012065741b3f242 (patch)
treecfe095dc799e3f056fa21842371d28c766a64b94 /sw/source/core/text/widorp.hxx
parent6b00d0576a310796590631d14c54d7d5ea6814ac (diff)
sw: prefix members of SwArrowPortion, SwTextLine, SwTextPainter and ...
... WidowsAndOrphans See tdf#94879 for motivation. Change-Id: I1999c83e5afe100b95481ac470f4d854b5f113f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110547 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/source/core/text/widorp.hxx')
-rw-r--r--sw/source/core/text/widorp.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/text/widorp.hxx b/sw/source/core/text/widorp.hxx
index 9c0e37fc2720..dd55dba216bb 100644
--- a/sw/source/core/text/widorp.hxx
+++ b/sw/source/core/text/widorp.hxx
@@ -52,15 +52,15 @@ public:
class WidowsAndOrphans : public SwTextFrameBreak
{
private:
- sal_uInt16 nWidLines, nOrphLines;
+ sal_uInt16 m_nWidLines, m_nOrphLines;
public:
WidowsAndOrphans( SwTextFrame *pFrame, const SwTwips nRst = 0,
bool bCheckKeep = true );
bool FindWidows( SwTextFrame *pFrame, SwTextMargin &rLine );
sal_uInt16 GetOrphansLines() const
- { return nOrphLines; }
- void ClrOrphLines(){ nOrphLines = 0; }
+ { return m_nOrphLines; }
+ void ClrOrphLines(){ m_nOrphLines = 0; }
bool FindBreak( SwTextFrame *pFrame, SwTextMargin &rLine, bool bHasToFit );
bool WouldFit( SwTextMargin &rLine, SwTwips &rMaxHeight, bool bTest );
@@ -72,7 +72,7 @@ public:
if ( isOnFirstLine && rLine.GetCurr()->IsDummy()) {
return IsBreakNow( rLine );
}
- if ( rLine.GetLineNr() > nOrphLines ) {
+ if ( rLine.GetLineNr() > m_nOrphLines ) {
return IsBreakNow( rLine );
}
return false;