diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-08 17:35:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-10 12:49:48 +0100 |
commit | 3f82d94bdcf707e6cf30403434c3470930bb0b01 (patch) | |
tree | 5b795d19d50ef2d5f91d44f2df9813fa440a75f4 /basic/source/basmgr/basmgr.cxx | |
parent | 0c38c3e0899f50ba2a780ca7c261a622bcf32bb2 (diff) |
String::CreateFromInt32->rtl::OUString::valueOf
Diffstat (limited to 'basic/source/basmgr/basmgr.cxx')
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 81e006bec1ff..5e909b2cebae 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -1525,8 +1525,8 @@ sal_Bool BasicManager::LoadLib( sal_uInt16 nLib ) } else { - StringErrorInfo* pErrInf = new StringErrorInfo( ERRCODE_BASMGR_LIBLOAD, String(), ERRCODE_BUTTON_OK ); - aErrors.push_back(BasicError(*pErrInf, BASERR_REASON_LIBNOTFOUND, String::CreateFromInt32(nLib))); + StringErrorInfo* pErrInf = new StringErrorInfo( ERRCODE_BASMGR_LIBLOAD, rtl::OUString(), ERRCODE_BUTTON_OK ); + aErrors.push_back(BasicError(*pErrInf, BASERR_REASON_LIBNOTFOUND, rtl::OUString::valueOf(static_cast<sal_Int32>(nLib)))); } return bDone; } |