summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2016-07-01 15:20:00 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2016-07-07 22:32:39 +0200
commitc1f476d91805e6a9573bba3ea8f5f980e0ea7b54 (patch)
tree705b0c4b15d2ddc6db531c951ff0fcb5bedf305b /sw
parent3dc8ee7d8eec40093af5df3113ef226bc59220ff (diff)
tdf#99165 avoid passing empty control points for beziers
Some graphic sub systems have problems to create correct geometry for fat line drawing when 'empty' control points are handed over for bezier curves. Avoid this by offering the mathematical correct default in that cases. Change-Id: I20f484ef4537076889d832d83581844690514acc
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/ole/ndole.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx
index 816ceb84c9be..380a0b87c8c4 100644
--- a/sw/source/core/ole/ndole.cxx
+++ b/sw/source/core/ole/ndole.cxx
@@ -1048,7 +1048,9 @@ drawinglayer::primitive2d::Primitive2DContainer SwOLEObj::tryToGetChartContentAs
if(aXModel.is())
{
- static bool bAnynchronousLoadingAllowed = true;
+ // due to some problems in test cases with the SharedOptimalPool,
+ // I need to deactivate this for now
+ static bool bAnynchronousLoadingAllowed = false;
if(bSynchron ||
!bAnynchronousLoadingAllowed ||