diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-01-14 18:42:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-15 15:43:44 +0100 |
commit | abb6978cabd3ef5d0bf086a388af7be6e144907e (patch) | |
tree | 45a29a23d3d676beec2b08cb495406dfb7c1deea | |
parent | 5448ad57032df1113daf1c3899741febc069d8b3 (diff) |
remove XTransformation UNO API
unused after
commit 18bc9ea75daf4eb3520a4d0ef6649d92261012a6
Date: Tue Jan 11 15:02:14 2022 +0200
replace XTransformation with more efficient class
Change-Id: I9e6bf80d8a8cdba8514ad0e94ce090bdbceab853
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128460
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | chart2/IwyuFilter_chart2.yaml | 6 | ||||
-rw-r--r-- | chart2/inc/pch/precompiled_chartcore.hxx | 1 | ||||
-rw-r--r-- | chart2/source/view/axes/VCartesianGrid.cxx | 1 | ||||
-rw-r--r-- | chart2/source/view/charttypes/BarChart.cxx | 1 | ||||
-rw-r--r-- | chart2/source/view/inc/PlottingPositionHelper.hxx | 1 | ||||
-rw-r--r-- | offapi/UnoApi_offapi.mk | 1 | ||||
-rw-r--r-- | offapi/com/sun/star/chart2/XChartShape.idl | 1 | ||||
-rw-r--r-- | offapi/com/sun/star/chart2/XTransformation.idl | 89 |
8 files changed, 0 insertions, 101 deletions
diff --git a/chart2/IwyuFilter_chart2.yaml b/chart2/IwyuFilter_chart2.yaml index 158680ac2512..da282c91d93b 100644 --- a/chart2/IwyuFilter_chart2.yaml +++ b/chart2/IwyuFilter_chart2.yaml @@ -436,15 +436,9 @@ excludelist: # base class has to be a complete type - boost/shared_array.hpp - map - chart2/source/view/inc/Linear3DTransformation.hxx: - # base class has to be a complete type - - com/sun/star/chart2/XTransformation.hpp chart2/source/view/inc/VLineProperties.hxx: # base class has to be a complete type - com/sun/star/uno/Reference.h - chart2/source/view/inc/VPolarTransformation.hxx: - # base class has to be a complete type - - com/sun/star/chart2/XTransformation.hpp chart2/source/view/axes/DateScaling.hxx: # base class has to be a complete type - com/sun/star/chart2/XScaling.hpp diff --git a/chart2/inc/pch/precompiled_chartcore.hxx b/chart2/inc/pch/precompiled_chartcore.hxx index 15b5bd32bcf8..dd06c9bc8a90 100644 --- a/chart2/inc/pch/precompiled_chartcore.hxx +++ b/chart2/inc/pch/precompiled_chartcore.hxx @@ -147,7 +147,6 @@ #include <com/sun/star/chart2/XDataSeriesContainer.hpp> #include <com/sun/star/chart2/XRegressionCurveCalculator.hpp> #include <com/sun/star/chart2/XRegressionCurveContainer.hpp> -#include <com/sun/star/chart2/XTransformation.hpp> #include <com/sun/star/chart2/data/XDataSequence.hpp> #include <com/sun/star/chart2/data/XDataSink.hpp> #include <com/sun/star/chart2/data/XDataSource.hpp> diff --git a/chart2/source/view/axes/VCartesianGrid.cxx b/chart2/source/view/axes/VCartesianGrid.cxx index d681bf07874b..19e60b4ecabd 100644 --- a/chart2/source/view/axes/VCartesianGrid.cxx +++ b/chart2/source/view/axes/VCartesianGrid.cxx @@ -27,7 +27,6 @@ #include <VLineProperties.hxx> #include <com/sun/star/drawing/PointSequenceSequence.hpp> #include <com/sun/star/drawing/LineStyle.hpp> -#include <com/sun/star/chart2/XTransformation.hpp> #include <memory> #include <vector> diff --git a/chart2/source/view/charttypes/BarChart.cxx b/chart2/source/view/charttypes/BarChart.cxx index 8ac955266e9c..938355192e35 100644 --- a/chart2/source/view/charttypes/BarChart.cxx +++ b/chart2/source/view/charttypes/BarChart.cxx @@ -32,7 +32,6 @@ #include <com/sun/star/chart/DataLabelPlacement.hpp> -#include <com/sun/star/chart2/XTransformation.hpp> #include <com/sun/star/chart2/DataPointGeometry3D.hpp> #include <rtl/math.hxx> #include <sal/log.hxx> diff --git a/chart2/source/view/inc/PlottingPositionHelper.hxx b/chart2/source/view/inc/PlottingPositionHelper.hxx index 81486bcdb669..c0480a4e3b2c 100644 --- a/chart2/source/view/inc/PlottingPositionHelper.hxx +++ b/chart2/source/view/inc/PlottingPositionHelper.hxx @@ -34,7 +34,6 @@ #include <rtl/ref.hxx> #include <svx/unoshape.hxx> -namespace com::sun::star::chart2 { class XTransformation; } namespace com::sun::star::drawing { class XShapes; } namespace com::sun::star::drawing { struct HomogenMatrix; } namespace com::sun::star::drawing { struct PolyPolygonShape3D; } diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 3eb002520e42..68068ab4a864 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -2056,7 +2056,6 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/chart2,\ XTimeBased \ XTitle \ XTitled \ - XTransformation \ )) $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/chart2/data,\ DataSequenceRole \ diff --git a/offapi/com/sun/star/chart2/XChartShape.idl b/offapi/com/sun/star/chart2/XChartShape.idl index 696c31609589..08bab11ce6e5 100644 --- a/offapi/com/sun/star/chart2/XChartShape.idl +++ b/offapi/com/sun/star/chart2/XChartShape.idl @@ -21,7 +21,6 @@ #define com_sun_star_chart2_XChartShape_idl #include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/chart2/XTransformation.idl> #include <com/sun/star/beans/UnknownPropertyException.idl> #include <com/sun/star/beans/PropertyVetoException.idl> #include <com/sun/star/lang/IllegalArgumentException.idl> diff --git a/offapi/com/sun/star/chart2/XTransformation.idl b/offapi/com/sun/star/chart2/XTransformation.idl deleted file mode 100644 index a19ce8839116..000000000000 --- a/offapi/com/sun/star/chart2/XTransformation.idl +++ /dev/null @@ -1,89 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ -#ifndef com_sun_star_chart2_XTransformation_idl -#define com_sun_star_chart2_XTransformation_idl - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/lang/IllegalArgumentException.idl> - -module com -{ -module sun -{ -module star -{ -module chart2 -{ - - // NOTES - - //... provide help for creating the right transformation - // ... access to source and destination coordinate system ? - -/** allows the transformation of numeric values from one - coordinate-system into another. Values may be transformed using - any mapping. - */ -interface XTransformation : ::com::sun::star::uno::XInterface -{ - /** transforms the given input data tuple, given in the source - coordinate system, according to the internal transformation - rules, into a tuple of transformed coordinates in the - destination coordinate system. - - <p>Note that both coordinate systems may have different - dimensions, e.g., if a transformation does simply a projection - into a lower-dimensional space.</p> - - @param aValues a source tuple of data that is to be - transformed. The length of this sequence must be - equivalent to the dimension of the source coordinate - system. - - @return the transformed data tuple. The length of this - sequence is equal to the dimension of the output - coordinate system. - - @throws ::com::sun::star::lang::IllegalArgumentException - if the dimension of the input vector is not equal to the - dimension given in getSourceDimension(). - */ - sequence< double > transform( [in] sequence< double > aValues ) - raises( ::com::sun::star::lang::IllegalArgumentException ); - - /** the dimension of the input coordinate sequence that is to be - transformed by the transform() method. - */ - long getSourceDimension(); - - /** the dimension of the output coordinate sequence that is the - result of the transform() method. - */ - long getTargetDimension(); -}; - -} ; // chart2 -} ; // com -} ; // sun -} ; // star - - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |