diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-04-11 09:20:43 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-04-11 11:08:48 +0200 |
commit | ca04e146ba4581f63bc9548ef926b611f1578804 (patch) | |
tree | 4023ac62592c376fee0d7d8b8703e6fa9ae91e67 /writerperfect/source | |
parent | e1a969ca643d41e034100aac588994f2d6c3ed05 (diff) |
writerperfect: fix whitespace
Be consistent with surrounding code.
Change-Id: I86eb3a663a54a63c850ada229ea24d9c770365df
Reviewed-on: https://gerrit.libreoffice.org/52708
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'writerperfect/source')
-rw-r--r-- | writerperfect/source/writer/exp/xmlfmt.cxx | 2 | ||||
-rw-r--r-- | writerperfect/source/writer/exp/xmlimp.hxx | 10 |
2 files changed, 9 insertions, 3 deletions
diff --git a/writerperfect/source/writer/exp/xmlfmt.cxx b/writerperfect/source/writer/exp/xmlfmt.cxx index 42e2b0aa70c0..e8b735c44890 100644 --- a/writerperfect/source/writer/exp/xmlfmt.cxx +++ b/writerperfect/source/writer/exp/xmlfmt.cxx @@ -36,7 +36,7 @@ XMLStylesContext::XMLStylesContext(XMLImport &rImport, StyleType eType) rtl::Reference<XMLImportContext> XMLStylesContext::CreateChildContext(const OUString &rName, const css::uno::Reference<css::xml::sax::XAttributeList> &/*xAttribs*/) { - if (rName == "style:style" || rName == "style:page-layout" || rName == "style:master-page" ) + if (rName == "style:style" || rName == "style:page-layout" || rName == "style:master-page") return new XMLStyleContext(mrImport, *this); return nullptr; } diff --git a/writerperfect/source/writer/exp/xmlimp.hxx b/writerperfect/source/writer/exp/xmlimp.hxx index 097a96cdcce9..4ef4bf3f5c43 100644 --- a/writerperfect/source/writer/exp/xmlimp.hxx +++ b/writerperfect/source/writer/exp/xmlimp.hxx @@ -114,8 +114,14 @@ public: const std::vector<FixedLayoutPage> &GetPageMetafiles() const; const css::uno::Reference<css::uno::XComponentContext> &GetComponentContext() const; - bool GetIsInPageSpan() const { return mbIsInPageSpan; } - void SetIsInPageSpan(bool bSet) { mbIsInPageSpan = bSet; } + bool GetIsInPageSpan() const + { + return mbIsInPageSpan; + } + void SetIsInPageSpan(bool bSet) + { + mbIsInPageSpan = bSet; + } void HandlePageSpan(const librevenge::RVNGPropertyList &rPropertyList); // XDocumentHandler |