From 32728f7192906af04f3a1362360097f8475bcfd0 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 4 Dec 2012 09:43:45 +0200 Subject: No member named 'getStr' in 'rtl::OStringConcat' Change-Id: I6e2570569d8f8b6ae55d66e2d99fe1ac4d69a7bc --- connectivity/source/drivers/macab/MacabDriver.cxx | 2 +- connectivity/source/drivers/macab/MacabRecords.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'connectivity/source/drivers/macab') diff --git a/connectivity/source/drivers/macab/MacabDriver.cxx b/connectivity/source/drivers/macab/MacabDriver.cxx index be82f62549f3..ea60ded3156c 100644 --- a/connectivity/source/drivers/macab/MacabDriver.cxx +++ b/connectivity/source/drivers/macab/MacabDriver.cxx @@ -71,7 +71,7 @@ namespace if ( !_rFunction ) { // did not find the symbol - OSL_FAIL( ( ::rtl::OString( "lcl_getFunctionFromModuleOrUnload: could not find the symbol " ) + ::rtl::OString( _pAsciiSymbolName ) ).getStr() ); + OSL_FAIL( ::rtl::OString( ::rtl::OString( "lcl_getFunctionFromModuleOrUnload: could not find the symbol " ) + ::rtl::OString( _pAsciiSymbolName ) ).getStr() ); osl_unloadModule( _rModule ); _rModule = NULL; } diff --git a/connectivity/source/drivers/macab/MacabRecords.cxx b/connectivity/source/drivers/macab/MacabRecords.cxx index 42e1c1ec7349..5ecb54fd84ab 100644 --- a/connectivity/source/drivers/macab/MacabRecords.cxx +++ b/connectivity/source/drivers/macab/MacabRecords.cxx @@ -437,8 +437,8 @@ MacabHeader *MacabRecords::createHeaderForRecordType(const CFArrayRef _records, else { // Couldn't find a required property... - OSL_FAIL((::rtl::OString("MacabRecords::createHeaderForRecordType: could not find required property: ") + - ::rtl::OUStringToOString(CFStringToOUString(requiredProperties[i]), RTL_TEXTENCODING_ASCII_US)).getStr()); + OSL_FAIL(::rtl::OString(::rtl::OString("MacabRecords::createHeaderForRecordType: could not find required property: ") + + ::rtl::OUStringToOString(CFStringToOUString(requiredProperties[i]), RTL_TEXTENCODING_ASCII_US)).getStr()); } } -- cgit