summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-11-27 10:56:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-11-27 13:49:14 +0100
commitf813a5d68af4e856a260cc1b6ec8813ed99db3bf (patch)
treea7fc88c05484c97313db179d6af038996a41c2b7 /vcl/win
parente99897ff2854c1f37bbbe3cc7bf8738495403f6e (diff)
DocumentPropertiesW returns LONG
Change-Id: I1ee167ef1bca530be9399dd081d7d25bd4155794 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106750 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/gdi/salprn.cxx2
1 files changed, 1 insertions, 1 deletions
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 !!!