Kaydet (Commit) e1de8237 authored tarafından Caolán McNamara's avatar Caolán McNamara

these need to be getStr post OUString-ization

üst 6dc68200
...@@ -246,8 +246,8 @@ int WinSalSystem::ShowNativeMessageBox(const rtl::OUString& rTitle, const rtl::O ...@@ -246,8 +246,8 @@ int WinSalSystem::ShowNativeMessageBox(const rtl::OUString& rTitle, const rtl::O
ImplHideSplash(); ImplHideSplash();
return MessageBoxW( return MessageBoxW(
0, 0,
reinterpret_cast<LPCWSTR>(rMessage.GetBuffer()), reinterpret_cast<LPCWSTR>(rMessage.getStr()),
reinterpret_cast<LPCWSTR>(rTitle.GetBuffer()), reinterpret_cast<LPCWSTR>(rTitle.getStr()),
nFlags); nFlags);
} }
......
...@@ -210,7 +210,7 @@ void WinSalInstance::GetPrinterQueueInfo( ImplPrnQueueList* pList ) ...@@ -210,7 +210,7 @@ void WinSalInstance::GetPrinterQueueInfo( ImplPrnQueueList* pList )
void WinSalInstance::GetPrinterQueueState( SalPrinterQueueInfo* pInfo ) void WinSalInstance::GetPrinterQueueState( SalPrinterQueueInfo* pInfo )
{ {
HANDLE hPrinter = 0; HANDLE hPrinter = 0;
LPWSTR pPrnName = reinterpret_cast<LPWSTR>(const_cast<sal_Unicode*>(pInfo->maPrinterName.GetBuffer())); LPWSTR pPrnName = reinterpret_cast<LPWSTR>(const_cast<sal_Unicode*>(pInfo->maPrinterName.getStr()));
if( OpenPrinterW( pPrnName, &hPrinter, NULL ) ) if( OpenPrinterW( pPrnName, &hPrinter, NULL ) )
{ {
DWORD nBytes = 0; DWORD nBytes = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment