summaryrefslogtreecommitdiff
path: root/chart2/source/controller/inc/TabPageNotifiable.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/inc/TabPageNotifiable.hxx')
-rw-r--r--chart2/source/controller/inc/TabPageNotifiable.hxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/chart2/source/controller/inc/TabPageNotifiable.hxx b/chart2/source/controller/inc/TabPageNotifiable.hxx
index d9ba555887fd..c0b53972e546 100644
--- a/chart2/source/controller/inc/TabPageNotifiable.hxx
+++ b/chart2/source/controller/inc/TabPageNotifiable.hxx
@@ -16,8 +16,9 @@
* 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_CONTROLLER_INC_TABPAGENOTIFIABLE_HXX
-#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_TABPAGENOTIFIABLE_HXX
+#pragma once
+
+#include <sal/types.h>
// color to use as foreground for an invalid range
#define RANGE_SELECTION_INVALID_RANGE_FOREGROUND_COLOR COL_WHITE
@@ -28,12 +29,11 @@ class BuilderPage;
namespace chart
{
-
-class TabPageNotifiable
+class SAL_LOPLUGIN_ANNOTATE("crosscast") TabPageNotifiable
{
public:
- virtual void setInvalidPage( BuilderPage * pTabPage ) = 0;
- virtual void setValidPage( BuilderPage * pTabPage ) = 0;
+ virtual void setInvalidPage(BuilderPage* pTabPage) = 0;
+ virtual void setValidPage(BuilderPage* pTabPage) = 0;
protected:
~TabPageNotifiable() {}
@@ -41,7 +41,4 @@ protected:
} // namespace chart
-// INCLUDED_CHART2_SOURCE_CONTROLLER_INC_TABPAGENOTIFIABLE_HXX
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */