dba34c: fix for flush and text recognize
This commit is contained in:
parent
263f3a4363
commit
e28d24e20f
2 changed files with 3 additions and 2 deletions
2
dbaccess/source/core/dataaccess/datasource.cxx
Executable file → Normal file
2
dbaccess/source/core/dataaccess/datasource.cxx
Executable file → Normal file
|
@ -204,7 +204,7 @@ void SAL_CALL FlushNotificationAdapter::disposing( const EventObject& Source ) t
|
|||
if ( xListener.is() )
|
||||
xListener->disposing( Source );
|
||||
|
||||
impl_dispose( false );
|
||||
impl_dispose( true );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
|
|
|
@ -447,7 +447,8 @@ sal_Int16 ODatabaseExport::CheckString(const String& aCheckToken, sal_Int16 _nOl
|
|||
if ( eNumLang != LANGUAGE_NONE )
|
||||
{
|
||||
nFormatKey = m_pFormatter->GetFormatForLanguageIfBuiltIn( nFormatKey, eNumLang );
|
||||
m_pFormatter->IsNumberFormat( m_sTextToken, nFormatKey, fOutNumber );
|
||||
if ( !m_pFormatter->IsNumberFormat( m_sTextToken, nFormatKey, fOutNumber ) )
|
||||
return NumberFormat::TEXT;
|
||||
}
|
||||
Reference<XPropertySet> xProp = xFormats->getByKey(nFormatKey);
|
||||
xProp->getPropertyValue(PROPERTY_TYPE) >>= nNumberFormat;
|
||||
|
|
Loading…
Reference in a new issue