From e1de8237d5f8d5ac1db3c6eb4567eaffe2e7bd86 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 21 Nov 2011 11:01:56 +0000 Subject: these need to be getStr post OUString-ization --- vcl/win/source/app/salinfo.cxx | 4 ++-- vcl/win/source/gdi/salprn.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl') diff --git a/vcl/win/source/app/salinfo.cxx b/vcl/win/source/app/salinfo.cxx index 9ac68b0f0c78..2db90904e056 100644 --- a/vcl/win/source/app/salinfo.cxx +++ b/vcl/win/source/app/salinfo.cxx @@ -246,8 +246,8 @@ int WinSalSystem::ShowNativeMessageBox(const rtl::OUString& rTitle, const rtl::O ImplHideSplash(); return MessageBoxW( 0, - reinterpret_cast(rMessage.GetBuffer()), - reinterpret_cast(rTitle.GetBuffer()), + reinterpret_cast(rMessage.getStr()), + reinterpret_cast(rTitle.getStr()), nFlags); } diff --git a/vcl/win/source/gdi/salprn.cxx b/vcl/win/source/gdi/salprn.cxx index b8f79d8d1f75..0da87bdcc22b 100644 --- a/vcl/win/source/gdi/salprn.cxx +++ b/vcl/win/source/gdi/salprn.cxx @@ -210,7 +210,7 @@ void WinSalInstance::GetPrinterQueueInfo( ImplPrnQueueList* pList ) void WinSalInstance::GetPrinterQueueState( SalPrinterQueueInfo* pInfo ) { HANDLE hPrinter = 0; - LPWSTR pPrnName = reinterpret_cast(const_cast(pInfo->maPrinterName.GetBuffer())); + LPWSTR pPrnName = reinterpret_cast(const_cast(pInfo->maPrinterName.getStr())); if( OpenPrinterW( pPrnName, &hPrinter, NULL ) ) { DWORD nBytes = 0; -- cgit