Kaydet (Commit) 8ad55179 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Use string literal directly.

Change-Id: Ie5841f23c0056f9b9b306e65278f43f415d079b5
üst 1b2333d1
......@@ -736,7 +736,7 @@ sal_Bool SVGFilter::implExportDocument()
// standard line width is based on 1 pixel on a 90 DPI device (0.28222mmm)
mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "stroke-width", OUString::number( 28.222 ) );
mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "stroke-linejoin", "round" );
mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "xmlns", OUString::createFromAscii(constSvgNamespace) );
mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "xmlns", constSvgNamespace );
mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "xmlns:ooo", "http://xml.openoffice.org/svg/export" );
mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "xmlns:xlink", "http://www.w3.org/1999/xlink" );
mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "xml:space", "preserve" );
......@@ -2309,7 +2309,7 @@ void SVGExport::writeMtf( const GDIMetaFile& rMtf )
if( IsUseTinyProfile() )
AddAttribute( XML_NAMESPACE_NONE, "baseProfile", "tiny" );
AddAttribute( XML_NAMESPACE_NONE, "xmlns", OUString::createFromAscii(constSvgNamespace) );
AddAttribute( XML_NAMESPACE_NONE, "xmlns", constSvgNamespace );
AddAttribute( XML_NAMESPACE_NONE, "stroke-width", OUString::number( 28.222 ) );
AddAttribute( XML_NAMESPACE_NONE, "stroke-linejoin", "round" );
AddAttribute( XML_NAMESPACE_NONE, "xml:space", "preserve" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment