summaryrefslogtreecommitdiff
path: root/sw/inc/printdata.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-30 13:08:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-03 10:19:03 +0200
commit09a4d2faa429cc52d603abc55d99723f39dc9023 (patch)
tree8cba91c63122322a49fb5ca5af490e62d87d0d75 /sw/inc/printdata.hxx
parent1fe0dc7377300ad961438f5a69bd8bc023cc314d (diff)
loplugin:unusedfields in sw
Change-Id: I807f93757bfddf17f71568f1e3c174229f169f18 Reviewed-on: https://gerrit.libreoffice.org/39409 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/printdata.hxx')
-rw-r--r--sw/inc/printdata.hxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/sw/inc/printdata.hxx b/sw/inc/printdata.hxx
index b340e6b8640c..eacb046fa089 100644
--- a/sw/inc/printdata.hxx
+++ b/sw/inc/printdata.hxx
@@ -56,7 +56,6 @@ enum class SwPostItMode
class SwPrintData
{
- const SwPrintUIOptions * m_pPrintUIOptions; // not owner
const SwRenderData * m_pRenderData; // not owner
public:
@@ -72,15 +71,13 @@ public:
m_bPrintEmptyPages,
/// #i56195# no field update while printing mail merge documents
- m_bUpdateFieldsInPrinting,
- m_bModified;
+ m_bUpdateFieldsInPrinting;
SwPostItMode m_nPrintPostIts;
OUString m_sFaxName;
SwPrintData()
{
- m_pPrintUIOptions = nullptr;
m_pRenderData = nullptr;
m_bPrintGraphic =
@@ -98,7 +95,6 @@ public:
m_bPrintProspect =
m_bPrintProspectRTL =
m_bPrintSingleJobs =
- m_bModified =
m_bPrintBlackFont =
m_bPrintHiddenText =
m_bPrintTextPlaceholder = false;
@@ -135,7 +131,6 @@ public:
/** Note: in the context where this class is used the pointers should always be valid
during the lifetime of this object */
const SwRenderData & GetRenderData() const { return *m_pRenderData; }
- void SetPrintUIOptions( const SwPrintUIOptions *pOpt ) { m_pPrintUIOptions = pOpt; }
void SetRenderData( const SwRenderData *pData ) { m_pRenderData = pData; }
bool IsPrintGraphic() const { return m_bPrintGraphic; }
@@ -176,7 +171,7 @@ public:
void SetPrintHiddenText( bool b ) { doSetModified(); m_bPrintHiddenText = b; }
void SetPrintTextPlaceholder( bool b ) { doSetModified(); m_bPrintTextPlaceholder = b; }
- virtual void doSetModified () { m_bModified = true;}
+ virtual void doSetModified () {}
};
class SwPrintUIOptions : public vcl::PrinterOptionsHelper