summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-04 10:05:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-04 10:11:17 +0100
commit10aec5f91f7b11e41ed931df7a1e7388a19d19c6 (patch)
tree3cbf92dc3a4fd81a32fb2235747ec007df73997a /fpicker
parente6a381850951f9e61c82413a489b1e96937624a1 (diff)
Silence -Werror,-Wnon-virtual-dtor
Change-Id: I643c7e8ad12f255822c51a8f295e95f8799ef36a
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx3
-rw-r--r--fpicker/source/win32/folderpicker/FopEvtDisp.hxx3
2 files changed, 6 insertions, 0 deletions
diff --git a/fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx b/fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx
index ae08d3633c2d..3501a37c94f9 100644
--- a/fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx
+++ b/fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx
@@ -45,6 +45,9 @@ class IVistaFilePickerInternalNotify
virtual void onAutoExtensionChanged (bool bChecked) = 0;
virtual bool onFileTypeChanged( UINT nTypeIndex ) = 0;
+
+ protected:
+ ~IVistaFilePickerInternalNotify() {}
};
}}}
diff --git a/fpicker/source/win32/folderpicker/FopEvtDisp.hxx b/fpicker/source/win32/folderpicker/FopEvtDisp.hxx
index 8fc481f03922..ffb35b7d8a37 100644
--- a/fpicker/source/win32/folderpicker/FopEvtDisp.hxx
+++ b/fpicker/source/win32/folderpicker/FopEvtDisp.hxx
@@ -29,6 +29,9 @@ public:
// dispatches a FilePickerEvent to wherever
virtual void SAL_CALL helpRequested( css::lang::EventObject aEvent ) const = 0;
+
+protected:
+ ~CFOPEventDispatcher() {}
};
#endif