diff options
Diffstat (limited to 'framework/inc/uielement/generictoolbarcontroller.hxx')
-rw-r--r-- | framework/inc/uielement/generictoolbarcontroller.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/framework/inc/uielement/generictoolbarcontroller.hxx b/framework/inc/uielement/generictoolbarcontroller.hxx index c6d867b3b261..26ebeb61ab46 100644 --- a/framework/inc/uielement/generictoolbarcontroller.hxx +++ b/framework/inc/uielement/generictoolbarcontroller.hxx @@ -23,6 +23,7 @@ #include <svtools/toolboxcontroller.hxx> #include <tools/link.hxx> +#include <vcl/vclptr.hxx> class PopupMenu; class ToolBox; @@ -53,11 +54,11 @@ class GenericToolbarController : public svt::ToolboxController DECL_STATIC_LINK( GenericToolbarController, ExecuteHdl_Impl, ExecuteInfo* ); protected: - ToolBox* m_pToolbar; - sal_uInt16 m_nID; - bool m_bEnumCommand : 1, - m_bMadeInvisible : 1; - OUString m_aEnumCommand; + VclPtr<ToolBox> m_pToolbar; + sal_uInt16 m_nID; + bool m_bEnumCommand : 1, + m_bMadeInvisible : 1; + OUString m_aEnumCommand; }; class MenuToolbarController : public GenericToolbarController |