summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-10 10:14:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-11 11:25:43 +0100
commit941f2c866a98ca7caf71a11732853da012cd25e4 (patch)
treed5879ca5a6c50c8258e62d343f4c90cf9a6127f5 /sd
parentcd3990d1d8f212474dee1c1d989f005e4d9913a4 (diff)
convert more long -> tools::Long
found by grepping and changed by hand. Change-Id: I3c720859dba430fde3abc76c6c5cb58269efaf4b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105512 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx4
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 3f782edaaa2e..8d518c65011d 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -2335,7 +2335,7 @@ void SlideshowImpl::hideChildWindows()
if( pViewFrame->GetChildWindow( nId ) )
{
pViewFrame->SetChildWindow( nId, false );
- mnChildMask |= 1 << i;
+ mnChildMask |= ::tools::ULong(1) << i;
}
}
}
@@ -2349,7 +2349,7 @@ void SlideshowImpl::showChildWindows()
{
for( sal_uLong i = 0; i < SAL_N_ELEMENTS(aShowChildren); i++ )
{
- if( mnChildMask & ( 1 << i ) )
+ if( mnChildMask & ( ::tools::ULong(1) << i ) )
pViewFrame->SetChildWindow( ( *aShowChildren[ i ] )(), true );
}
}
diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx
index bb1a59d271c9..d870d7ec49d3 100644
--- a/sd/source/ui/slideshow/slideshowimpl.hxx
+++ b/sd/source/ui/slideshow/slideshowimpl.hxx
@@ -307,7 +307,7 @@ private:
OUString maCharBuffer;
VclPtr< ::sd::Window> mpOldActiveWindow;
Link<StarBASIC*,bool> maStarBASICGlobalErrorHdl;
- unsigned long mnChildMask;
+ ::tools::ULong mnChildMask;
bool mbDisposed;
bool mbAutoSaveWasOn;
bool mbRehearseTimings;