vcl/win/gdi/salprn.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f813a5d68af4e856a260cc1b6ec8813ed99db3bf Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Nov 27 10:56:25 2020 +0100 Commit: Stephan Bergmann <sberg...@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 <sberg...@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 !!! _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits