summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-05 14:03:50 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-09 09:53:47 +0900
commit9d5b66bb81c1649f07e93d7ca28789473c387e11 (patch)
treed438b0d984ec8ef2a9702035c46a949b6bb1e879 /include/sfx2
parent5d15076a3d40e8961fac5e83b2d5654e8c5ae984 (diff)
unique_ptr for SfxTemplatePanelControl pImpl
Change-Id: Ia073d28181d0894e1ec8baddd53d4ac943f69557
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/templdlg.hxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/sfx2/templdlg.hxx b/include/sfx2/templdlg.hxx
index 9db1a356685a..a3237d345bd9 100644
--- a/include/sfx2/templdlg.hxx
+++ b/include/sfx2/templdlg.hxx
@@ -38,20 +38,19 @@ namespace SfxTemplate
class SfxTemplateDialog_Impl;
-// class SfxTemplatePanelControl -----------------------------------------
class SFX2_DLLPUBLIC SfxTemplatePanelControl : public DockingWindow
{
public:
SfxTemplatePanelControl (SfxBindings* pBindings, vcl::Window* pParentWindow);
virtual ~SfxTemplatePanelControl();
- virtual void DataChanged( const DataChangedEvent& _rDCEvt ) SAL_OVERRIDE;
- virtual void Resize() SAL_OVERRIDE;
- virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
- void FreeResource (void);
+ virtual void DataChanged( const DataChangedEvent& _rDCEvt ) SAL_OVERRIDE;
+ virtual void Resize() SAL_OVERRIDE;
+ virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
+ void FreeResource (void);
private:
- SfxTemplateDialog_Impl* pImpl;
+ const std::unique_ptr<SfxTemplateDialog_Impl> pImpl;
SfxBindings* mpBindings;
};