summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-19 09:18:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-19 09:18:06 +0200
commit610f6a95a3a197ae5a39e7b699961f29ced44e63 (patch)
tree45714b809c6cf371e2294bedcc3cfefe02196138
parent61b37c8bf4d1f536cf591b5356e7e10bfe72052c (diff)
-Werror,-Wunused-private-field workaround (RemoteDialog)
Change-Id: I6673ec882c40b6cc31b5d42ab3b2f57cd48c9e08
-rw-r--r--sd/source/ui/dlg/RemoteDialog.cxx4
-rw-r--r--sd/source/ui/dlg/RemoteDialog.hxx2
2 files changed, 4 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/RemoteDialog.cxx b/sd/source/ui/dlg/RemoteDialog.cxx
index 1eb0710d4a57..c04e77b3bf54 100644
--- a/sd/source/ui/dlg/RemoteDialog.cxx
+++ b/sd/source/ui/dlg/RemoteDialog.cxx
@@ -43,6 +43,8 @@ RemoteDialog::RemoteDialog( Window *pWindow ) :
mButtonConnect.SetClickHdl( LINK( this, RemoteDialog, HandleConnectButton ) );
SetCloseHdl( LINK( this, RemoteDialog, CloseHdl ) );
mButtonCancel.SetClickHdl( LINK( this, RemoteDialog, CloseHdl ) );
+#else
+ (void) mPreviouslyDiscoverable; // avoid warnings about unused member
#endif
}
@@ -83,4 +85,4 @@ IMPL_LINK_NOARG( RemoteDialog, CloseHdl )
return 0;
}
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/dlg/RemoteDialog.hxx b/sd/source/ui/dlg/RemoteDialog.hxx
index ef1cf58b2222..3ef7de15d53d 100644
--- a/sd/source/ui/dlg/RemoteDialog.hxx
+++ b/sd/source/ui/dlg/RemoteDialog.hxx
@@ -42,4 +42,4 @@ public:
#endif // _SD_REMOTEDIALOG_HXX_
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */