summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow/SlideShowRestarter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slideshow/SlideShowRestarter.cxx')
-rw-r--r--sd/source/ui/slideshow/SlideShowRestarter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slideshow/SlideShowRestarter.cxx b/sd/source/ui/slideshow/SlideShowRestarter.cxx
index c18a4aae19d4..d4611afbcf1c 100644
--- a/sd/source/ui/slideshow/SlideShowRestarter.cxx
+++ b/sd/source/ui/slideshow/SlideShowRestarter.cxx
@@ -82,7 +82,7 @@ IMPL_LINK_NOARG(SlideShowRestarter, EndPresentation, void*, void)
mnEventId = nullptr;
if (mpSlideShow.is())
{
- if (mnDisplayCount != (sal_Int32)Application::GetScreenCount())
+ if (mnDisplayCount != static_cast<sal_Int32>(Application::GetScreenCount()))
{
bool bIsExitAfterPresenting = mpSlideShow->IsExitAfterPresenting();
mpSlideShow->SetExitAfterPresenting(false);