summaryrefslogtreecommitdiff
path: root/xmloff/source/table/XMLTableExport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/table/XMLTableExport.cxx')
-rw-r--r--xmloff/source/table/XMLTableExport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/table/XMLTableExport.cxx b/xmloff/source/table/XMLTableExport.cxx
index b710adefa8f7..1c5b7f0afed5 100644
--- a/xmloff/source/table/XMLTableExport.cxx
+++ b/xmloff/source/table/XMLTableExport.cxx
@@ -263,9 +263,9 @@ static bool has_states( const std::vector< XMLPropertyState >& xPropStates )
// get style
OUString sParentStyleName;
Reference< XPropertySetInfo > xPropertySetInfo( xCellSet->getPropertySetInfo() );
- if( xPropertySetInfo.is() && xPropertySetInfo->hasPropertyByName( OUString("Style")) )
+ if( xPropertySetInfo.is() && xPropertySetInfo->hasPropertyByName("Style") )
{
- Reference< XStyle > xStyle( xCellSet->getPropertyValue(OUString("Style")), UNO_QUERY );
+ Reference< XStyle > xStyle( xCellSet->getPropertyValue("Style"), UNO_QUERY );
if( xStyle.is() )
sParentStyleName = xStyle->getName();
}