summaryrefslogtreecommitdiff
path: root/xmloff/source/style/TransGradientStyle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/TransGradientStyle.cxx')
-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;