From a694575f2044d526c71c7ad57e6f80e49f373b6b Mon Sep 17 00:00:00 2001 From: Oliver Specht Date: Thu, 25 Feb 2016 08:09:46 +0100 Subject: Linear3DTransformation re-added to headless build Change-Id: I51ad8a114a21ccd4ec173fe5183daeec6c519673 --- chart2/Library_chartcore.mk | 2 +- chart2/source/view/main/PlottingPositionHelper.cxx | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/chart2/Library_chartcore.mk b/chart2/Library_chartcore.mk index 55187c9b066b..81b1d45a20e3 100644 --- a/chart2/Library_chartcore.mk +++ b/chart2/Library_chartcore.mk @@ -113,10 +113,10 @@ $(eval $(call gb_Library_add_exception_objects,chartcore,\ chart2/source/view/main/VLineProperties \ chart2/source/view/main/VPolarTransformation \ chart2/source/view/main/VTitle \ + chart2/source/view/main/Linear3DTransformation \ )) ifeq ($(ENABLE_OPENGL),TRUE) $(eval $(call gb_Library_add_exception_objects,chartcore,\ - chart2/source/view/main/Linear3DTransformation \ chart2/source/view/main/3DChartObjects \ chart2/source/model/template/GL3DBarChartType \ chart2/source/model/template/GL3DBarChartTypeTemplate \ diff --git a/chart2/source/view/main/PlottingPositionHelper.cxx b/chart2/source/view/main/PlottingPositionHelper.cxx index 49ab444d9c16..60449b9d7426 100644 --- a/chart2/source/view/main/PlottingPositionHelper.cxx +++ b/chart2/source/view/main/PlottingPositionHelper.cxx @@ -21,9 +21,7 @@ #include "CommonConverters.hxx" #include "ViewDefines.hxx" #include -#if HAVE_FEATURE_OPENGL #include "Linear3DTransformation.hxx" -#endif #include "VPolarTransformation.hxx" #include "AbstractShapeFactory.hxx" #include "PropertyMapper.hxx" @@ -169,9 +167,7 @@ uno::Reference< XTransformation > PlottingPositionHelper::getTransformationScale aMatrix.translate(0.0, 0.0, -MinZ*fScaleZ); aMatrix = m_aMatrixScreenToScene*aMatrix; -#if HAVE_FEATURE_OPENGL m_xTransformationLogicToScene = new Linear3DTransformation(B3DHomMatrixToHomogenMatrix( aMatrix ),m_bSwapXAndY); -#endif } return m_xTransformationLogicToScene; } -- cgit