diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-09-05 12:54:16 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-09-15 12:58:03 +0200 |
commit | 0d2b5305263b01fbefdc998cfc713e36084d6294 (patch) | |
tree | 83cf41bcb3cf7a20babe0ccb03105baa80c2953c /sw/source/ui | |
parent | 2135e461167dd873fd622e948b88b4194e6854b7 (diff) |
borderline: Adapt ViewContactOfTableObj
Adapted to usage of svx::frame::Style helpers for primitive
creation, need much less SvxBorderLine classes and less
overhead. Class SdrBorderlinePrimitive2D completely removed.
Working on Array::DrawRange to get it using the Coodinate
Systems which are available and include the rotation.
Solved problems in BorderLinePrimitive creation in DrawRange
and DrawArray by completely restucturing these. Also changed
to now return a sequence of primitives to the caller instead
of handing over a primitive renderer and using it for each
single primitve. This is a preparation for later buffering
these and not re-create for each paint.
Have now a working version that uses the Cell used by the Style
and creates all info on the fly, so that the correct coordinate
systems will be used. Works in Calc and it's dialogs with
one or multiple cells.
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/table/tautofmt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/table/tautofmt.cxx b/sw/source/ui/table/tautofmt.cxx index ab2650d8587f..bac50df87ebe 100644 --- a/sw/source/ui/table/tautofmt.cxx +++ b/sw/source/ui/table/tautofmt.cxx @@ -836,7 +836,7 @@ void AutoFormatPreview::PaintCells(vcl::RenderContext& rRenderContext) if (pProcessor2D) { - maArray.DrawArray(*pProcessor2D.get()); + pProcessor2D->process(maArray.CreateB2DPrimitiveArray()); pProcessor2D.reset(); } } |