diff options
Diffstat (limited to 'chart2/source/inc/ErrorBar.hxx')
-rw-r--r-- | chart2/source/inc/ErrorBar.hxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/chart2/source/inc/ErrorBar.hxx b/chart2/source/inc/ErrorBar.hxx index aa8eecfb4fa1..939b95c739e8 100644 --- a/chart2/source/inc/ErrorBar.hxx +++ b/chart2/source/inc/ErrorBar.hxx @@ -18,7 +18,7 @@ */ #pragma once -#include "MutexContainer.hxx" +#include <config_options.h> #include "charttoolsdllapi.hxx" #include <cppuhelper/implbase.hxx> @@ -35,7 +35,7 @@ #include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/util/Color.hpp> #include <com/sun/star/util/XModifyListener.hpp> -#include <com/sun/star/util/XModifyBroadcaster.hpp> +#include "ModifyListenerHelper.hxx" #include <vector> @@ -57,9 +57,7 @@ typedef ::cppu::WeakImplHelper< ErrorBar_Base; } -class ErrorBar final : - public MutexContainer, - public impl::ErrorBar_Base +class ErrorBar final : public impl::ErrorBar_Base { private: OUString maDashName; @@ -77,7 +75,7 @@ private: sal_Int32 meStyle; public: - OOO_DLLPUBLIC_CHARTTOOLS explicit ErrorBar(); + UNLESS_MERGELIBS(OOO_DLLPUBLIC_CHARTTOOLS) explicit ErrorBar(); virtual ~ErrorBar() override; /// XServiceInfo declarations @@ -132,7 +130,7 @@ private: css::chart2::data::XLabeledDataSequence > > tDataSequenceContainer; tDataSequenceContainer m_aDataSequences; - css::uno::Reference< css::util::XModifyListener > m_xModifyEventForwarder; + rtl::Reference<ModifyEventForwarder> m_xModifyEventForwarder; }; } // namespace chart |