[Libreoffice-commits] core.git: vcl/win

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Nov 27 12:49:55 UTC 2020


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

New commits:
commit f813a5d68af4e856a260cc1b6ec8813ed99db3bf
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Nov 27 10:56:25 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Nov 27 13:49:14 2020 +0100

    DocumentPropertiesW returns LONG
    
    Change-Id: I1ee167ef1bca530be9399dd081d7d25bd4155794
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106750
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/vcl/win/gdi/salprn.cxx b/vcl/win/gdi/salprn.cxx
index 0deb814880e4..e7a6936364f5 100644
--- a/vcl/win/gdi/salprn.cxx
+++ b/vcl/win/gdi/salprn.cxx
@@ -281,7 +281,7 @@ static bool ImplTestSalJobSetup( WinSalInfoPrinter const * pPrinter,
         BYTE const * pDriverData = reinterpret_cast<BYTE const *>(pSalDriverData) + pSalDriverData->mnDriverOffset;
         pDevModeW = reinterpret_cast<DEVMODEW const *>(pDriverData);
 
-        long nSysJobSize = -1;
+        LONG nSysJobSize = -1;
         if( pPrinter && pDevModeW )
         {
             // just too many driver crashes in that area -> check the dmSpecVersion and dmDriverVersion fields always !!!


More information about the Libreoffice-commits mailing list