summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/shapeattributelayer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/inc/shapeattributelayer.hxx')
-rw-r--r--slideshow/source/inc/shapeattributelayer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/inc/shapeattributelayer.hxx b/slideshow/source/inc/shapeattributelayer.hxx
index 88405f8eea2a..d725255919d7 100644
--- a/slideshow/source/inc/shapeattributelayer.hxx
+++ b/slideshow/source/inc/shapeattributelayer.hxx
@@ -467,7 +467,7 @@ namespace slideshow
// ShapeAttributeLayer(const ShapeAttributeLayer&);
// ShapeAttributeLayer& operator=( const ShapeAttributeLayer& );
- bool haveChild() const { return mpChild; }
+ bool haveChild() const { return static_cast< bool >(mpChild); }
void updateStateIds();
template< typename T > T calcValue( const T& rCurrValue,