diff options
Diffstat (limited to 'dbaccess/source/filter/xml/xmlfilter.cxx')
-rw-r--r-- | dbaccess/source/filter/xml/xmlfilter.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx index d84704722eee..5b2e76546b03 100644 --- a/dbaccess/source/filter/xml/xmlfilter.cxx +++ b/dbaccess/source/filter/xml/xmlfilter.cxx @@ -133,7 +133,7 @@ sal_Int32 ReadThroughComponent( } // success! - return 0; + return ERRCODE_NONE; } @@ -165,12 +165,12 @@ sal_Int32 ReadThroughComponent( // do we even have an alternative name? if ( nullptr == pCompatibilityStreamName ) - return 0; + return ERRCODE_NONE; // if so, does the stream exist? sStreamName = OUString::createFromAscii(pCompatibilityStreamName); if ( !xStorage->hasByName( sStreamName ) || !xStorage->isStreamElement( sStreamName ) ) - return 0; + return ERRCODE_NONE; } // get input stream @@ -340,7 +340,7 @@ bool ODBFilter::implImport( const Sequence< PropertyValue >& rDescriptor ) ,this ); - if ( nRet == 0 ) + if ( nRet == ERRCODE_NONE ) nRet = ReadThroughComponent( xStorage ,xModel ,"content.xml" @@ -349,7 +349,7 @@ bool ODBFilter::implImport( const Sequence< PropertyValue >& rDescriptor ) ,this ); - bRet = nRet == 0; + bRet = nRet == ERRCODE_NONE; if ( bRet ) { |