summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmlcoli.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/xmlcoli.cxx')
-rw-r--r--sc/source/filter/xml/xmlcoli.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlcoli.cxx b/sc/source/filter/xml/xmlcoli.cxx
index 551b21e8c95e..8fec336fde17 100644
--- a/sc/source/filter/xml/xmlcoli.cxx
+++ b/sc/source/filter/xml/xmlcoli.cxx
@@ -157,7 +157,7 @@ void ScXMLTableColContext::EndElement()
// #i57915# ScXMLImport::SetStyleToRange can't handle empty style names.
// The default for a column if there is no attribute is the style "Default" (programmatic API name).
if ( sCellStyleName.isEmpty() )
- sCellStyleName = OUString( "Default" );
+ sCellStyleName = "Default";
GetScImport().GetTables().AddColStyle(nColCount, sCellStyleName);
}