Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
Change all instances of hardcoded "program", "share" etc subfolder names to
use those from <config_folders.h> instead. In normal builds, the end result
will not change.
Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
do not use them where not needed
(cherry picked from commit 4ccb1eb7d58005ab3b501b7c6ff128fadbcd5066)
Conflicts:
basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx
basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
basegfx/inc/basegfx/tuple/b2dtuple.hxx
basegfx/inc/basegfx/tuple/b3dtuple.hxx
sc/source/ui/inc/output.hxx
sc/source/ui/view/gridwin.cxx
sc/source/ui/view/output.cxx
vcl/win/source/gdi/salgdi.cxx
Change-Id: Ie265814a51180bffe3c821a3f2148cb3bb54ecad
using a heuristic that assumes a glyph with unknown char mapping
is the continuation of the preceding glyph. If there is no known
preceding mapping use the run bounds.
(cherry picked from commit 576e4ea626e1c1ffcf9d025e692db62fed8c3cab)
Change-Id: I70e58a02d814e14e9592ff8efc0ae630346ae5df
...this e.g. prevents endless recursion when broken JVM detection leads to a
message box that in turn tries to instantiate a Java-based service from
LinguServiceManager.
Change-Id: I0e78ab3ea05ce16544846803d5bb84c789a61eef
... because:
1) frame painted as a line doesn't make sense to me anyway;
2) it leads to x = 1 or y = 1 in createBlendFrame, while the max value for that
variable is "width (or height) - 1", i.e. 0.
Change-Id: I7437bce6681e42cb57458c012927cf5d6bfc154f
Seemingly if this is done in the other order, then ImplUpdateFontData
reads the old font list into mpGraphics leaving pointers around that
are then freed by ClearDevFontCache -> GlyphCache::ClearFontCache
Change-Id: I06fdc428c782820dd9f98cf77dc0eef486a096ee
linear gradients in VCL renderers
Patch by: Regina
Review by: alg
(cherry picked from commit 94205034afa2abe9ab73b2f5d0c76f295a7889c9)
Conflicts:
vcl/source/gdi/outdev4.cxx
Change-Id: I8b66bb1b9155253e138c7ebb4fc3e0686bae7913
...I see no good reason to make the code from bmpconv.cxx available to
vcl/unx/generic/dtrans/ in a complicated way via UNO, instead of calling it
there directly.
Change-Id: I4f2e53c4610e8e19c96e1230a5c5ef034aab80da
The main problem is calling SetHyphPos with a stack pointer.
Converting STRING_LEN <-> -1 can't hurt though.
(regression from a2f6402b1f)
Change-Id: I59a4e3b16b418082de468c7d7f7f38a9b0bccd01
This code is bogus in multiple ways:
* It scales text based on ascent or descent, but this makes no sense
as those control line height and nothing else, if one is to scale two
different fonts to “fit” together, cap or x height would be more
appropriate. This results in some text being ridiculously shrunk.
* Not only that, but it is comparing apples to oranges; original font
ascent/descent with the bounding box of the fallback glyphs, which
results in different scale ratios depending on the shape of the glyphs
at hand, which leads to all sorts of funny and irregular text.
* Even worse, the PDF export is completely broken in this case; it uses
the scaled down glyph widths but the unscaled font size, resulting in
cramped unreadable text.
Change-Id: Iaa6117ecfdad8388887d9a03b538e7327544ad5e
Reviewed-on: https://gerrit.libreoffice.org/4293
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Commit e717d1dcce interacts badly with
commit 7b2a0e5415:
the newly added "long" variables serialized to SvStream with
operator>>/<< now read/write 8 bytes.
Using "long" for binary serialized integers is an idiotic idea in the
first place.
Change-Id: I9432c1bb2c339e797c064371f2cbdcfec2200994
This is "collateral damage" from the actual bug, and is broken since CVS
initial import (which likely means that in practice no bare MetaActions
exist), but the MetaAction::Read() must not read the type from the
stream since MetaAction::ReadMetaAction() has already done that!
Change-Id: I9ab06ec3112c1eefb86ab70ddfa2f588af257b88