summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdtrans.cxx
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-06-18 12:05:03 +0200
committerNoel Power <noel.power@suse.com>2013-06-18 17:33:46 +0000
commit84f1f1d149b6ba95aca8adb7e34b001e102f07fe (patch)
treecdf2ba0af70fc3ddb0536415d4bd8d5e51bbee22 /svx/source/svdraw/svdtrans.cxx
parentcaab53cf21bc38ead3927941795b3c8a1432589a (diff)
fdo#43460 include,registry,svtools,svx,unodevtools: use isEmpty()
Change-Id: I6e35b91092239275694eec3666b076f7ff7e54f6 Reviewed-on: https://gerrit.libreoffice.org/4335 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'svx/source/svdraw/svdtrans.cxx')
-rw-r--r--svx/source/svdraw/svdtrans.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx
index 91e3f77a2f18..60710edb5229 100644
--- a/svx/source/svdraw/svdtrans.cxx
+++ b/svx/source/svdraw/svdtrans.cxx
@@ -925,7 +925,7 @@ void SdrFormatter::TakeStr(long nVal, OUString& rStr) const
}
}
- if(!aStr.getLength())
+ if(aStr.isEmpty())
aStr.insert(aStr.getLength(), aNullCode);
if(bNeg && (aStr.getLength() > 1 || aStr[0] != aNullCode[0]))