summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-11-12 13:20:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-11-12 13:20:42 +0100
commit5d43a4d941b34cb076a6a2463dccd327ff83e7b9 (patch)
tree94f30f4c164fff8ea38ba348c670b576ed313eb0 /cui
parent6ab83f201d80151a9a7ee22dec412e1c014c4063 (diff)
-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
Diffstat (limited to 'cui')
-rw-r--r--cui/inc/strings.hrc1
-rw-r--r--cui/source/inc/treeopt.hxx1
-rw-r--r--cui/source/options/treeopt.cxx1
3 files changed, 0 insertions, 3 deletions
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 ), \