[Libreoffice-commits] .: sd/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 5 06:47:39 PST 2012


 sd/source/ui/dlg/RemoteDialog.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit dfd474710f959dcf78038deb990c3618b467ec67
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Dec 5 15:46:28 2012 +0100

    warning C4702: unreachable code
    
    Change-Id: I93b5a0c938b8c0bdf69a03aea0f1aa6bac9fc414

diff --git a/sd/source/ui/dlg/RemoteDialog.cxx b/sd/source/ui/dlg/RemoteDialog.cxx
index d5c66ca..4d8e755 100644
--- a/sd/source/ui/dlg/RemoteDialog.cxx
+++ b/sd/source/ui/dlg/RemoteDialog.cxx
@@ -72,9 +72,12 @@ IMPL_LINK_NOARG(RemoteDialog, HandleConnectButton)
         return CloseHdl( 0 );
     }
     else
+    {
         return 1;
+    }
+#else
+    return 0;
 #endif
-        return 0;
 }
 
 IMPL_LINK_NOARG( RemoteDialog, CloseHdl )


More information about the Libreoffice-commits mailing list