summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-04-22 17:33:22 +0200
committerPetr Mladek <pmladek@suse.cz>2011-04-22 17:33:22 +0200
commit9a74979cafb52b6bd024a5bf8e14c99c1d6703b7 (patch)
treeef834db394417972f1ffe0eeb898cfd170602154
parent97ce8d30f48f9961b8da375a231c69f9869bde9b (diff)
svx-honour-customshape-capabilities.diff (bnc#395372)
this bug started to be visible after enabling wordwrap in shapes (bnc#171052)
-rw-r--r--svx/source/svdraw/svdoashp.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx
index 5fdd50c08f..9e7ab56790 100644
--- a/svx/source/svdraw/svdoashp.cxx
+++ b/svx/source/svdraw/svdoashp.cxx
@@ -1668,6 +1668,16 @@ void SdrObjCustomShape::TakeObjInfo(SdrObjTransformInfoRec& rInfo) const
{
rInfo.bCanConvToContour = aInfo.bCanConvToContour;
}
+
+ if(rInfo.bShearAllowed != aInfo.bShearAllowed)
+ {
+ rInfo.bShearAllowed = aInfo.bShearAllowed;
+ }
+
+ if(rInfo.bEdgeRadiusAllowed != aInfo.bEdgeRadiusAllowed)
+ {
+ rInfo.bEdgeRadiusAllowed = aInfo.bEdgeRadiusAllowed;
+ }
}
}
}