summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-24 21:50:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-24 21:50:58 +0200
commitee35719f07d500aa19b6d0a166446e3135044e70 (patch)
tree391ce5f5f7be2c4d564780e25ff2671e5b6ec370 /sc
parent309e09b044b351711dee174d56f947eb1c619aaa (diff)
-Werror,-Wunused-private-field
Change-Id: I3104a661b7c00851f6e444eb6899483bfc9c7417
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlimprt.cxx3
-rw-r--r--sc/source/filter/xml/xmlimprt.hxx2
-rw-r--r--sc/source/ui/inc/condformatuno.hxx3
-rw-r--r--sc/source/ui/inc/tpsort.hxx1
-rw-r--r--sc/source/ui/unoobj/condformatuno.cxx3
5 files changed, 0 insertions, 12 deletions
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index 959fcb6c657e..61953d7388c5 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -99,7 +99,6 @@
#include <utility>
#define SC_LOCALE "Locale"
-#define SC_STANDARDFORMAT "StandardFormat"
#define SC_CURRENCYSYMBOL "CurrencySymbol"
#define SC_REPEAT_ROW "repeat-row"
#define SC_FILTER "filter"
@@ -1992,8 +1991,6 @@ ScXMLImport::ScXMLImport(
sNumberFormat(SC_UNONAME_NUMFMT),
sLocale(SC_LOCALE),
sCellStyle(SC_UNONAME_CELLSTYL),
- sStandardFormat(SC_STANDARDFORMAT),
- sType(SC_UNONAME_TYPE),
pDocElemTokenMap( 0 ),
pStylesElemTokenMap( 0 ),
pStylesAttrTokenMap( 0 ),
diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx
index 527e823b3e2f..6efb408669b1 100644
--- a/sc/source/filter/xml/xmlimprt.hxx
+++ b/sc/source/filter/xml/xmlimprt.hxx
@@ -841,8 +841,6 @@ class ScXMLImport: public SvXMLImport, boost::noncopyable
OUString sNumberFormat;
OUString sLocale;
OUString sCellStyle;
- OUString sStandardFormat;
- OUString sType;
rtl::Reference < XMLPropertyHandlerFactory > xScPropHdlFactory;
rtl::Reference < XMLPropertySetMapper > xCellStylesPropertySetMapper;
diff --git a/sc/source/ui/inc/condformatuno.hxx b/sc/source/ui/inc/condformatuno.hxx
index 2342ab0f414d..40f4c78b0370 100644
--- a/sc/source/ui/inc/condformatuno.hxx
+++ b/sc/source/ui/inc/condformatuno.hxx
@@ -288,7 +288,6 @@ public:
::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
- ScDocShell* mpDocShell;
rtl::Reference<ScCondFormatObj> mxParent;
SfxItemPropertySet maPropSet;
const ScColorScaleFormat* mpFormat;
@@ -382,7 +381,6 @@ public:
::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
- ScDocShell* mpDocShell;
rtl::Reference<ScCondFormatObj> mxParent;
SfxItemPropertySet maPropSet;
const ScDataBarFormat* mpFormat;
@@ -470,7 +468,6 @@ public:
::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
- ScDocShell* mpDocShell;
rtl::Reference<ScCondFormatObj> mxParent;
SfxItemPropertySet maPropSet;
const ScIconSetFormat* mpFormat;
diff --git a/sc/source/ui/inc/tpsort.hxx b/sc/source/ui/inc/tpsort.hxx
index c4d516728a3b..0aa944192ba9 100644
--- a/sc/source/ui/inc/tpsort.hxx
+++ b/sc/source/ui/inc/tpsort.hxx
@@ -148,7 +148,6 @@ private:
OUString aStrRowLabel;
OUString aStrColLabel;
OUString aStrUndefined;
- OUString aStrAreaLabel;
const sal_uInt16 nWhichSort;
ScSortParam aSortData;
diff --git a/sc/source/ui/unoobj/condformatuno.cxx b/sc/source/ui/unoobj/condformatuno.cxx
index 3b0a2f4d4c2a..9de1449e2d05 100644
--- a/sc/source/ui/unoobj/condformatuno.cxx
+++ b/sc/source/ui/unoobj/condformatuno.cxx
@@ -869,7 +869,6 @@ void SAL_CALL ScConditionEntryObj::removeVetoableChangeListener( const OUString&
ScColorScaleFormatObj::ScColorScaleFormatObj(rtl::Reference<ScCondFormatObj> xParent,
const ScColorScaleFormat* pFormat):
- mpDocShell(xParent->getDocShell()),
mxParent(xParent),
maPropSet(getColorScalePropSet()),
mpFormat(pFormat)
@@ -1142,7 +1141,6 @@ void ScColorScaleEntryObj::setFormula(const OUString& rFormula)
ScDataBarFormatObj::ScDataBarFormatObj(rtl::Reference<ScCondFormatObj> xParent,
const ScDataBarFormat* pFormat):
- mpDocShell(xParent->getDocShell()),
mxParent(xParent),
maPropSet(getDataBarPropSet()),
mpFormat(pFormat)
@@ -1543,7 +1541,6 @@ void ScDataBarEntryObj::setFormula(const OUString& rFormula)
ScIconSetFormatObj::ScIconSetFormatObj(rtl::Reference<ScCondFormatObj> xParent,
const ScIconSetFormat* pFormat):
- mpDocShell(xParent->getDocShell()),
mxParent(xParent),
maPropSet(getIconSetPropSet()),
mpFormat(pFormat)