[Libreoffice-commits] core.git: cui/inc cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Nov 12 12:39:11 UTC 2018


 cui/inc/strings.hrc            |    1 -
 cui/source/inc/treeopt.hxx     |    1 -
 cui/source/options/treeopt.cxx |    1 -
 3 files changed, 3 deletions(-)

New commits:
commit 5d43a4d941b34cb076a6a2463dccd327ff83e7b9
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Nov 12 13:20:42 2018 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Nov 12 13:20:42 2018 +0100

    -Werror,-Wunused-private-field
    
    ...since 9eb81304989acb16c61c15b211dd124548ffb85f "tdf#120703 PVS: drop the
    unused code".  And which now removes the sole use of RID_SVXSTR_LOAD_ERROR.
    
    Change-Id: If8afa7595a449cb8677b03a159a452b73fed110e

diff --git a/cui/inc/strings.hrc b/cui/inc/strings.hrc
index f8cc42be3fcb..db0c46269e29 100644
--- a/cui/inc/strings.hrc
+++ b/cui/inc/strings.hrc
@@ -362,7 +362,6 @@
 #define RID_SVXSTR_DEL_SPACES_BETWEEN_LINES         NC_("RID_SVXSTR_DEL_SPACES_BETWEEN_LINES", "Delete spaces and tabs at end and start of line")
 #define RID_SVXSTR_CONNECTOR                        NC_("RID_SVXSTR_CONNECTOR", "Connector")
 #define RID_SVXSTR_DIMENSION_LINE                   NC_("RID_SVXSTR_DIMENSION_LINE", "Dimension line")
-#define RID_SVXSTR_LOAD_ERROR                       NC_("RID_SVXSTR_LOAD_ERROR", "The selected module could not be loaded.")
 #define RID_SVXSTR_STARTQUOTE                       NC_("RID_SVXSTR_STARTQUOTE", "Start Quote")
 #define RID_SVXSTR_ENDQUOTE                         NC_("RID_SVXSTR_ENDQUOTE", "End Quote")
 
diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx
index 1def2d942eb4..96267575333a 100644
--- a/cui/source/inc/treeopt.hxx
+++ b/cui/source/inc/treeopt.hxx
@@ -133,7 +133,6 @@ private:
     SvTreeListEntry*       pCurrentPageEntry;
 
     OUString               sTitle;
-    OUString               sNotLoadedError;
 
     bool                   bForgetSelection;
     bool                   bIsFromExtensionManager;
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 62179f315de4..a0ced4fccd16 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -482,7 +482,6 @@ struct OptionsGroupInfo
     m_pParent           ( pParent ),\
     pCurrentPageEntry   ( nullptr ),\
     sTitle              ( GetText() ),\
-    sNotLoadedError     (       CuiResId( RID_SVXSTR_LOAD_ERROR ) ),\
     bForgetSelection    ( false ),\
     bIsFromExtensionManager( false ), \
     bIsForSetDocumentLanguage( false ), \


More information about the Libreoffice-commits mailing list