summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-06-29 14:42:54 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-06-29 16:23:23 +0200
commit318f2b64cc32038b2ab1b18b4a13e3f41e1e35ff (patch)
treec375d326f022d1e3f3b9baea19ea262982dbc4a3 /filter
parent231fb4182fc9e81f801ff1d1355f7a613d0856c2 (diff)
remove some createFromAscii usage
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgfilter.hxx2
-rw-r--r--filter/source/svg/svgwriter.cxx12
2 files changed, 7 insertions, 7 deletions
diff --git a/filter/source/svg/svgfilter.hxx b/filter/source/svg/svgfilter.hxx
index b0a6546af601..2873bc5d36c9 100644
--- a/filter/source/svg/svgfilter.hxx
+++ b/filter/source/svg/svgfilter.hxx
@@ -99,7 +99,7 @@ using namespace ::std;
// Placeholder tag used into the ImplWriteActions method to filter text placeholder fields
-static const OUString sPlaceholderTag = OUString::createFromAscii( "<[:isPlaceholder:]>" );
+static const OUString sPlaceholderTag( "<[:isPlaceholder:]>" );
class SVGExport : public SvXMLExport
{
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index f48cdde36ae9..99c9e25bf679 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -1918,17 +1918,17 @@ void SVGActionWriter::ImplWriteShape( const SVGShapeDescriptor& rShape, sal_Bool
{
// miter is Svg default, so no need to write until the exporter might write styles.
// If this happens, activate here
- // mrExport.AddAttribute(XML_NAMESPACE_NONE, aXMLAttrStrokeLinejoin, OUString::createFromAscii("miter"));
+ // mrExport.AddAttribute(XML_NAMESPACE_NONE, aXMLAttrStrokeLinejoin, "miter");
break;
}
case basegfx::B2DLINEJOIN_BEVEL:
{
- mrExport.AddAttribute(XML_NAMESPACE_NONE, aXMLAttrStrokeLinejoin, OUString::createFromAscii("bevel"));
+ mrExport.AddAttribute(XML_NAMESPACE_NONE, aXMLAttrStrokeLinejoin, "bevel");
break;
}
case basegfx::B2DLINEJOIN_ROUND:
{
- mrExport.AddAttribute(XML_NAMESPACE_NONE, aXMLAttrStrokeLinejoin, OUString::createFromAscii("round"));
+ mrExport.AddAttribute(XML_NAMESPACE_NONE, aXMLAttrStrokeLinejoin, "round");
break;
}
}
@@ -1940,17 +1940,17 @@ void SVGActionWriter::ImplWriteShape( const SVGShapeDescriptor& rShape, sal_Bool
{
// butt is Svg default, so no need to write until the exporter might write styles.
// If this happens, activate here
- // mrExport.AddAttribute(XML_NAMESPACE_NONE, aXMLAttrStrokeLinecap, OUString::createFromAscii("butt"));
+ // mrExport.AddAttribute(XML_NAMESPACE_NONE, aXMLAttrStrokeLinecap, "butt");
break;
}
case com::sun::star::drawing::LineCap_ROUND:
{
- mrExport.AddAttribute(XML_NAMESPACE_NONE, aXMLAttrStrokeLinecap, OUString::createFromAscii("round"));
+ mrExport.AddAttribute(XML_NAMESPACE_NONE, aXMLAttrStrokeLinecap, "round");
break;
}
case com::sun::star::drawing::LineCap_SQUARE:
{
- mrExport.AddAttribute(XML_NAMESPACE_NONE, aXMLAttrStrokeLinecap, OUString::createFromAscii("square"));
+ mrExport.AddAttribute(XML_NAMESPACE_NONE, aXMLAttrStrokeLinecap, "square");
break;
}
}