diff options
Diffstat (limited to 'chart2/source/controller/inc/ItemConverter.hxx')
-rw-r--r-- | chart2/source/controller/inc/ItemConverter.hxx | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/chart2/source/controller/inc/ItemConverter.hxx b/chart2/source/controller/inc/ItemConverter.hxx index 8d00d90426f4..031a633c22d8 100644 --- a/chart2/source/controller/inc/ItemConverter.hxx +++ b/chart2/source/controller/inc/ItemConverter.hxx @@ -16,8 +16,7 @@ * 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_ITEMCONVERTER_HXX -#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_ITEMCONVERTER_HXX +#pragma once #include <unotools/eventlisteneradapter.hxx> #include <svl/itemset.hxx> @@ -74,7 +73,7 @@ public: reading/writing converted items */ ItemConverter( - const css::uno::Reference< css::beans::XPropertySet > & rPropertySet , + css::uno::Reference< css::beans::XPropertySet > xPropertySet , SfxItemPool& rItemPool ); virtual ~ItemConverter() override; @@ -117,18 +116,9 @@ public: protected: - /** implement this method to provide an array of which-ranges of the form: - - const sal_uInt16 aMyPairs[] = - { - from_1, to_1, - from_2, to_2, - ... - from_n, to_n, - 0 - }; + /** implement this method to provide an array of which-ranges */ - virtual const sal_uInt16 * GetWhichPairs() const = 0; + virtual const WhichRangesContainer& GetWhichPairs() const = 0; /** implement this method to return a Property object for a given which id. @@ -192,7 +182,4 @@ private: } -// INCLUDED_CHART2_SOURCE_CONTROLLER_INC_ITEMCONVERTER_HXX -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |