summaryrefslogtreecommitdiff
path: root/sw/source/uibase/config/viewopt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/config/viewopt.cxx')
-rw-r--r--sw/source/uibase/config/viewopt.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx
index 852751667581..1418abee8cb2 100644
--- a/sw/source/uibase/config/viewopt.cxx
+++ b/sw/source/uibase/config/viewopt.cxx
@@ -99,7 +99,7 @@ bool SwViewOption::IsEqualFlags( const SwViewOption &rOpt ) const
}
void SwViewOption::DrawRect( OutputDevice *pOut,
- const SwRect &rRect, long nCol ) const
+ const SwRect &rRect, long nCol )
{
if ( pOut->GetOutDevType() != OUTDEV_PRINTER )
{
@@ -114,7 +114,7 @@ void SwViewOption::DrawRect( OutputDevice *pOut,
}
void SwViewOption::DrawRectPrinter( OutputDevice *pOut,
- const SwRect &rRect ) const
+ const SwRect &rRect )
{
Color aOldColor(pOut->GetLineColor());
Color aOldFillColor( pOut->GetFillColor() );
@@ -125,13 +125,13 @@ void SwViewOption::DrawRectPrinter( OutputDevice *pOut,
pOut->SetLineColor( aOldColor );
}
-sal_uInt16 SwViewOption::GetPostItsWidth( const OutputDevice *pOut ) const
+sal_uInt16 SwViewOption::GetPostItsWidth( const OutputDevice *pOut )
{
assert(pOut && "no Outdev");
return sal_uInt16(pOut->GetTextWidth( OUString(aPostItStr )));
}
-void SwViewOption::PaintPostIts( OutputDevice *pOut, const SwRect &rRect, bool bIsScript ) const
+void SwViewOption::PaintPostIts( OutputDevice *pOut, const SwRect &rRect, bool bIsScript )
{
if( pOut && bIsScript )
{
@@ -303,7 +303,7 @@ void SwViewOption::Init( vcl::Window *pWin )
}
}
-bool SwViewOption::IsAutoCompleteWords() const
+bool SwViewOption::IsAutoCompleteWords()
{
const SvxSwAutoFmtFlags& rFlags = SvxAutoCorrCfg::Get().GetAutoCorrect()->GetSwFlags();
return rFlags.bAutoCmpltCollectWords;