summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLLegendContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/chart/SchXMLLegendContext.cxx')
-rw-r--r--xmloff/source/chart/SchXMLLegendContext.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/chart/SchXMLLegendContext.cxx b/xmloff/source/chart/SchXMLLegendContext.cxx
index 73b651fb0ffd..0d0fe40a7986 100644
--- a/xmloff/source/chart/SchXMLLegendContext.cxx
+++ b/xmloff/source/chart/SchXMLLegendContext.cxx
@@ -101,7 +101,7 @@ void SchXMLLegendContext::StartElement( const uno::Reference< xml::sax::XAttribu
{
try
{
- xDocProp->setPropertyValue( OUString( "HasLegend" ), uno::makeAny( sal_True ) );
+ xDocProp->setPropertyValue("HasLegend", uno::makeAny( sal_True ) );
}
catch(const beans::UnknownPropertyException&)
{
@@ -147,7 +147,7 @@ void SchXMLLegendContext::StartElement( const uno::Reference< xml::sax::XAttribu
try
{
if( SchXMLEnumConverter::getLegendPositionConverter().importXML( aValue, aAny, GetImport().GetMM100UnitConverter() ) )
- xLegendProps->setPropertyValue( OUString( "Alignment" ), aAny );
+ xLegendProps->setPropertyValue("Alignment", aAny );
}
catch(const beans::UnknownPropertyException&)
{
@@ -196,12 +196,12 @@ void SchXMLLegendContext::StartElement( const uno::Reference< xml::sax::XAttribu
xLegendShape->setPosition( aLegendPos );
if( bHasExpansion && nLegendExpansion!= chart::ChartLegendExpansion_CUSTOM )
- xLegendProps->setPropertyValue( OUString( "Expansion" ), uno::makeAny(nLegendExpansion) );
+ xLegendProps->setPropertyValue("Expansion", uno::makeAny(nLegendExpansion) );
else if( bHasHeight && bHasWidth )
xLegendShape->setSize( aLegendSize );
// the fill style has the default "none" in XML, but "solid" in the model.
- xLegendProps->setPropertyValue( OUString( "FillStyle" ), uno::makeAny( drawing::FillStyle_NONE ));
+ xLegendProps->setPropertyValue("FillStyle", uno::makeAny( drawing::FillStyle_NONE ));
// set auto-styles for Legend
const SvXMLStylesContext* pStylesCtxt = mrImportHelper.GetAutoStylesContext();