summaryrefslogtreecommitdiffstats
path: root/svgio/source/svgreader/svgtools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svgio/source/svgreader/svgtools.cxx')
-rw-r--r--svgio/source/svgreader/svgtools.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svgio/source/svgreader/svgtools.cxx b/svgio/source/svgreader/svgtools.cxx
index 8e107a7eaae0..2b89f0df6f1b 100644
--- a/svgio/source/svgreader/svgtools.cxx
+++ b/svgio/source/svgreader/svgtools.cxx
@@ -384,7 +384,7 @@ namespace svgio
}
}
- if(aNum.getLength())
+ if(!aNum.isEmpty())
{
rtl_math_ConversionStatus eStatus;
@@ -1248,7 +1248,7 @@ namespace svgio
OUStringBuffer aTokenName;
copyString(rCandidate, nPos, aTokenName, nLen);
- if(aTokenName.getLength())
+ if(!aTokenName.isEmpty())
{
switch(StrToSVGToken(aTokenName.makeStringAndClear()))
{
@@ -1370,7 +1370,7 @@ namespace svgio
skip_char(rCandidate, sal_Unicode(','), sal_Unicode(' '), nPos, nLen);
const OUString aString = aTokenValue.makeStringAndClear();
- if(aString.getLength())
+ if(!aString.isEmpty())
{
rSvgStringVector.push_back(aString);
}
@@ -1406,7 +1406,7 @@ namespace svgio
skip_char(rCandidate, sal_Unicode(' '), sal_Unicode(';'), nPos, nLen);
rMimeType = aBuffer.makeStringAndClear();
- if(rMimeType.getLength() && nPos < nLen)
+ if(!rMimeType.isEmpty() && nPos < nLen)
{
static OUString aStrImage(OUString::createFromAscii("image"));