summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgcharacternode.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-04-07 12:06:47 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-04-07 14:23:11 +0200
commit1946794ae09ba732022fe6a74ea45e304ab70b84 (patch)
treee32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /svgio/source/svgreader/svgcharacternode.cxx
parent5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff)
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'svgio/source/svgreader/svgcharacternode.cxx')
-rw-r--r--svgio/source/svgreader/svgcharacternode.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx
index 552db36ea939..e6a4a1982a4e 100644
--- a/svgio/source/svgreader/svgcharacternode.cxx
+++ b/svgio/source/svgreader/svgcharacternode.cxx
@@ -43,7 +43,7 @@ namespace svgio
{
}
- void SvgTextPositions::parseTextPositionAttributes(const rtl::OUString& /*rTokenName*/, SVGToken aSVGToken, const rtl::OUString& aContent)
+ void SvgTextPositions::parseTextPositionAttributes(const OUString& /*rTokenName*/, SVGToken aSVGToken, const OUString& aContent)
{
// parse own
switch(aSVGToken)
@@ -130,8 +130,8 @@ namespace svgio
{
if(aContent.getLength())
{
- static rtl::OUString aStrSpacing(rtl::OUString::createFromAscii("spacing"));
- static rtl::OUString aStrSpacingAndGlyphs(rtl::OUString::createFromAscii("spacingAndGlyphs"));
+ static OUString aStrSpacing(OUString::createFromAscii("spacing"));
+ static OUString aStrSpacingAndGlyphs(OUString::createFromAscii("spacingAndGlyphs"));
if(aContent.match(aStrSpacing))
{
@@ -208,7 +208,7 @@ namespace svgio
SvgCharacterNode::SvgCharacterNode(
SvgDocument& rDocument,
SvgNode* pParent,
- const rtl::OUString& rText)
+ const OUString& rText)
: SvgNode(SVGTokenCharacter, rDocument, pParent),
maText(rText)
{
@@ -243,8 +243,8 @@ namespace svgio
if(nLength)
{
// prepare FontAttribute
- const rtl::OUString aFontFamily = rSvgStyleAttributes.getFontFamily().empty() ?
- rtl::OUString(rtl::OUString::createFromAscii("Times New Roman")) :
+ const OUString aFontFamily = rSvgStyleAttributes.getFontFamily().empty() ?
+ OUString(OUString::createFromAscii("Times New Roman")) :
rSvgStyleAttributes.getFontFamily()[0];
const ::FontWeight nFontWeight(getVclFontWeight(rSvgStyleAttributes.getFontWeight()));
bool bSymbol(false);
@@ -257,7 +257,7 @@ namespace svgio
const drawinglayer::attribute::FontAttribute aFontAttribute(
aFontFamily,
- rtl::OUString(),
+ OUString(),
nFontWeight,
bSymbol,
bVertical,
@@ -520,10 +520,10 @@ namespace svgio
void SvgCharacterNode::addGap()
{
- maText += rtl::OUString(sal_Unicode(' '));
+ maText += OUString(sal_Unicode(' '));
}
- void SvgCharacterNode::concatenate(const rtl::OUString& rText)
+ void SvgCharacterNode::concatenate(const OUString& rText)
{
maText += rText;
}