[Libreoffice-commits] .: sd/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Sep 19 00:19:21 PDT 2012
sd/source/ui/dlg/RemoteDialog.cxx | 3 ++-
sd/source/ui/dlg/RemoteDialog.hxx | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 610f6a95a3a197ae5a39e7b699961f29ced44e63
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Sep 19 09:18:06 2012 +0200
-Werror,-Wunused-private-field workaround (RemoteDialog)
Change-Id: I6673ec882c40b6cc31b5d42ab3b2f57cd48c9e08
diff --git a/sd/source/ui/dlg/RemoteDialog.cxx b/sd/source/ui/dlg/RemoteDialog.cxx
index 1eb0710..c04e77b 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 ef1cf58..3ef7de1 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: */
More information about the Libreoffice-commits
mailing list