diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-23 10:36:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-23 11:48:37 +0200 |
commit | 5c6c6ebd121a50b293e015d0aa6c0f1e4dc416ae (patch) | |
tree | d996256ab37335cd2581da80ab654f54fc266e0f | |
parent | 51e92859c9433feeca0ccca9238e9ed0848d8470 (diff) |
Revert "vcl: StartPresentationMode should be using a sal_uInt32.."
This reverts commit 9321c560943330fbc76dacfebff67bd740fbc95b.
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/54691
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | include/vcl/wrkwin.hxx | 2 | ||||
-rw-r--r-- | vcl/source/window/wrkwin.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/wrkwin.hxx b/include/vcl/wrkwin.hxx index e062a6c48090..89f240eea9b2 100644 --- a/include/vcl/wrkwin.hxx +++ b/include/vcl/wrkwin.hxx @@ -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) */ diff --git a/vcl/source/window/wrkwin.cxx b/vcl/source/window/wrkwin.cxx index 7352f215a1b3..39d8395e7af8 100644 --- a/vcl/source/window/wrkwin.cxx +++ b/vcl/source/window/wrkwin.cxx @@ -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; |