summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-12-05 15:46:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-12-05 15:47:11 +0100
commitdfd474710f959dcf78038deb990c3618b467ec67 (patch)
tree02d2a620c9b233ef5397e98c1a6d75fa85d6af56 /sd/source
parent149858e94e0c6639ddf7a6de6daf176bbc885320 (diff)
warning C4702: unreachable code
Change-Id: I93b5a0c938b8c0bdf69a03aea0f1aa6bac9fc414
Diffstat (limited to 'sd/source')
-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 d5c66caa6296..4d8e755b7611 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 )