summaryrefslogtreecommitdiff
path: root/sw/inc/unostyle.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-13 15:46:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-13 15:41:42 +0100
commit17e712ccc8fa93d57672916e3c8adaa8febc9f8c (patch)
treed62b91c405110bed4b90e93f8cf8237697dceec8 /sw/inc/unostyle.hxx
parent37dc48300cc39e98c398737453e72836618ca2ac (diff)
Revert "loplugin:constfields in sw"
This reverts commit 4969f4c0d3e2581aaa8a5b5a5769840fa6b6f8ea. Change-Id: I527e9366b05e8a20633720e334395b285991c524 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90473 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/unostyle.hxx')
-rw-r--r--sw/inc/unostyle.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index 058812c17923..4e8fee328724 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -106,7 +106,7 @@ class SwXAutoStyles final :
public cppu::WeakImplHelper< css::style::XAutoStyles >,
public SwUnoCollection
{
- SwDocShell * const m_pDocShell;
+ SwDocShell *m_pDocShell;
css::uno::Reference< css::style::XAutoStyleFamily > m_xAutoCharStyles;
css::uno::Reference< css::style::XAutoStyleFamily > m_xAutoRubyStyles;
css::uno::Reference< css::style::XAutoStyleFamily > m_xAutoParaStyles;
@@ -134,7 +134,7 @@ public:
class SwXAutoStyleFamily final : public cppu::WeakImplHelper< css::style::XAutoStyleFamily >, public SvtListener
{
SwDocShell *m_pDocShell;
- IStyleAccess::SwAutoStyleFamily const m_eFamily;
+ IStyleAccess::SwAutoStyleFamily m_eFamily;
public:
@@ -178,9 +178,9 @@ class SwXAutoStyle final : public cppu::WeakImplHelper
public SvtListener
{
private:
- std::shared_ptr<SfxItemSet> mpSet;
- IStyleAccess::SwAutoStyleFamily const meFamily;
- SwDoc& mrDoc;
+ std::shared_ptr<SfxItemSet> mpSet;
+ IStyleAccess::SwAutoStyleFamily meFamily;
+ SwDoc& mrDoc;
/// @throws css::beans::UnknownPropertyException
/// @throws css::lang::WrappedTargetException