summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-06-18 20:02:13 +0200
committerNoel Power <noel.power@suse.com>2013-06-19 10:11:34 +0000
commitb5f3f55ce59b400f885c41413a3087e3406a424d (patch)
tree628d13a01c81cdc944a7c03f03cce387deece1b5 /xmlsecurity
parentad09b2f7efac628ac4261b86f9fd085f83ebe717 (diff)
fdo#43460 unoxml,writerfilter,xmlsecurity: use isEmpty()
Change-Id: Iba3b39086212803bc41384f5c8f51e42712a5249 Reviewed-on: https://gerrit.libreoffice.org/4349 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/dialogs/resourcemanager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/dialogs/resourcemanager.cxx b/xmlsecurity/source/dialogs/resourcemanager.cxx
index 2611960df028..d9279b1fa335 100644
--- a/xmlsecurity/source/dialogs/resourcemanager.cxx
+++ b/xmlsecurity/source/dialogs/resourcemanager.cxx
@@ -284,7 +284,7 @@ vector< pair< OUString, OUString> > parseDN(const OUString& rRawString)
}
}
}
- if (sbufValue.getLength())
+ if (!sbufValue.isEmpty())
{
OSL_ASSERT(!sType.isEmpty());
retVal.push_back(make_pair(sType, sbufValue.makeStringAndClear()));