summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-12-05 15:46:28 +0100
committerAndras Timar <andras.timar@collabora.com>2013-11-05 10:58:43 +0100
commite86c87c663442a67c708080895881dceef4b1f1b (patch)
tree4d8c7eab585a79ce94bbc0c0062b3356955e9288
parent16d33d3263d9d68cfac7bf6532522e2da5c931d1 (diff)
warning C4702: unreachable code
Change-Id: I93b5a0c938b8c0bdf69a03aea0f1aa6bac9fc414 (cherry picked from commit dfd474710f959dcf78038deb990c3618b467ec67) Signed-off-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--sd/source/ui/dlg/RemoteDialog.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/RemoteDialog.cxx b/sd/source/ui/dlg/RemoteDialog.cxx
index f9cff1bc9385..2765eb290a47 100644
--- a/sd/source/ui/dlg/RemoteDialog.cxx
+++ b/sd/source/ui/dlg/RemoteDialog.cxx
@@ -63,9 +63,12 @@ IMPL_LINK_NOARG(RemoteDialog, HandleConnectButton)
return CloseHdl( 0 );
}
else
+ {
return 1;
+ }
+#else
+ return 0;
#endif
- return 0;
}
IMPL_LINK_NOARG( RemoteDialog, CloseHdl )