summaryrefslogtreecommitdiff
path: root/sd/source/ui/sidebar/MasterPageDescriptor.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-08 16:12:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-09 08:10:59 +0200
commit453879cfd8f4a8e22847043231a0929e4d50f238 (patch)
treee3f9e78f4be775a31f99e27e20747b54d2e9a941 /sd/source/ui/sidebar/MasterPageDescriptor.hxx
parentec7e3609917092ee00667c78ff40cd4c2f0adec1 (diff)
loplugin:constfields in sd
Change-Id: Ia072401c71dacf089b9f5213957c2cd25bb1a1b3 Reviewed-on: https://gerrit.libreoffice.org/61553 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/sidebar/MasterPageDescriptor.hxx')
-rw-r--r--sd/source/ui/sidebar/MasterPageDescriptor.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/sidebar/MasterPageDescriptor.hxx b/sd/source/ui/sidebar/MasterPageDescriptor.hxx
index dfc7795189b5..9355c2a2f304 100644
--- a/sd/source/ui/sidebar/MasterPageDescriptor.hxx
+++ b/sd/source/ui/sidebar/MasterPageDescriptor.hxx
@@ -201,12 +201,12 @@ public:
sal_Int32 mnUseCount;
class URLComparator { public:
- OUString msURL;
+ OUString const msURL;
explicit URLComparator (const OUString& sURL);
bool operator() (const SharedMasterPageDescriptor& rDescriptor);
};
class StyleNameComparator { public:
- OUString msStyleName;
+ OUString const msStyleName;
explicit StyleNameComparator (const OUString& sStyleName);
bool operator() (const SharedMasterPageDescriptor& rDescriptor);
};
@@ -219,7 +219,7 @@ public:
explicit AllComparator(const SharedMasterPageDescriptor& rDescriptor);
bool operator() (const SharedMasterPageDescriptor& rDescriptor);
private:
- SharedMasterPageDescriptor mpDescriptor;
+ SharedMasterPageDescriptor const mpDescriptor;
};
};