vcl/win/gdi/salprn.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8a27fbebc5bcb69a1b2664a5ffa31e5d8bb7d225 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Nov 27 10:54:48 2020 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Nov 27 13:20:14 2020 +0100 GetLastError returns DWORD Change-Id: I4e886d1d5f94f8a25591c41e9f03300cfba641dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106729 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 d552d17ed96b..0deb814880e4 100644 --- a/vcl/win/gdi/salprn.cxx +++ b/vcl/win/gdi/salprn.cxx @@ -1509,7 +1509,7 @@ bool WinSalPrinter::StartJob( const OUString* pFileName, if ( nRet <= 0 ) { - long nError = GetLastError(); + DWORD nError = GetLastError(); if ( (nRet == SP_USERABORT) || (nRet == SP_APPABORT) || (nError == ERROR_PRINT_CANCELLED) || (nError == ERROR_CANCELLED) ) mnError = SalPrinterError::Abort; else _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits