summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-13 13:44:16 +0200
committerNoel Grandin <noel@peralex.com>2016-01-13 13:59:52 +0200
commitc2460312ffcc430f97bea6fb1101be2e736fe002 (patch)
tree9f06fdbcfe5ea6074a10c37540333bad91658b60 /xmloff/source
parent2b4fd256e9f8594c31e7e8045dccae5afdc62e16 (diff)
-Werror=unused-but-set-variable
Change-Id: I61a07db63cc8a6bad159ca455f92d604c5e78edc
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/style/TransGradientStyle.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmloff/source/style/TransGradientStyle.cxx b/xmloff/source/style/TransGradientStyle.cxx
index 035aa2b7d545..ab193f1a4895 100644
--- a/xmloff/source/style/TransGradientStyle.cxx
+++ b/xmloff/source/style/TransGradientStyle.cxx
@@ -80,8 +80,6 @@ void XMLTransGradientStyleImport::importXML(
uno::Any& rValue,
OUString& rStrName )
{
- bool bHasName = false;
- bool bHasStyle = false;
OUString aDisplayName;
awt::Gradient aGradient;
@@ -124,7 +122,6 @@ void XMLTransGradientStyleImport::importXML(
case XML_TOK_GRADIENT_NAME:
{
rStrName = rStrValue;
- bHasName = true;
}
break;
case XML_TOK_GRADIENT_DISPLAY_NAME:
@@ -138,7 +135,6 @@ void XMLTransGradientStyleImport::importXML(
if( SvXMLUnitConverter::convertEnum( eValue, rStrValue, pXML_GradientStyle_Enum ) )
{
aGradient.Style = (awt::GradientStyle) eValue;
- bHasStyle = true;
}
}
break;