Commit Graph

333 Commits

Author SHA1 Message Date
Miklos Vajna
a2b6518259 sw: unused includes in paintfrm
Change-Id: Iee1e943db369532e88e1d5badcfb5106e9d6ef26
2013-01-29 17:57:56 +01:00
Miklos Vajna
80f5a837f2 SwFrm::PaintBackground: paint gradients in one go
Painting only the necessary regions works fine normal background color,
but not for gradients, as the result is obviously different in case of
gradients.

Change-Id: I624410ed08604c13a810f784d6226d592295c5d3
2013-01-29 15:21:00 +01:00
Miklos Vajna
a1bef744a2 SwXTextFrame: use XFillGradientItem instead of extending SvxBrushItem
Change-Id: I8863cbe1d01fceac0f4b4152264c1464c90e02b8
2013-01-28 13:49:41 +01:00
Miklos Vajna
06de72bea2 SwXTextFrame: use XFillStyleItem instead of extending SvxBrushItem
Change-Id: I03b841ed703503425c9f1a2045d6399c8899815f
2013-01-28 13:49:40 +01:00
Miklos Vajna
0544946eff SwFrm::PaintBackground: paint gradient in layout if SvxBrushItem wants it
Change-Id: I72eec18ac6265fd2e0df06eb68115d1d0034be15
2013-01-25 11:14:49 +01:00
Luboš Luňák
5f75082ef1 incorrect if/for body alignment
I checked history of all the questionable ones, and the itrform2.cxx
one was a genuine error.

Change-Id: Ibfcd8732ba4a66a8c038940ae10f8b27fee466c9
2012-12-20 14:09:49 +01:00
Takeshi Abe
4db2a6f682 sal_Bool to bool
Change-Id: I7b00701ed44bb747a3f85e1638f0f82c1ee15299
2012-11-29 00:26:36 +09:00
Takeshi Abe
fc61f0dbb9 sal_Bool to bool
Change-Id: If000e5980fc7982a21f62b1c90b362abc52019a0
2012-11-27 21:13:32 +09:00
Takeshi Abe
6313953d87 sal_Bool to bool
Change-Id: I31fa2f4a711f01ca134e8a977eb2147637fc7830
2012-11-26 18:52:54 +09:00
Matteo Casalin
53ad646f54 Enforce use of accessors on gen.hxx structures
Change-Id: Icd1b2937fdeaba6de1877258731f53ddf996002e
Reviewed-on: https://gerrit.libreoffice.org/936
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-20 19:32:43 +00:00
Michael Meeks
9b3d96fddd fdo#57059 - fix crasher rendering borders for very small windows. 2012-11-20 09:32:54 +00:00
Michael Meeks
44cfc7cb65 re-base on ALv2 code. Includes (at least) relevant parts of:
linecap: Reintegrating finished LineCap feature
    Patch contributed by Regina Henschel
    http://svn.apache.org/viewvc?view=revision&revision=1232507

    Patches contributed by Sven Jacobi
    impress212: #i81610# fixed animation export
    http://svn.apache.org/viewvc?view=revision&revision=1167620
    impress212: drawinglayer gbuild environment changes
    http://svn.apache.org/viewvc?view=revision&revision=1167627
    http://svn.apache.org/viewvc?view=revision&revision=1167628
    impress212: DffPropSet -> minor code improvements, removing table
    http://svn.apache.org/viewvc?view=revision&revision=1167634
    impress212: #158494# fixed excel import (text rotation)
    http://svn.apache.org/viewvc?view=revision&revision=1167638

    Patches contributed by Armin Le Grand
    Svg: Reintegrated Svg replacement from /branches/alg/svgreplavement
    http://svn.apache.org/viewvc?view=revision&revision=1220836
    #118728# changed indentifying definitions for Svg file detection
    http://svn.apache.org/viewvc?view=revision&revision=1229961
    #118838# LineGeometry creation for complicated cases optimized to
	create single Polygons
    http://svn.apache.org/viewvc?view=revision&revision=1236232
    #119176# corrected file type detection for SVG for svg files
	without xml header
    http://svn.apache.org/viewvc?view=revision&revision=1309445
    #118728# Extended Svg file detection
    http://svn.apache.org/viewvc?view=revision&revision=1230531
    #118529# solve break converters and convert commands for OLEs and images
    http://svn.apache.org/viewvc?view=revision&revision=1186168
    svg: added WaE changes from branch svgreplacement to trunc
    http://svn.apache.org/viewvc?view=revision&revision=1222974
    svg: corrected missing member initialization
    http://svn.apache.org/viewvc?view=revision&revision=1226134
    fix for #118525#: Using primitives for chart sub-geometry visualisation
    http://svn.apache.org/viewvc?view=revision&revision=1226879
    #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert
	metafiles to bitmapEx ...
    http://svn.apache.org/viewvc?view=revision&revision=1293316
    fix for #118525#: removed no longer used variable maOriginalMapMode, one
    more exception eliminated
    http://svn.apache.org/viewvc?view=revision&revision=1227097
    #16758# Added buffering to the VDev usages of the VclProcessor2D derivates...
    http://svn.apache.org/viewvc?view=revision&revision=1229521
    #116758# Secured VDev buffer device to Vcl deinit
    http://svn.apache.org/viewvc?view=revision&revision=1230574
    #116758# added remembering allocated VDevs for VDevBuffer to be able to also
    delete these when vcl goes down; it should never happen, but You never know
    http://svn.apache.org/viewvc?view=revision&revision=1230927
    #118730# Changed SvgClipPathNode to use MaskPrimitive2D for primitive
	representation instead of TransparencePrimitive2D
    http://svn.apache.org/viewvc?view=revision&revision=1231198
    #118822# secured 3D geometry creation (slices) by subdividing the 2D
    source polyPolygon early
    http://svn.apache.org/viewvc?view=revision&revision=1234749
    #118829# enhanced Svg gradient quality, obstacles avoided
    http://svn.apache.org/viewvc?view=revision&revision=1235361
    #118834# Unified usage of TextBreakupHelper as single tooling class
    for i18n text primitive breakup
    http://svn.apache.org/viewvc?view=revision&revision=1236110
    #118853# added square pixel size limit to conversion of
    TransparencePrimitive2D to Metafile action
    http://svn.apache.org/viewvc?view=revision&revision=1237656
    #118824# coreccted mirroring and boundrect when the graphicmanager
    is used for bitmap output
    http://svn.apache.org/viewvc?view=revision&revision=1240097
    #115092# Corrected VclProcessor2D::RenderPolygonStrokePrimitive2D for
    various optimization scenarios
    http://svn.apache.org/viewvc?view=revision&revision=1241434
    #118783# Corrected errors in ID strings, corrected Svg line/fill export,
    corrected polygon close state
    http://svn.apache.org/viewvc?view=revision&revision=1232006
    #118796# corrected null-pointer usage in SVG text exporter
    http://svn.apache.org/viewvc?view=revision&revision=1240262
    #118729# Use GraphicStreamUrl and GraphicUrl to allow multi image
    import with linked graphics, too
    http://svn.apache.org/viewvc?view=revision&revision=1229962
    #118898# corrected error in GDIMetaFile::GetBoundRect in handling
    MetaFloatTransparentAction
    http://svn.apache.org/viewvc?view=revision&revision=1293349
    #118855# Corrected handling of possibly created empty clipRegions
    after PolyPolygon clipping
    http://svn.apache.org/viewvc?view=revision&revision=1237725
	#115962# Better (but not yet optimal, see comments in task) handling
	of MetaFloatTransparentAction in PDF export
	http://svn.apache.org/viewvc?view=revision&revision=1241078
    IP clearance: #118466# This patch removes librsvg, libcroco, libgsf, ...
    http://svn.apache.org/viewvc?view=revision&revision=1200879
    118779# Added svg content streaming in/out to ImpGraphic stream operators
    http://svn.apache.org/viewvc?view=revision&revision=1231908
    linecap: correctons for WaE and mac drawing
    http://svn.apache.org/viewvc?view=revision&revision=1232793
    svg: uses current system Dpi for Svg replacement image creation
    http://svn.apache.org/viewvc?view=revision&revision=1233948

    Patches contributed by Mathias Bauer (and others)
    gnumake4 work variously
    http://svn.apache.org/viewvc?view=revision&revision=1394326
    http://svn.apache.org/viewvc?view=revision&revision=1396797
    http://svn.apache.org/viewvc?view=revision&revision=1397315
    http://svn.apache.org/viewvc?view=revision&revision=1394326
    Remove duplicate header includes.
    cws mba34issues01: #i117720#: convert assertion into warning
    http://svn.apache.org/viewvc?view=revision&revision=1172352
    118485 - Styles for OLEs are not saved. Submitted by Armin Le Grand.
    http://svn.apache.org/viewvc?view=revision&revision=1182166
    cws mba34issues01: #i117714#: remove assertion
    http://svn.apache.org/viewvc?view=revision&revision=1172357

    Patch contributed by Jurgen Schmidt
    add some additional checks to ensure proper reading operations
    http://svn.apache.org/viewvc?view=revision&revision=1209022
    mostly prefer our stream / bounds checking work.

    Patches contributed by Herbert Duerr
    #i118816# add clarifying comment regarding Font::*Color*() methods
    http://svn.apache.org/viewvc?view=revision&revision=1233833
    extend macro->string handling for empty strings
    http://svn.apache.org/viewvc?view=revision&revision=1175801
    avoid magic constants for SALCOLOR_NONE
    http://svn.apache.org/viewvc?view=revision&revision=1177543
    initialize slant properly in ImplFontMetricData constructor (author=iorsh)
    http://svn.apache.org/viewvc?view=revision&revision=1177551
    #i118675# make check for extension updates more stable
    http://svn.apache.org/viewvc?view=revision&revision=1214797
    #a118617# remove VBasicEventListener.dll binary
    There are no known users depending on its CLSID
    http://svn.apache.org/viewvc?view=revision&revision=1203697

    Patches contributed by Ariel Constenla-Haile
    Fix build breaker on Linux/gcc
    http://svn.apache.org/viewvc?view=revision&revision=1221104
    Fix crash when trying to instantiate css.graphic.GraphicRasterizer_RSVG
    http://svn.apache.org/viewvc?view=revision&revision=1215559

    Patches contributed by Oliver-Rainer Wittmann
    sw34bf06: #i117962# - method <SwFlyFrm::IsPaint(..)> - consider
    instances of <SwFlyDrawObj>
    http://svn.apache.org/viewvc?view=revision&revision=1172120
    sw34bf06: #i117783# - Writer's implementation of XPagePrintable -
    apply print settings to new printing routines
    http://svn.apache.org/viewvc?view=revision&revision=1172115

    gnumake4 work variously from Hans-Joachim Lankenau
    http://svn.apache.org/viewvc?view=revision&revision=1397315
    http://svn.apache.org/viewvc?view=revision&revision=1396797
    http://svn.apache.org/viewvc?view=revision&revision=1396782
    http://svn.apache.org/viewvc?view=revision&revision=1394707
    plus some amount of re-splitting of legacy headers.

    Patch contributed by Pavel Janik
    WaE: Remove unused variables.
    http://svn.apache.org/viewvc?view=revision&revision=1230697

    Patches contributed by Takashi Ono
    mingwport35: i#117795: MinGW port fix for vcl2gnumake
    http://svn.apache.org/viewvc?view=revision&revision=1172091
    mingwport35: i#117795: MinGW port fix for vcl2gnumake
    http://svn.apache.org/viewvc?view=revision&revision=1172091

    Patch contributed by Christian Lippka
    impress212: #i98044# re enable Text menu for outline and title shapes
    http://svn.apache.org/viewvc?view=revision&revision=1167639

    Patch contributed by Andre Fischer
    118674: Made category B code optional and disabled by default.
    http://svn.apache.org/viewvc?view=revision&revision=1215131
    118881: Ignore empty paragraphs after bullets.
    http://svn.apache.org/viewvc?view=revision&revision=1296205

    Patches contributed by Philipp Lohmann
    ooo340fixes: #i117780# use rtl allocator
    http://svn.apache.org/viewvc?view=revision&revision=1172087
    ooo34gsl02: #i117807# fix an off by one error (index actually
    inside the pfb section header)
    http://svn.apache.org/viewvc?view=revision&revision=1167576

various cleanups, related compilation fixes, warning cleanups, re-working
of obsolete stl template pieces to use boost instead, changed string
classes, re-adapt KDE about data, about dialog, fixing warnings,
and other fixes & improvements.
Disable svg import / render for about/ branding code-paths for now.
Restore full icon theme set.
Remove OS/2 conditionals and sources.
Remove conflicting gtk/full-screen monitors support.
Retain existing svg rasterizer files - temporarily disabled.
Standardize stringificaiton and fixup dllpostfix issues.
Rename SvgGradientHelper::== to equalTo to avoid overloading issues.
Use the flat GdiPlus API for LineCaps calls.
2012-11-06 11:58:16 +00:00
Julien Nabet
cc4568e576 WaE -Wunused-function
Change-Id: I201ee3b1092fce188d2bbc90aeb93059b175a03e
2012-10-12 20:37:23 +02:00
Luboš Luňák
21d10c6f32 mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html

Change-Id: I21e12d6a4dfb9697d2346a4e564e96af0ad03f96
2012-10-12 16:56:54 +02:00
Takeshi Abe
4520f7471f sal_Bool to bool
Change-Id: I75936bc66b0621de5e62f8e3a35a38fa85dcfcef
2012-09-22 05:42:23 +09:00
Miklos Vajna
18b3feb8be n#778133 sw: add BackgroundParaOverDrawings compat flag
In Word, the layer that contains a background image is behind the layer
that contains the paragraph background. In Writer, the paragraph
background is painted before the hell layer. Add a compat flag to change
the order, so the DOCX importer can trigger that.

