summaryrefslogtreecommitdiff
path: root/sw/source/core/text/frmpaint.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-09-30 16:03:07 +0200
committerMichael Stahl <mst@openoffice.org>2010-09-30 16:03:07 +0200
commit5104cfc4b35a32ff3871dcd8f60079ceff2a608d (patch)
treee5ad65d9c029d08ec3a65a98bd242528ce519641 /sw/source/core/text/frmpaint.cxx
parent3ffb5d1c462efed60ce2dd7f73af002f7cf6472d (diff)
sw34refactor1: remove obsolete (due to printer refactoring) class SwPrtOptions:
remove SwPrtOptions instances with SwPrintData. replace SwPrtOptions::MakeOptions() with sw::InitPrintOptionsFromApplication(). move some constants from swprtopt.hxx to printdata.hxx. remove swprtopt.hxx.
Diffstat (limited to 'sw/source/core/text/frmpaint.cxx')
-rw-r--r--sw/source/core/text/frmpaint.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx
index 443900e1942c..9babcdde2b79 100644
--- a/sw/source/core/text/frmpaint.cxx
+++ b/sw/source/core/text/frmpaint.cxx
@@ -38,12 +38,8 @@
#include <tgrditem.hxx>
#include <paratr.hxx>
-#ifndef _FMTLINE_HXX
#include <fmtline.hxx>
-#endif
-#ifndef _LINEINFO_HXX
#include <lineinfo.hxx>
-#endif
#include <charfmt.hxx>
#include <pagefrm.hxx>
#include <viewsh.hxx> // ViewShell
@@ -596,7 +592,7 @@ sal_Bool SwTxtFrm::PaintEmpty( const SwRect &rRect, sal_Bool bCheck ) const
* SwTxtFrm::Paint()
*************************************************************************/
-void SwTxtFrm::Paint( const SwRect &rRect, const SwPrtOptions * /*pPrintData*/ ) const
+void SwTxtFrm::Paint(SwRect const& rRect, SwPrintData const*const) const
{
ResetRepaint();