summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-02-13 20:43:40 +0100
committerJan Holesovsky <kendy@collabora.com>2014-02-13 20:43:40 +0100
commit8ad55179ea0158cb64ad3fe000aa7d3fb0317ccf (patch)
tree2eec3dfde15db706d2626314edcf3567b78c2a61 /filter
parent1b2333d1be686716b2ee2b36e8340767aad57f36 (diff)
Use string literal directly.
Change-Id: Ie5841f23c0056f9b9b306e65278f43f415d079b5
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgexport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx
index 07bebcabc1a3..9bad77e0bfb9 100644
--- a/filter/source/svg/svgexport.cxx
+++ b/filter/source/svg/svgexport.cxx
@@ -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" );