diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-21 15:43:10 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-21 15:43:10 +0100 |
commit | 3c5dfbfaff63d25a10807ea6314a05e799645433 (patch) | |
tree | 7cd23b7ac5aae7caeb8c06adf6a233fcaca88eb9 /connectivity | |
parent | 94b130129b466a066aa095501123b3ce787db132 (diff) |
RTL_CONSTASCII_USTRINGPARAM in libs core 43
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/dbexception.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/dbexception.cxx b/connectivity/source/commontools/dbexception.cxx index 60addf14828c..ea96f9cb0c9e 100644 --- a/connectivity/source/commontools/dbexception.cxx +++ b/connectivity/source/commontools/dbexception.cxx @@ -221,7 +221,7 @@ void SQLExceptionInfo::prepend( const ::rtl::OUString& _rErrorMessage, const sal SQLException aException; aException.Message = _rErrorMessage; aException.ErrorCode = _nErrorCode; - aException.SQLState = ::rtl::OUString::createFromAscii( _pAsciiSQLState ? _pAsciiSQLState : "S1000" ); + aException.SQLState = _pAsciiSQLState ? ::rtl::OUString::createFromAscii( _pAsciiSQLState ) : ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "S1000" )); aException.NextException = m_aContent; m_aContent <<= aException; |