summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ucb/source/ucp/cmis/cmis_content.cxx2
-rw-r--r--ucb/source/ucp/gio/gio_content.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx
index 23c3f625de19..82a0ff409da2 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -1472,7 +1472,7 @@ namespace cmis
continue;
}
- if ( aNewTitle.getLength() <= 0 )
+ if ( aNewTitle.isEmpty() )
{
aRet[ n ] <<= lang::IllegalArgumentException
( "Empty title not allowed!",
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!",