summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow
diff options
context:
space:
mode:
authorthb <thb@openoffice.org>2009-12-16 15:02:20 +0100
committerthb <thb@openoffice.org>2009-12-16 15:02:20 +0100
commitd30bcd05298ef4d1d07ba53f9a78941df0681b6c (patch)
tree733423cd70ee13c266727ebd22ad6b00ee647db3 /sd/source/ui/slideshow
parent967d3ca09c737d657e3efec4121c87ef39af64fa (diff)
eraser01: #i97972# - one more fix for erase all ink
* make sd flags reflect the slideshow state after eraseAllInk was called. Fix is from Metrokid.
Diffstat (limited to 'sd/source/ui/slideshow')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 9fd9bd6694bc..a736f4a88a77 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -3261,6 +3261,8 @@ void SAL_CALL SlideshowImpl::setEraseAllInk( bool bEraseAllInk ) throw (RuntimeE
{
::vos::OGuard aSolarGuard( Application::GetSolarMutex() );
mbEraseAllInk=bEraseAllInk;
+ mbSwitchPenMode = true;
+ mbSwitchEraserMode = false;
if( maPresSettings.mbMouseAsPen )
setUsePen( sal_True ); // update erase all ink bool
}