summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-12 16:57:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-13 08:12:45 +0100
commitd59987b164bc32efe8f99ad49c139b4fc7ca3c2f (patch)
tree765652d6e940a5bdf43322ed54aa2f4c14116418 /writerperfect
parentb4641df5de7842d6a8fc2c4f839214bf01160c8c (diff)
loplugin:expandablemethods
Change-Id: I333d91ea5ce78c82e9bb107f934614efc7bfb8f7 Reviewed-on: https://gerrit.libreoffice.org/85078 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/writer/exp/xmlimp.cxx2
-rw-r--r--writerperfect/source/writer/exp/xmlimp.hxx1
2 files changed, 1 insertions, 2 deletions
diff --git a/writerperfect/source/writer/exp/xmlimp.cxx b/writerperfect/source/writer/exp/xmlimp.cxx
index 2f95f2dde4bc..09692ccc9308 100644
--- a/writerperfect/source/writer/exp/xmlimp.cxx
+++ b/writerperfect/source/writer/exp/xmlimp.cxx
@@ -610,7 +610,7 @@ void XMLImport::HandlePageSpan(const librevenge::RVNGPropertyList& rPropertyList
GetGenerator().closePageSpan();
GetGenerator().openPageSpan(rPageLayout);
- SetIsInPageSpan(true);
+ mbIsInPageSpan = true;
}
}
diff --git a/writerperfect/source/writer/exp/xmlimp.hxx b/writerperfect/source/writer/exp/xmlimp.hxx
index 2797168f4609..59219ecd25ea 100644
--- a/writerperfect/source/writer/exp/xmlimp.hxx
+++ b/writerperfect/source/writer/exp/xmlimp.hxx
@@ -135,7 +135,6 @@ public:
const css::uno::Reference<css::uno::XComponentContext>& GetComponentContext() const;
bool GetIsInPageSpan() const { return mbIsInPageSpan; }
- void SetIsInPageSpan(bool bSet) { mbIsInPageSpan = bSet; }
void HandlePageSpan(const librevenge::RVNGPropertyList& rPropertyList);
// XDocumentHandler