[Libreoffice-commits] .: slideshow/source
Radek DoulÃk
rodo at kemper.freedesktop.org
Wed Jan 5 13:48:40 PST 2011
slideshow/source/engine/slide/slideimpl.cxx | 2 +-
slideshow/source/inc/shapeimporter.hxx | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit cffbb336ff4a19b2c70aa728535d2deac98fb7d4
Author: Radek Doulik <rodo at novell.com>
Date: Wed Jan 5 22:43:00 2011 +0100
fix shapes rendering order n#656934
- it was broken for master pages containing group shapes
diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx
index 43eb012..95c047b 100644
--- a/slideshow/source/engine/slide/slideimpl.cxx
+++ b/slideshow/source/engine/slide/slideimpl.cxx
@@ -1140,7 +1140,7 @@ bool SlideImpl::loadShapes()
}
addPolygons(aMPShapesFunctor.getPolygons());
- nCurrCount = xMasterPageShapes->getCount() + 1;
+ nCurrCount = aMPShapesFunctor.getImportedShapesCount();
}
catch( uno::RuntimeException& )
{
diff --git a/slideshow/source/inc/shapeimporter.hxx b/slideshow/source/inc/shapeimporter.hxx
index 0e7023b..384f35b 100644
--- a/slideshow/source/inc/shapeimporter.hxx
+++ b/slideshow/source/inc/shapeimporter.hxx
@@ -103,6 +103,8 @@ public:
*/
bool isImportDone() const;
PolyPolygonVector getPolygons();
+
+ double getImportedShapesCount() { return mnAscendingPrio; }
private:
bool isSkip( ::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet> const& xPropSet,
More information about the Libreoffice-commits
mailing list