slideshow/source/engine/slideshowimpl.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit b3d898c2017a9fd01b5db27c7d00caff311f2127
Author: Stephan Bergmann <[email protected]>
Date:   Fri Aug 9 14:17:24 2013 +0200

    -Werror=maybe-uninitialized
    
    Change-Id: Ie6814e8ebb3fa17d545a86d18f5c9a895ab5a0ca

diff --git a/slideshow/source/engine/slideshowimpl.cxx 
b/slideshow/source/engine/slideshowimpl.cxx
index ded62b4..43c5aaa 100644
--- a/slideshow/source/engine/slideshowimpl.cxx
+++ b/slideshow/source/engine/slideshowimpl.cxx
@@ -1799,7 +1799,10 @@ sal_Bool SlideShowImpl::setProperty( 
beans::PropertyValue const& rProperty )
     if ( rProperty.Name == "PointerVisible" )
     {
         bool visible;
-        rProperty.Value >>= visible;
+        if (!(rProperty.Value >>= visible))
+        {
+            return false;
+        }
         mpPointerSymbol->setVisible(visible);
     }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to