[ooo-build-commit] .: 2 commits - sd/source slideshow/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Oct 6 00:46:57 PDT 2010
sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx | 2 +-
slideshow/source/engine/shapes/shapeimporter.cxx | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 9e1376d2c6cdd3ba6a73584c3852886d69990304
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Oct 5 15:20:20 2010 +0100
#i113072# redundant dereferences
diff --git a/slideshow/source/engine/shapes/shapeimporter.cxx b/slideshow/source/engine/shapes/shapeimporter.cxx
index bbfcfe2..c8a606b 100644
--- a/slideshow/source/engine/shapes/shapeimporter.cxx
+++ b/slideshow/source/engine/shapes/shapeimporter.cxx
@@ -513,12 +513,11 @@ void ShapeImporter::importPolygons(uno::Reference<beans::XPropertySet> const& xP
::basegfx::B2DPolygon aPoly;
basegfx::B2DPoint aPoint;
- for( sal_Int32 nCurrPoly=0; nCurrPoly<pOuterSequence->getLength(); ++nCurrPoly )
+ for( sal_Int32 nCurrPoly=0; nCurrPoly<pOuterSequence->getLength(); ++nCurrPoly, ++pInnerSequence )
{
aPoint.setX((*pInnerSequence).X);
aPoint.setY((*pInnerSequence).Y);
aPoly.append( aPoint );
- *pInnerSequence++;
}
UnoViewVector::const_iterator aIter=(mrContext.mrViewContainer).begin();
UnoViewVector::const_iterator aEnd=(mrContext.mrViewContainer).end();
commit 369f9a773d3a57af739aaca5b840f24036af9ba3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Oct 5 15:12:52 2010 +0100
#i109623# fix warnings
diff --git a/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx b/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx
index c7adcb6..b63794b 100644
--- a/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx
+++ b/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx
@@ -46,7 +46,7 @@ namespace accessibility
mrWindow( rViewWindow ),
mpOutliner( &rOutliner ),
mpOutlinerView( &rOutlView ),
- mTextForwarder( rOutliner, NULL ),
+ mTextForwarder( rOutliner, 0 ),
mViewForwarder( rOutlView )
{
// register as listener - need to broadcast state change messages
More information about the ooo-build-commit
mailing list