summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-30 10:29:19 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-01 10:43:24 +0000
commit58aea3f36c14414f95668e229a7350598f6c53a8 (patch)
tree70c115dffd44576313cefd49e4164d293895e4bd /configmgr
parent3fcbfe10857631212d8b8db9a079bb9692ed78bc (diff)
loplugin:unusedmethods
- improvements to the plugin to find more method calls - improvements to python script to remove more false+ - fix the FORCE_COMPILE_ALL build flag to include code in the $WORKDIR Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836 Reviewed-on: https://gerrit.libreoffice.org/19064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/modifications.hxx2
-rw-r--r--configmgr/source/writemodfile.cxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/configmgr/source/modifications.hxx b/configmgr/source/modifications.hxx
index 098992d08fd5..04ad5c34d72e 100644
--- a/configmgr/source/modifications.hxx
+++ b/configmgr/source/modifications.hxx
@@ -45,8 +45,6 @@ public:
void remove(Path const & path);
- void clear() { root_.children.clear(); }
-
bool empty() const { return root_.children.empty(); }
Node const & getRoot() const { return root_;}
diff --git a/configmgr/source/writemodfile.cxx b/configmgr/source/writemodfile.cxx
index 3d8cc8b96ddb..056041dea512 100644
--- a/configmgr/source/writemodfile.cxx
+++ b/configmgr/source/writemodfile.cxx
@@ -153,7 +153,7 @@ void writeData_(TempFile &handle, char const * begin, sal_Int32 length) {
}
void writeValueContent_(TempFile &, bool) SAL_DELETED_FUNCTION;
- // silence lopluign:salbool
+ // silence loplugin:salbool
void writeValueContent_(TempFile &handle, sal_Bool value) {
if (value) {
writeData_(handle, RTL_CONSTASCII_STRINGPARAM("true"));