summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-05 08:49:50 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-09 09:53:46 +0900
commitf0835373898edf650acb015188b0990f7f0eade6 (patch)
tree6401fda47dbbc6512ca9fa3219cf206a34efb962 /include
parent0c2245a455a006aa9fcac83c208898f0fd4c63a8 (diff)
use std::unique_ptr for Impl in SvxStyleToolBoxControl
Change-Id: Ia01755ee617002ef2c234e29b1edd497b031ef8a
Diffstat (limited to 'include')
-rw-r--r--include/svx/tbcontrl.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/tbcontrl.hxx b/include/svx/tbcontrl.hxx
index 049d299c86e5..329bb208145b 100644
--- a/include/svx/tbcontrl.hxx
+++ b/include/svx/tbcontrl.hxx
@@ -155,6 +155,8 @@ namespace svx
class SVX_DLLPUBLIC SvxStyleToolBoxControl : public SfxToolBoxControl
{
struct Impl;
+ std::unique_ptr<Impl> pImpl;
+
public:
SFX_DECL_TOOLBOX_CONTROL();
@@ -189,7 +191,6 @@ private:
css::uno::Reference<css::lang::XComponent> m_xBoundItems[MAX_FAMILIES];
SfxTemplateItem* pFamilyState[MAX_FAMILIES];
sal_uInt16 nActFamily; // Id in the ToolBox = Position - 1
- Impl* pImpl;
SVX_DLLPRIVATE void Update();
SVX_DLLPRIVATE void FillStyleBox();