summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/gio
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/gio')
-rw-r--r--ucb/source/ucp/gio/gio_content.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx
index ed8eedbadf41..7bb39eb616a3 100644
--- a/ucb/source/ucp/gio/gio_content.cxx
+++ b/ucb/source/ucp/gio/gio_content.cxx
@@ -712,7 +712,7 @@ css::uno::Sequence< css::uno::Any > Content::setPropertyValues(
continue;
}
- if ( aNewTitle.getLength() <= 0 )
+ if ( aNewTitle.isEmpty() )
{
aRet[ n ] <<= css::lang::IllegalArgumentException
( "Empty title not allowed!",