To reproduce, create an XShape, send it to the background, set some
color for a paragraph background, and notice that the background color
is missing where the shape is behind the text.

Change-Id: I9b1fffd9ac9a6e5a1c3d1f65371440047d125b38
2012-09-12 10:03:18 +02:00
Stephan Bergmann
84db94e97b -Werror,-Wunused-private-field (various sw)
Change-Id: Ib2becb2af810da0fa3d24bd0aa21887d41e2f34c
2012-09-11 17:11:12 +02:00
Tor Lillqvist
31c1971f8e Avoid assertion failure when rendering thumbnails of some pages
Change-Id: I5331ae27d8e492a8094e1904ba3af143c7c1a0e5
2012-09-06 17:32:57 +03:00
Cédric Bosdonnat
8af09bf332 n#777699: Clip the objects to the pagewe are painting
Change-Id: I78ac7de5346a2adea9a2c6cf3cbb0321e05d79dc
2012-09-04 12:59:52 +02:00
Miklos Vajna
c5b9c197d7 fdo#53439 SwPageFrm::PaintBorderAndShadow fix painting at small zoom
Change-Id: I235895caaf95225148e61d96f4c3b14bf9f5542e
2012-08-13 16:05:08 +02:00
Miklos Vajna
cf7bd48527 n#773515 SwPageFrm::PaintBorderAndShadow fix shadow color on partial redraw
How to reproduce: if you have a paragraph of text, and hit Enter in the
middle of the paragraph, the frame around the document below the cursor
position gets darker. Regression from
f23d055dbe.

Change-Id: I41f9972b9be8d3ea02b52c0bc7355b012b41395d
2012-08-08 10:29:40 +02:00
Mathieu Vonlanthen
0bdf6fc7c7 Bug 48549 - System::Beep() removal
Change-Id: I011048912af051a762a78af8646513a1fc624073
2012-07-30 05:20:02 +02:00
Noel Grandin
e7cda38616 Convert SV_DECL_VARARR(SwRects) to std::vector
Change-Id: I7fa9380fad92d6667ccd9a635b2d26f700aa780e
2012-07-26 14:30:10 +02:00
Michael Stahl
02e80d2e43 fdo#39812: Writer: fix collapsing merged table border painting:
Create a table with a merged cell like in the screenshot in the
bug, with a SAL_DEBUG in SwTabFrmPainter::PaintLines the following
lines are painted:

debug: paint start
1 debug: start: 2749,1488 end: 12387,1488
2 debug: start: 2749,1945 end: 7567,1945
3 debug: start: 7567,1945 end: 12387,1945
4 debug: start: 2749,2015 end: 12387,2015
5 debug: start: 2749,2542 end: 7567,2542
6 debug: start: 7567,2542 end: 12387,2542
7 debug: start: 2749,1488 end: 2749,1945
8 debug: start: 2749,1945 end: 2749,2015
9 debug: start: 2749,2015 end: 2749,2542
A debug: start: 7567,1945 end: 7567,2542
B debug: start: 12387,1488 end: 12387,1945
C debug: start: 12387,1945 end: 12387,2015
D debug: start: 12387,2015 end: 12387,2542
debug: paint end

*11111*11111*
7           B
7           B
*22222*33333*
8     A     C
*44444*44444*
9     A     D
9     A     D
*55555*66666*

The problem is obviously that the Y coordinates of the lines 2, 3
and 4 differ; they should be on the same Y position.
The problem here is that logically horizontal lines must be painted
not centered but "below" the line, and It turns out that
SwTabFrmPainter::Insert cannot correct the positions properly to
do that, because it only looks at borders in a single cell.

When using the UI to set the borders, we get (for innner table borders)
only a bottom border in the cells, but no top borders, so the
top position of the logically vertical borders needs to be corrected
with the width of the bottom border of the cell _above_; a symmetric
correction of the bottom position to the top border of the cell below
is also necessary.

Fortunately if we just leave the positons alone in Insert then
TabFrmPainter will eliminate duplicate lines with equal positions
and so it's only necessary to correct the positions when actually
painting the line in wTabFrmPainter::PaintLines,
where we have the neighboring lines available.

Change-Id: Ia8519f6673db0f3a1ecaa68038896cac39609129
2012-07-23 14:34:28 +02:00
Rafael Dominguez
5eb74b1fca Merge branch 'feature/template-dialog'
Conflicts:
	sfx2/Library_sfx.mk
	sfx2/inc/sfx2/sfxcommands.h
	sfx2/inc/sfx2/sfxsids.hrc
	sfx2/source/appl/appserv.cxx
	svtools/Library_svt.mk

Change-Id: I4305d81cb5fd6f5192a29f85835c78f31310b0d6
2012-07-06 05:23:43 -04:30
Michael Stahl
8b45939485 replace enum SvxBorderStyle with css::table::BorderLineSyle
Change-Id: I1dadb53f46b23f92d34061ef78dda872bdbcda67
2012-07-04 17:55:45 +02:00
Michael Stahl
d0bbbfdef6 fdo#39415: sw: fix vertical collapsing border painting:
For borders in vertically oriented text it's necessary to correct
positions at different sides, i.e., right and left instead of
top and bottom; refactor SwTabFrmPainter::Insert some more
to handle this properly.

Change-Id: If20b9477415e9bd12e63aab4eed2f070065eb473
2012-06-28 14:15:15 +02:00
Michael Stahl
3a4b7c3555 fdo#39415: sw: fix collapsing border painting more:
There is a special case for i#9860, which is for first line in follow
table (i.e. continued on new page) without repeated headlines:
Here the bottom border of the cell is used as the top border in case
the cell does not have a top border; this is fixed now with a bit of
refactoring, so the correct half width adjustment can be made.

Change-Id: I58ef81b7e13544014ef75973ea793f673a242488
2012-06-28 14:15:15 +02:00
Michael Stahl
aa8240e803 fdo#39415: sw: fix collapsing border painting:
In a table with collapsing borders, the horizontal borders  need to be
painted "below" the reference line, and not "centered" on the line like
the vertical borders.
a0486f0243 was apparently an attempt to
fix this, but unfortunately it adjusted both top and bottom borders
with the top border width, which has horrible results if the top and
bottom borders have different widths.

Change-Id: I7605eda6ef8111612ceb1ded79c0811de9ca7b25
2012-06-28 14:15:14 +02:00
Michael Stahl
30f76f083a SwTabFrmPainter::Insert: remove clutter
Change-Id: I2390151acf1c71f9ad7416357b5b34230c9672a6
2012-06-28 14:15:14 +02:00
Thomas Arnhold
1b72dd9e1c Remove some unused locals
Change-Id: I91282512f15122d0d7187fea7f6ab5a98933a07f
2012-06-28 11:08:49 +02:00
Noel Grandin
e0b82cafce Convert local variable from Svptrarr to std::vector
Change-Id: I1fc34aa0beffd487c80313e3fed2db158578a6ad
2012-06-25 20:13:17 +02:00
Michael Stahl
463e59d680 rename SvxBorderLine::SetStyle to something unambiguous
Change-Id: Iec70985319a64cdc3630e15499ac304a7f1aabae
2012-06-25 12:46:17 +02:00
Caolán McNamara
c3f2401d49 reduce scope and replace some String::CreateFromAscii
Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8
2012-06-21 15:07:52 +01:00
Cédric Bosdonnat
eb1c174f26 moved createBaseProcessor2DFromOutputDevice to drawinglayer module
Change-Id: Ia1c30f93eb20f88d989987265b1ddbc964deb390
2012-06-13 19:11:53 +02:00
Tor Lillqvist
08dedb5ea1 Bin MA_FASTCALL nonsense
Change-Id: Ifebc06daf56ee0e4dc29d592afba5a07575c99af
2012-06-01 14:29:08 +03:00
Michael Stahl
3f6d3a4045 fdo#44010: fix vertical text frame borders:
Frames with text direction Vertical RTL have their borders mangled while
painting, everything is rotated 90 degrees and so the model "left" border
ends up being painted as top border etc.  Clearly the new drawing layer
based painting code is very surprised by this and ends up painting only
points instead of lines.
(regression from 0f0896c26f)
2012-05-11 22:15:36 +02:00
Caolán McNamara
8a0685d49f make ResId::toString a non-static member
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-30 11:22:09 +01:00
Michael Stahl
e731a98b79 argh i am so stupid
merge the 2 conflicting fixes to SwLineRects::ConnectEdges in
33ee840e7b into something that maybe works.
2012-04-27 16:14:36 +02:00
Michael Stahl
33ee840e7b fix STL conversion e94c4ab552 harder
looping vector iterators and push_back/erase don't mix well
2012-04-20 12:57:49 +02:00
Michael Stahl
b08e9f3023 fdo#38635: sw: fix border corner gaps:
The start and end points of the vertical and adjacent horizontal borders
were apart by 1.5 to 3 twips, leading to small visible gaps in the corners.
This is fixed by using lcl_AlignWidth/lcl_AlignHeight on the border widths,
and by always computing the start/end positions from the outer edge,
which makes the horizontal and vertical start/end points match.
(regression from 0f0896c26f)
2012-04-17 22:35:42 +02:00
Michael Stahl
44092833d3 fdo#38215: forgot idiotic C++ syntax (fix 0868a0155a) 2012-04-16 16:35:59 +02:00
Michael Stahl
502c93143e fdo#38635: fix border printing:
Apparently this special case in lcl_PaintLeftRightLine for printer
output devices is no longer necessary with the new drawing layer borders
and causes the vertical border lines to be far too short, leading to
visible gaps in the PDF.
(regression from 0f0896c26f)
2012-04-16 16:14:18 +02:00
Michael Stahl
0868a0155a fdo#38215: merge consecutive border lines:
This re-implements the merging that was done by SwLineRects::AddLineRect,
SwLineRect::MakeUnion with the drawing layer border lines.
This is used to merge borders of paragraphs and of tables that have the
"separating" border-model, which fixes both the tiny dividing gaps
between successive borders in the second bugdoc and the weird subtly
differently rendered successive borders in the first bugdoc.
(regression from 0f0896c26f)
2012-04-16 16:14:17 +02:00
Michael Stahl
1d5e263a12 sw: create horizontal border lines with start left and end right 2012-04-16 16:14:16 +02:00
Luboš Luňák
87e2f7709b remove unused variables 2012-04-13 21:10:30 +02:00
Michael Stahl
5913506b21 fdo#45562: paint borders in SwFlyFrm::Paint:
Painting borders of Flys in the heaven layer cannot be done correctly in
SwRootFrm::Paint, because delaying until then paints over other drawing
objects that are on top of the frame, so do it in SwFlyFrm::Paint,
like the old border painting code used to.
(regression from 804d0a8967)
2012-04-05 12:34:54 +02:00
Caolán McNamara
2f36279079 use a vector instead of a deque when deque extras unneeded, they're faster 2012-03-28 13:08:54 +01:00
Caolán McNamara
9cab649ccb Resolves: fdo#47865 insertions into deque invalidate nLastCount 2012-03-27 22:37:37 +01:00
Stephan Bergmann
8945f1bc85 Fix recent paintfrm.cxx regressions
...as reported by Linux-RHEL6-x86_64@14-with-check tinderbox.

For one, e94c4ab552 "Conver SV VARARR to
std::deque for sw module." did not use rbegin/rend to iterate backwards.

For another, e94c4ab552 and subsequent
1a41271403 "fixed crash due to use of STL deque
for SwLineRects" failed to get the nested loop "Remove all help line that are
almost covered (tables)" at the start of SwSubsRects::PaintSubsidiary converted
correctly.  This attempt here at fixing it models the original behavior (before
conversion) more closely, and hopefully gets it right now.
2012-03-26 12:07:45 +02:00