Kaydet (Commit) 5c6c6ebd authored tarafından Noel Grandin's avatar Noel Grandin

Revert "vcl: StartPresentationMode should be using a sal_uInt32.."

This reverts commit 9321c560.

This is just plain wrong. Both the call sites and the function that this
method in turn calls want to use sal_Int32. It doesn't seem to cause any
actual problems, but that's probably just lucky.

Change-Id: Id77867094b9c7c209edd8b575c9203aee6515ff3
Reviewed-on: https://gerrit.libreoffice.org/54691Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 51e92859
......@@ -84,7 +84,7 @@ public:
void StartPresentationMode( bool bPresentation,
PresentationFlags nFlags,
sal_uInt32 nDisplayScreen );
sal_Int32 nDisplayScreen );
/**
@overload void StartPresentationMode( PresentationFlags nFlags, sal_uInt32 nDisplayScreen)
*/
......
......@@ -160,7 +160,7 @@ void WorkWindow::StartPresentationMode( PresentationFlags nFlags )
return StartPresentationMode( false/*bPresentation*/, nFlags, GetScreenNumber());
}
void WorkWindow::StartPresentationMode( bool bPresentation, PresentationFlags nFlags, sal_uInt32 nDisplayScreen )
void WorkWindow::StartPresentationMode( bool bPresentation, PresentationFlags nFlags, sal_Int32 nDisplayScreen )
{
if ( !bPresentation == !mbPresentationMode )
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment