summaryrefslogtreecommitdiff
path: root/include/test/util
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-01 09:08:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-03 11:56:43 +0200
commit4969f4c0d3e2581aaa8a5b5a5769840fa6b6f8ea (patch)
treeeb42ab5be5d8c5ca3d23b686a8781c28822381b4 /include/test/util
parentd5cc52fec12e3c8d1c3561f172d3e1c5434290b3 (diff)
loplugin:constfields in sw
Change-Id: I1eb6583bb9ec815bc0564b0d7c676f5b1fb9045f Reviewed-on: https://gerrit.libreoffice.org/61177 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/test/util')
-rw-r--r--include/test/util/xreplaceable.hxx4
-rw-r--r--include/test/util/xsearchable.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/test/util/xreplaceable.hxx b/include/test/util/xreplaceable.hxx
index 9f33feeb5d9d..59716f013eae 100644
--- a/include/test/util/xreplaceable.hxx
+++ b/include/test/util/xreplaceable.hxx
@@ -29,8 +29,8 @@ protected:
~XReplaceable() {}
private:
- OUString maSearchString;
- OUString maReplaceString;
+ OUString const maSearchString;
+ OUString const maReplaceString;
};
}
diff --git a/include/test/util/xsearchable.hxx b/include/test/util/xsearchable.hxx
index 99369c854be0..cb612829e1e1 100644
--- a/include/test/util/xsearchable.hxx
+++ b/include/test/util/xsearchable.hxx
@@ -28,8 +28,8 @@ public:
virtual css::uno::Reference< css::uno::XInterface > init() = 0;
private:
- OUString maSearchString;
- sal_Int32 mnCount;
+ OUString const maSearchString;
+ sal_Int32 const mnCount;
};
}