summaryrefslogtreecommitdiff
path: root/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-20 19:01:12 -0200
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2011-12-21 09:52:48 +0100
commit1835d0599e3d8984c7dfa2bbef2be5747596716a (patch)
treef8b20cd5bcc94ad70e4bca8050b6c885fef29875 /desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx
parent1623b021cf580d3f84d562b638cb034847792401 (diff)
Fix for fdo43460 Part XIII getLength() to isEmpty()
Part XIII Module desktop
Diffstat (limited to 'desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx')
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx
index 2b4ba35c5542..b7b57b27e1d4 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx
@@ -120,7 +120,7 @@ CommandEnvironmentImpl::CommandEnvironmentImpl(
m_option_suppress_license( option_suppressLicense ),
m_xComponentContext(xComponentContext)
{
- if (log_file.getLength() > 0) {
+ if (!log_file.isEmpty()) {
const Any logfile(log_file);
m_xLogFile.set(
xComponentContext->getServiceManager()