summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-16 16:22:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-17 08:40:39 +0200
commit82afd77a00c036f106a3aa5fb3402c92e10e2aa4 (patch)
tree2a07561d945b920c18f9e9b7fb5bde3eaf648945 /extensions
parent59f398e934541e05dc9b77c1191227f8c68ea037 (diff)
loplugin:unusedfields in editeng..filter
Change-Id: I42e41ec69667a5560c5f31c85eb05074666a7bab Reviewed-on: https://gerrit.libreoffice.org/54455 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/bibliography/general.cxx3
-rw-r--r--extensions/source/bibliography/general.hxx1
2 files changed, 1 insertions, 3 deletions
diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx
index 2d5594c478e0..bc86e4fa9d35 100644
--- a/extensions/source/bibliography/general.cxx
+++ b/extensions/source/bibliography/general.cxx
@@ -167,7 +167,6 @@ void BibPosListener::disposing(const lang::EventObject& /*Source*/)
BibGeneralPage::BibGeneralPage(vcl::Window* pParent, BibDataManager* pMan):
TabPage(pParent, "GeneralPage", "modules/sbibliography/ui/generalpage.ui"),
BibShortCutHandler( this ),
- sErrorPrefix(BibResId(ST_ERROR_PREFIX)),
mxBibGeneralPageFocusListener(new BibGeneralPageFocusListener(this)),
pDatMan(pMan)
{
@@ -332,7 +331,7 @@ BibGeneralPage::BibGeneralPage(vcl::Window* pParent, BibDataManager* pMan):
xFormCtrl->activateTabOrder();
if(!sTableErrorString.isEmpty())
- sTableErrorString = sErrorPrefix + sTableErrorString;
+ sTableErrorString = BibResId(ST_ERROR_PREFIX) + sTableErrorString;
SetText(BibResId(ST_TYPE_TITLE));
diff --git a/extensions/source/bibliography/general.hxx b/extensions/source/bibliography/general.hxx
index 13a457e4dc01..791b66ff26dd 100644
--- a/extensions/source/bibliography/general.hxx
+++ b/extensions/source/bibliography/general.hxx
@@ -109,7 +109,6 @@ class BibGeneralPage : public TabPage, public BibShortCutHandler
css::uno::Reference< css::awt::XWindow >
aControls[ FIELD_COUNT ];
- OUString sErrorPrefix;
OUString sTableErrorString;
OUString sTypeColumnName;