diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-06-22 12:53:04 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-06-24 21:45:42 +0000 |
commit | 126827b0fdc2277d728d57d4fe68b446fa2f7a08 (patch) | |
tree | 47ecea0bb21a5d7619ef6c8870ab276586804194 /framework/source/fwe | |
parent | 51daa4de4fbb86903aeb9cdfefbb089e8d00c001 (diff) |
fdo#43460 framework,i18npool,accessibility: use isEmpty()
Change-Id: I4cd9841127b1d4a294d7f001b646259c61eb1172
Reviewed-on: https://gerrit.libreoffice.org/4443
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'framework/source/fwe')
-rw-r--r-- | framework/source/fwe/helper/titlehelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx index 07bf13d60cc6..dd301e6ad653 100644 --- a/framework/source/fwe/helper/titlehelper.cxx +++ b/framework/source/fwe/helper/titlehelper.cxx @@ -521,7 +521,7 @@ void TitleHelper::impl_appendProductName (OUStringBuffer& sTitle) OUString name(utl::ConfigManager::getProductName()); if (!name.isEmpty()) { - if (sTitle.getLength() != 0) + if (!sTitle.isEmpty()) sTitle.appendAscii(RTL_CONSTASCII_STRINGPARAM(" - ")); sTitle.append(name); } |