diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 11:23:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 20:38:35 +0000 |
commit | aa8715e7fe8caaeaee7c73079fa2a63da1ca2945 (patch) | |
tree | 942618c3b49b1ab46f101172361cce63e66b2fb3 /framework/source/layoutmanager | |
parent | 7cfeaa01b5803ed3872cd68846a0bb9ad2e8a370 (diff) |
don't rely on implicit casting
Diffstat (limited to 'framework/source/layoutmanager')
-rw-r--r-- | framework/source/layoutmanager/layoutmanager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index aa6c92dfa585..8e5739732da7 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -817,7 +817,7 @@ void LayoutManager::implts_createCustomToolBar( const rtl::OUString& aTbxResName if ( aTbxResName.getLength() > 0 ) { createElement( aTbxResName ); - if ( aTitle ) + if ( !aTitle.isEmpty() ) { Reference< XUIElement > xUIElement = getElement( aTbxResName ); if ( xUIElement.is() ) |