summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-09 17:22:11 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-09 20:32:39 +0100
commita2454a42ad2236f0f6b88be166bc7e6a8f90f036 (patch)
tree7f6dfc38cfd617f41c63a17640ec7ef8650a2c45 /desktop
parenteba2ef9504fe4034cbb44840d459d82ab8a141b1 (diff)
fdo#43460: use isEmpty()
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/gui/dp_gui_updatedialog.cxx2
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_misc.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
index 6b79f1da1ebd..cc9da4d783a4 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
@@ -1296,7 +1296,7 @@ IMPL_LINK_NOARG(UpdateDialog, selectionHandler)
}
}
- if ( b.getLength() == 0 )
+ if ( b.isEmpty() )
b.append( m_noDescription );
showDescription( b.makeStringAndClear(), bInserted );
diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
index a3171c888dc8..81388092cc59 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx
@@ -401,7 +401,7 @@ Reference<XComponentContext> connectToOffice(
if (verbose)
dp_misc::writeConsole("OK. Connecting...");
- OSL_ASSERT( buf.getLength() == 0 );
+ OSL_ASSERT( buf.isEmpty() );
buf.appendAscii( "uno:pipe,name=" );
buf.append( pipeId );
buf.appendAscii( ";urp;StarOffice.ComponentContext" );