From 10aec5f91f7b11e41ed931df7a1e7388a19d19c6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 4 Mar 2016 10:05:44 +0100 Subject: [PATCH] Silence -Werror,-Wnon-virtual-dtor Change-Id: I643c7e8ad12f255822c51a8f295e95f8799ef36a --- .../source/win32/filepicker/IVistaFilePickerInternalNotify.hxx | 3 +++ fpicker/source/win32/folderpicker/FopEvtDisp.hxx | 3 +++ 2 files changed, 6 insertions(+) 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