summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/dtrans/config.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/dtrans/config.cxx')
-rw-r--r--vcl/unx/generic/dtrans/config.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/dtrans/config.cxx b/vcl/unx/generic/dtrans/config.cxx
index f6e71ff0ed65..7d83f5e6f4a4 100644
--- a/vcl/unx/generic/dtrans/config.cxx
+++ b/vcl/unx/generic/dtrans/config.cxx
@@ -95,7 +95,7 @@ DtransX11ConfigItem::DtransX11ConfigItem() :
if( pValue->getValueTypeClass() == TypeClass_STRING )
{
const OUString* pLine = (const OUString*)pValue->getValue();
- if( pLine->getLength() )
+ if( !pLine->isEmpty() )
{
m_nSelectionTimeout = pLine->toInt32();
if( m_nSelectionTimeout < 1 )