summaryrefslogtreecommitdiff
path: root/chart2/source/inc/ChartViewHelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/inc/ChartViewHelper.hxx')
-rw-r--r--chart2/source/inc/ChartViewHelper.hxx23
1 files changed, 14 insertions, 9 deletions
diff --git a/chart2/source/inc/ChartViewHelper.hxx b/chart2/source/inc/ChartViewHelper.hxx
index 48f7c27b6fac..1a6425ffae55 100644
--- a/chart2/source/inc/ChartViewHelper.hxx
+++ b/chart2/source/inc/ChartViewHelper.hxx
@@ -16,24 +16,29 @@
* 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_INC_CHARTVIEWHELPER_HXX
-#define INCLUDED_CHART2_SOURCE_INC_CHARTVIEWHELPER_HXX
+#pragma once
-#include "charttoolsdllapi.hxx"
+#include <config_options.h>
+#include <rtl/ref.hxx>
-namespace com::sun::star::uno { template <class interface_type> class Reference; }
-namespace com::sun::star::frame { class XModel; }
+#include <com/sun/star/uno/Reference.hxx>
+
+namespace com::sun::star::chart2
+{
+class XChartDocument;
+}
namespace chart
{
+class ChartModel;
-class OOO_DLLPUBLIC_CHARTTOOLS ChartViewHelper
+namespace ChartViewHelper
{
-public:
- static void setViewToDirtyState( const css::uno::Reference< css::frame::XModel >& xChartModel );
+void setViewToDirtyState(const rtl::Reference<ChartModel>& xChartModel);
+
+void setViewToDirtyState_UNO(const css::uno::Reference<css::chart2::XChartDocument>& xChartModel);
};
} //namespace chart
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */