[Libreoffice-commits] core.git: compilerplugins/clang sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 22 12:08:00 UTC 2018


 compilerplugins/clang/unusedenumconstants.untouched.results |    4 ----
 sfx2/source/dialog/securitypage.cxx                         |    1 -
 2 files changed, 5 deletions(-)

New commits:
commit 7f91d6cceeeafb588f545be4c383e312d9e42bf7
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Nov 21 15:49:29 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Nov 22 13:07:33 2018 +0100

    remove unused enum RedlineFunc
    
    Change-Id: Ibbe870680e22cf91d6c421df98cf7b8a098d6e3f
    Reviewed-on: https://gerrit.libreoffice.org/63752
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/compilerplugins/clang/unusedenumconstants.untouched.results b/compilerplugins/clang/unusedenumconstants.untouched.results
index 47a79b1ebd89..37c7fbeb4c20 100644
--- a/compilerplugins/clang/unusedenumconstants.untouched.results
+++ b/compilerplugins/clang/unusedenumconstants.untouched.results
@@ -376,10 +376,6 @@ sdext/source/presenter/PresenterPaneBorderPainter.cxx:93
     enum sdext::presenter::(anonymous namespace)::RendererPaneStyle::Side Right
 sdext/source/presenter/PresenterPaneBorderPainter.cxx:93
     enum sdext::presenter::(anonymous namespace)::RendererPaneStyle::Side Bottom
-sfx2/source/dialog/securitypage.cxx:48
-    enum (anonymous namespace)::RedlineFunc RF_ON
-sfx2/source/dialog/securitypage.cxx:48
-    enum (anonymous namespace)::RedlineFunc RF_PROTECT
 svx/inc/sxmkitm.hxx:25
     enum SdrMeasureKind SDRMEASURE_RADIUS
 sw/inc/docary.hxx:74
diff --git a/sfx2/source/dialog/securitypage.cxx b/sfx2/source/dialog/securitypage.cxx
index 19fecc8be22a..7caf842e5fe8 100644
--- a/sfx2/source/dialog/securitypage.cxx
+++ b/sfx2/source/dialog/securitypage.cxx
@@ -45,7 +45,6 @@ using namespace ::com::sun::star;
 namespace
 {
     enum RedliningMode  { RL_NONE, RL_WRITER, RL_CALC };
-    enum RedlineFunc    { RF_ON, RF_PROTECT };
 
     bool QueryState( sal_uInt16 _nSlot, bool& _rValue )
     {


More information about the Libreoffice-commits mailing list