summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmltbli.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/xml/xmltbli.cxx')
-rw-r--r--sw/source/filter/xml/xmltbli.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 17c82d3a3992..cc273a7eea7a 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -1388,8 +1388,7 @@ SwXMLTableContext::SwXMLTableContext( SwXMLImport& rImport,
OSL_ENSURE( xFactory.is(), "factory missing" );
if( xFactory.is() )
{
- OUString sService(
- RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.text.TextTable" ) );
+ OUString sService( "com.sun.star.text.TextTable" );
Reference<XInterface> xIfc = xFactory->createInstance( sService );
OSL_ENSURE( xIfc.is(), "Couldn't create a table" );
@@ -2904,7 +2903,7 @@ const SwStartNode *SwXMLTableContext::InsertTableSection(
// The Cursor already is in the first section
pStNd = pTxtCrsr->GetPaM()->GetNode()->FindTableBoxStartNode();
bFirstSection = false;
- OUString sStyleName( RTL_CONSTASCII_USTRINGPARAM("Standard") );
+ OUString sStyleName("Standard");
GetImport().GetTextImport()->SetStyleAndAttrs( GetImport(),
GetImport().GetTextImport()->GetCursor(), sStyleName, sal_True );
}