diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-13 16:27:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-14 08:17:31 +0200 |
commit | c22ac891a3fa99908f0dcce730a83c34e7e9d7fa (patch) | |
tree | c0c706a44ef90022024afb4a97411a6f87381d76 /svgio/source/svgreader/svgstyleattributes.cxx | |
parent | 99a1f38156aefd7ac3e578ebea74e4bbecdc64dc (diff) |
remove unnecessary sal_Unicode casts in SVGIO module
Change-Id: Ie463f500bd8c5af37e99fb9e1a8d1fd5b2cd0766
Diffstat (limited to 'svgio/source/svgreader/svgstyleattributes.cxx')
-rw-r--r-- | svgio/source/svgreader/svgstyleattributes.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 0e8be846a6fc..ecddfbf3a5e9 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -179,16 +179,16 @@ namespace svgio while(nPos < nLen) { const sal_Int32 nInitPos(nPos); - skip_char(rCandidate, sal_Unicode(' '), nPos, nLen); + skip_char(rCandidate, ' ', nPos, nLen); OUStringBuffer aTokenName; copyString(rCandidate, nPos, aTokenName, nLen); if(!aTokenName.isEmpty()) { - skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(':'), nPos, nLen); + skip_char(rCandidate, ' ', ':', nPos, nLen); OUStringBuffer aTokenValue; - copyToLimiter(rCandidate, sal_Unicode(';'), nPos, aTokenValue, nLen); - skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(';'), nPos, nLen); + copyToLimiter(rCandidate, ';', nPos, aTokenValue, nLen); + skip_char(rCandidate, ' ', ';', nPos, nLen); const OUString aOUTokenName(aTokenName.makeStringAndClear()); const OUString aOUTokenValue(aTokenValue.makeStringAndClear()); @@ -2244,7 +2244,7 @@ namespace svgio if(maFontSize.isSet()) { // #122524# Handle Unit_percent realtive to parent FontSize (see SVG1.1 - // spec 10.10 Font selection properties font-size, lastline (klick 'normative + // spec 10.10 Font selection properties \91font-size\92, lastline (klick 'normative // definition of the property') if(Unit_percent == maFontSize.getUnit()) { |