summaryrefslogtreecommitdiff
path: root/framework/inc/uielement/addonstoolbarwrapper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/uielement/addonstoolbarwrapper.hxx')
-rw-r--r--framework/inc/uielement/addonstoolbarwrapper.hxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/framework/inc/uielement/addonstoolbarwrapper.hxx b/framework/inc/uielement/addonstoolbarwrapper.hxx
index 2970ce6d13fa..fc09465eea5a 100644
--- a/framework/inc/uielement/addonstoolbarwrapper.hxx
+++ b/framework/inc/uielement/addonstoolbarwrapper.hxx
@@ -17,16 +17,16 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_UIELEMENT_ADDONSTOOLBARWRAPPER_HXX
-#define INCLUDED_FRAMEWORK_INC_UIELEMENT_ADDONSTOOLBARWRAPPER_HXX
+#pragma once
#include <helper/uielementwrapperbase.hxx>
-
+#include <rtl/ref.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
namespace framework
{
+class ToolBarManager;
class AddonsToolBarWrapper final : public UIElementWrapperBase
{
@@ -48,13 +48,11 @@ class AddonsToolBarWrapper final : public UIElementWrapperBase
private:
css::uno::Reference< css::uno::XComponentContext > m_xContext;
- css::uno::Reference< css::lang::XComponent > m_xToolBarManager;
+ rtl::Reference< ToolBarManager > m_xToolBarManager;
css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > m_aConfigData;
bool m_bCreatedImages;
};
}
-#endif // INCLUDED_FRAMEWORK_INC_UIELEMENT_ADDONSTOOLBARWRAPPER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */