summaryrefslogtreecommitdiff
path: root/chart2/source/model/inc/StockBar.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/inc/StockBar.hxx')
-rw-r--r--chart2/source/model/inc/StockBar.hxx18
1 files changed, 7 insertions, 11 deletions
diff --git a/chart2/source/model/inc/StockBar.hxx b/chart2/source/model/inc/StockBar.hxx
index b1247e584a63..38f5c2629b4a 100644
--- a/chart2/source/model/inc/StockBar.hxx
+++ b/chart2/source/model/inc/StockBar.hxx
@@ -16,17 +16,14 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CHART2_SOURCE_MODEL_INC_STOCKBAR_HXX
-#define INCLUDED_CHART2_SOURCE_MODEL_INC_STOCKBAR_HXX
+#pragma once
#include <com/sun/star/util/XCloneable.hpp>
-#include <com/sun/star/util/XModifyBroadcaster.hpp>
-#include <com/sun/star/util/XModifyListener.hpp>
-#include <MutexContainer.hxx>
#include <OPropertySet.hxx>
#include <cppuhelper/implbase.hxx>
#include <comphelper/uno3.hxx>
+#include <ModifyListenerHelper.hxx>
namespace chart
{
@@ -41,7 +38,6 @@ typedef ::cppu::WeakImplHelper<
}
class StockBar final :
- public MutexContainer,
public impl::StockBar_Base,
public ::property::OPropertySet
{
@@ -55,8 +51,11 @@ public:
private:
explicit StockBar( const StockBar & rOther );
+ // ____ XTypeProvider ____
+ virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
+
// ____ OPropertySet ____
- virtual css::uno::Any GetDefaultValue( sal_Int32 nHandle ) const override;
+ virtual void GetDefaultValue( sal_Int32 nHandle, css::uno::Any& rAny ) const override;
virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override;
@@ -85,12 +84,9 @@ private:
virtual void firePropertyChangeEvent() override;
using OPropertySet::disposing;
- css::uno::Reference< css::util::XModifyListener > m_xModifyEventForwarder;
+ rtl::Reference<ModifyEventForwarder> m_xModifyEventForwarder;
};
} // namespace chart
-// INCLUDED_CHART2_SOURCE_MODEL_INC_STOCKBAR_HXX
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */