summaryrefslogtreecommitdiff
path: root/sw/source/core/text/frmpaint.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/frmpaint.cxx')
-rw-r--r--sw/source/core/text/frmpaint.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx
index aeac33ab9da0..ccfe63c147ca 100644
--- a/sw/source/core/text/frmpaint.cxx
+++ b/sw/source/core/text/frmpaint.cxx
@@ -83,8 +83,10 @@ public:
SwFont* GetFont() const { return m_pFnt.get(); }
void IncLineNr() { ++m_nLineNr; }
bool HasNumber() { return !( m_nLineNr % m_rLineInf.GetCountBy() ); }
- bool HasDivider() { if( !m_nDivider ) return false;
- return !(m_nLineNr % m_rLineInf.GetDividerCountBy()); }
+ bool HasDivider() {
+ if( !m_nDivider ) return false;
+ return !(m_nLineNr % m_rLineInf.GetDividerCountBy());
+ }
void PaintExtra( SwTwips nY, long nAsc, long nMax, bool bRed );
void PaintRedline( SwTwips nY, long nMax );