diff options
Diffstat (limited to 'cui/source/inc/pastedlg.hxx')
-rw-r--r-- | cui/source/inc/pastedlg.hxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cui/source/inc/pastedlg.hxx b/cui/source/inc/pastedlg.hxx index a4ac2415f9f5..ef4779dddd72 100644 --- a/cui/source/inc/pastedlg.hxx +++ b/cui/source/inc/pastedlg.hxx @@ -39,10 +39,10 @@ class TransferableDataHelper; class SvPasteObjectDialog : public ModalDialog { - FixedText* m_pFtObjectSource; - ListBox* m_pLbInsertList; - OKButton* m_pOKButton; - ::std::map< SotClipboardFormatId, OUString > aSupplementMap; + VclPtr<FixedText> m_pFtObjectSource; + VclPtr<ListBox> m_pLbInsertList; + VclPtr<OKButton> m_pOKButton; + ::std::map< SotFormatStringId, OUString > aSupplementMap; SvGlobalName aObjClassName; OUString aObjName; @@ -55,6 +55,8 @@ class SvPasteObjectDialog : public ModalDialog public: SvPasteObjectDialog( vcl::Window* pParent ); + virtual ~SvPasteObjectDialog(); + virtual void dispose() SAL_OVERRIDE; void Insert( SotClipboardFormatId nFormat, const OUString & rFormatName ); void SetObjName( const SvGlobalName & rClass, const OUString & rObjName ); |