summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorAndre Fischer <af@openoffice.org>2009-04-01 11:54:54 +0000
committerAndre Fischer <af@openoffice.org>2009-04-01 11:54:54 +0000
commit789327979618b8e6d6cb1577167e1999010dc23c (patch)
treeee01d476b97fe521788f4cafdf8c4dc06a287fd7 /slideshow
parentd03078d55b74168855596292c8c83708feb63523 (diff)
#i48719# Fixed compilation problem.
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/slide/layermanager.cxx2
-rw-r--r--slideshow/source/engine/slideshowimpl.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/slide/layermanager.cxx b/slideshow/source/engine/slide/layermanager.cxx
index 0ee488cd6102..251cff3a73b3 100644
--- a/slideshow/source/engine/slide/layermanager.cxx
+++ b/slideshow/source/engine/slide/layermanager.cxx
@@ -307,7 +307,7 @@ namespace slideshow
OSL_ASSERT( !maLayers.empty() ); // always at least background layer
ENSURE_OR_THROW( rShape, "LayerManager::implAddShape(): invalid Shape" );
- LayerShapeMap::value_type aValue (rShape, LayerShapeMap::data_type());
+ LayerShapeMap::value_type aValue (rShape, LayerWeakPtr());
OSL_ASSERT( maAllShapes.find(rShape) == maAllShapes.end() ); // shape must not be added already
mbLayerAssociationDirty = true;
diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx
index a23c4b5f35d9..243f378d7223 100644
--- a/slideshow/source/engine/slideshowimpl.cxx
+++ b/slideshow/source/engine/slideshowimpl.cxx
@@ -1464,7 +1464,7 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty )
{
uno::Sequence<uno::Any> aValues;
uno::Reference<presentation::XSlideShowView> xView;
- sal_Bool bValue;
+ sal_Bool bValue (false);
if ((rProperty.Value >>= aValues)
&& aValues.getLength()==2
&& (aValues[0] >>= xView)