[Libreoffice-commits] core.git: slideshow/source

Stephan Bergmann sbergman at redhat.com
Fri Aug 9 06:10:57 PDT 2013


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

New commits:
commit b3d898c2017a9fd01b5db27c7d00caff311f2127
Author: Stephan Bergmann <sbergman at redhat.com>
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);
     }
 


More information about the Libreoffice-commits mailing list