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