[Libreoffice-commits] .: 2 commits - canvas/source
David Tardon
dtardon at kemper.freedesktop.org
Fri Feb 17 09:56:36 PST 2012
canvas/source/vcl/spritecanvashelper.cxx | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
New commits:
commit 48453f3d5d8ba0429d814552c7d9c48a595d539e
Author: David Tardon <dtardon at redhat.com>
Date: Wed Feb 8 15:46:17 2012 +0100
mark parameter as unused
diff --git a/canvas/source/vcl/spritecanvashelper.cxx b/canvas/source/vcl/spritecanvashelper.cxx
index ba4248e..1e3d2dd 100644
--- a/canvas/source/vcl/spritecanvashelper.cxx
+++ b/canvas/source/vcl/spritecanvashelper.cxx
@@ -486,11 +486,9 @@ namespace vclcanvas
_1 ) );
}
- void SpriteCanvasHelper::opaqueUpdate( const ::basegfx::B2DRange& rTotalArea,
+ void SpriteCanvasHelper::opaqueUpdate( SAL_UNUSED_PARAMETER const ::basegfx::B2DRange& rTotalArea ,
const ::std::vector< ::canvas::Sprite::Reference >& rSortedUpdateSprites )
{
- (void)rTotalArea;
-
ENSURE_OR_THROW( mpOwningSpriteCanvas &&
mpOwningSpriteCanvas->getBackBuffer() &&
mpOwningSpriteCanvas->getFrontBuffer(),
commit b24c4e7461fbd3452bc98ce1e945d15b33795c73
Author: David Tardon <dtardon at redhat.com>
Date: Wed Feb 8 15:42:15 2012 +0100
remove unused variable
diff --git a/canvas/source/vcl/spritecanvashelper.cxx b/canvas/source/vcl/spritecanvashelper.cxx
index 5f0b75f..ba4248e 100644
--- a/canvas/source/vcl/spritecanvashelper.cxx
+++ b/canvas/source/vcl/spritecanvashelper.cxx
@@ -454,8 +454,6 @@ namespace vclcanvas
const ::canvas::SpriteRedrawManager::SpriteConnectedRanges::ComponentListType::const_iterator
aFirst( rUpdateArea.maComponentList.begin() );
- ::canvas::SpriteRedrawManager::SpriteConnectedRanges::ComponentListType::const_iterator
- aSecond( aFirst ); ++aSecond;
ENSURE_OR_THROW( aFirst->second.getSprite().is(),
"VCLCanvas::scrollUpdate(): no sprite" );
More information about the Libreoffice-commits
mailing list