summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/tools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/tools.cxx')
-rw-r--r--slideshow/source/engine/tools.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/slideshow/source/engine/tools.cxx b/slideshow/source/engine/tools.cxx
index b0f1491fafac..089f473f69ac 100644
--- a/slideshow/source/engine/tools.cxx
+++ b/slideshow/source/engine/tools.cxx
@@ -361,10 +361,7 @@ namespace slideshow
const ::basegfx::B2DVector& /*rSlideBounds*/ )
{
// try to extract string
- if( !(rSourceAny >>= o_rValue) )
- return false; // nothing left to try
-
- return true;
+ return rSourceAny >>= o_rValue;
}
/// extract bool value from Any