diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/gdi/salprn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/salprn.cxx b/vcl/win/gdi/salprn.cxx index 065b06019635..302d74375f5c 100644 --- a/vcl/win/gdi/salprn.cxx +++ b/vcl/win/gdi/salprn.cxx @@ -1202,7 +1202,7 @@ sal_uInt16 WinSalInfoPrinter::GetPaperBinBySourceIndex( const ImplJobSetup* pSet if (nBins != GDI_ERROR) { auto pBuffer = std::make_unique<sal_uInt16[]>(nBins); - DWORD nBins = ImplDeviceCaps( this, DC_BINS, reinterpret_cast<BYTE*>(pBuffer.get()), pSetupData ); + nBins = ImplDeviceCaps( this, DC_BINS, reinterpret_cast<BYTE*>(pBuffer.get()), pSetupData ); if (nBins != GDI_ERROR) { for (DWORD nBin = 0; nBin < nBins; ++nBin) |