diff options
Diffstat (limited to 'connectivity/source/commontools/FValue.cxx')
-rw-r--r-- | connectivity/source/commontools/FValue.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx index dc302ceb5921..b12170775213 100644 --- a/connectivity/source/commontools/FValue.cxx +++ b/connectivity/source/commontools/FValue.cxx @@ -993,12 +993,9 @@ OUString ORowSetValue::getString( ) const { Any aValue( getAny() ); Reference< XClob > xClob; - if ( aValue >>= xClob ) + if ( (aValue >>= xClob) && xClob.is() ) { - if ( xClob.is() ) - { - aRet = xClob->getSubString(1,static_cast<sal_Int32>(xClob->length()) ); - } + aRet = xClob->getSubString(1,static_cast<sal_Int32>(xClob->length()) ); } } break; |