summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2016-02-25 08:09:46 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-02-20 01:38:19 +0100
commita694575f2044d526c71c7ad57e6f80e49f373b6b (patch)
tree68558a42d4cba19a611d1c68e85cb563b4929398
parent5fbcf54de2a35b02a4890c0748d4d3accae75835 (diff)
Linear3DTransformation re-added to headless build
Change-Id: I51ad8a114a21ccd4ec173fe5183daeec6c519673
-rw-r--r--chart2/Library_chartcore.mk2
-rw-r--r--chart2/source/view/main/PlottingPositionHelper.cxx4
2 files changed, 1 insertions, 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 <config_features.h>
-#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;
}