diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-06-17 11:46:22 +0200 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-06-18 15:09:07 +0000 |
commit | f8d1dcc621b04fd17577905e9b1bdf71f33c7b57 (patch) | |
tree | 386f6bcd4b323646c80810095dc7a57dbe92e0af /svgio/source/svgreader/svgclippathnode.cxx | |
parent | 0b67caf467c2243086f4ad29415d6d95f58838db (diff) |
fdo#43460: Use isEmpty() instead of getLength() in svgio
Change-Id: I31298a08408a14e1ae0d43b474681e6336b08003
Reviewed-on: https://gerrit.libreoffice.org/4340
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'svgio/source/svgreader/svgclippathnode.cxx')
-rw-r--r-- | svgio/source/svgreader/svgclippathnode.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgclippathnode.cxx b/svgio/source/svgreader/svgclippathnode.cxx index f536f5ea3d84..c0858ce98a97 100644 --- a/svgio/source/svgreader/svgclippathnode.cxx +++ b/svgio/source/svgreader/svgclippathnode.cxx @@ -79,7 +79,7 @@ namespace svgio } case SVGTokenClipPathUnits: { - if(aContent.getLength()) + if(!aContent.isEmpty()) { if(aContent.match(commonStrings::aStrUserSpaceOnUse, 0)) { |