summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-01-14 18:42:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-15 15:43:44 +0100
commitabb6978cabd3ef5d0bf086a388af7be6e144907e (patch)
tree45a29a23d3d676beec2b08cb495406dfb7c1deea /offapi
parent5448ad57032df1113daf1c3899741febc069d8b3 (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>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/UnoApi_offapi.mk1
-rw-r--r--offapi/com/sun/star/chart2/XChartShape.idl1
-rw-r--r--offapi/com/sun/star/chart2/XTransformation.idl89
3 files changed, 0 insertions, 91 deletions
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: */