summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorStefan Heinemann <stefan.heinemann@codedump.ch>2015-09-25 13:06:09 +0200
committerMichael Stahl <mstahl@redhat.com>2015-09-29 18:33:40 +0000
commitc50eb68af3096645246a77259bb3d1cc70eb6b63 (patch)
treea3f9442fa2d2c13464d1623f8bcf772b27426e72 /slideshow
parent491c2e24ac110c9ebdb1a483c34ae3d14ab0d615 (diff)
Renamed wrongly prefixed boolean variables
Fixed tdf#94269 Change-Id: I63109cc4e095bad680d7637a065080ea368860ae Reviewed-on: https://gerrit.libreoffice.org/18851 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/slideshowimpl.cxx22
-rw-r--r--slideshow/source/engine/tools.cxx6
2 files changed, 14 insertions, 14 deletions
diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx
index 9a145ddf8f13..db5f13547ae0 100644
--- a/slideshow/source/engine/slideshowimpl.cxx
+++ b/slideshow/source/engine/slideshowimpl.cxx
@@ -1586,14 +1586,14 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
//adding support for erasing features in UserPaintOverlay
if ( rProperty.Name == "EraseAllInk" )
{
- bool nEraseAllInk(false);
- if (rProperty.Value >>= nEraseAllInk)
+ bool bEraseAllInk(false);
+ if (rProperty.Value >>= bEraseAllInk)
{
OSL_ENSURE( mbMouseVisible,
"setProperty(): User paint overrides invisible mouse" );
// enable user paint
- maEraseAllInk.reset( nEraseAllInk );
+ maEraseAllInk.reset( bEraseAllInk );
maEventMultiplexer.notifyEraseAllInk( *maEraseAllInk );
}
@@ -1602,15 +1602,15 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
if ( rProperty.Name == "SwitchPenMode" )
{
- bool nSwitchPenMode(false);
- if (rProperty.Value >>= nSwitchPenMode)
+ bool bSwitchPenMode(false);
+ if (rProperty.Value >>= bSwitchPenMode)
{
OSL_ENSURE( mbMouseVisible,
"setProperty(): User paint overrides invisible mouse" );
- if(nSwitchPenMode){
+ if(bSwitchPenMode){
// Switch to Pen Mode
- maSwitchPenMode.reset( nSwitchPenMode );
+ maSwitchPenMode.reset( bSwitchPenMode );
maEventMultiplexer.notifySwitchPenMode();
}
}
@@ -1619,14 +1619,14 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
if ( rProperty.Name == "SwitchEraserMode" )
{
- bool nSwitchEraserMode(false);
- if (rProperty.Value >>= nSwitchEraserMode)
+ bool bSwitchEraserMode(false);
+ if (rProperty.Value >>= bSwitchEraserMode)
{
OSL_ENSURE( mbMouseVisible,
"setProperty(): User paint overrides invisible mouse" );
- if(nSwitchEraserMode){
+ if(bSwitchEraserMode){
// switch to Eraser mode
- maSwitchEraserMode.reset( nSwitchEraserMode );
+ maSwitchEraserMode.reset( bSwitchEraserMode );
maEventMultiplexer.notifySwitchEraserMode();
}
}
diff --git a/slideshow/source/engine/tools.cxx b/slideshow/source/engine/tools.cxx
index 04edb7197121..1c4677394e1e 100644
--- a/slideshow/source/engine/tools.cxx
+++ b/slideshow/source/engine/tools.cxx
@@ -373,11 +373,11 @@ namespace slideshow
const ShapeSharedPtr& /*rShape*/,
const ::basegfx::B2DVector& /*rSlideBounds*/ )
{
- bool nTmp;
+ bool bTmp;
// try to extract bool value
- if( (rSourceAny >>= nTmp) )
+ if( (rSourceAny >>= bTmp) )
{
- o_rValue = nTmp;
+ o_rValue = bTmp;
// succeeded
return true;