summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/shapeattributelayerholder.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/inc/shapeattributelayerholder.hxx')
-rw-r--r--slideshow/source/inc/shapeattributelayerholder.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/inc/shapeattributelayerholder.hxx b/slideshow/source/inc/shapeattributelayerholder.hxx
index e53be462cee2..22ce4f3ceec5 100644
--- a/slideshow/source/inc/shapeattributelayerholder.hxx
+++ b/slideshow/source/inc/shapeattributelayerholder.hxx
@@ -83,7 +83,7 @@ namespace slideshow
if( mpShape )
mpAttributeLayer = mpShape->createAttributeLayer();
- return mpAttributeLayer;
+ return static_cast< bool >(mpAttributeLayer);
}
ShapeAttributeLayerSharedPtr get() const