vcl/win/gdi/salprn.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eea7dfeabe47e645334e625bc2620cc987ded516
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Fri Feb 23 19:55:56 2024 +0600
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Fri Feb 23 17:03:44 2024 +0100

    Fix build
    
    ... after commit 8b191a6566065438417665af32fa30f8346ad4df and commit
    ff23937c34d8d6a0870bb326a52192535f7b4810 collided.
    
    Change-Id: If7001d7a3231041f77856fc6c1914c33c430197b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163828
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/vcl/win/gdi/salprn.cxx b/vcl/win/gdi/salprn.cxx
index 5fd3886312e3..0ff4a51bbc3e 100644
--- a/vcl/win/gdi/salprn.cxx
+++ b/vcl/win/gdi/salprn.cxx
@@ -1221,7 +1221,7 @@ sal_uInt16  
WinSalInfoPrinter::GetSourceIndexByPaperBin(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 && nBins > nPaperBin)
         {
             return *(pBuffer.get() + nPaperBin);

Reply via email to