office-gobmx/svx/source/unodraw
Mike Kaganski 1cfa72a831 IsVertical->IsEffectivelyVertical, GetDirectVertical->GetVertical
Before commit 653b53287c, editengine
objects had a pair IsVertical/SetVertical, which queried and set
a boolean flag (and SetVertical also had a second argument to set
another flag).

The mentioned commit had introduced an inconsistency, changing
SetVertical to only set a single flag, but at the same time making
IsVertical to return a synthesized result from two values: vertical
and rotation. Additionally, GetDirectVertical was introduced to
complement SetVertical.

In many places, the use of synthetic IsVertical looks suspicious,
especially where it is used in combinations with SetVertical. But
here I don't change existing logic, and only rename the methods,
so that in case someone sees an actual problem, it would be easier
to spot the method mismatch.

The end result is that now we have a proper getter/setter pair
GetVertical/SetVertical, and also IsEffectivelyVertical, named to
reflect that it calculates its return value.

Change-Id: I38e2b7c5bd7af0787dd7a1c48e1385138dac80b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119315
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-07-21 14:03:49 +02:00
..
gluepts.cxx
gluepts.hxx
recoveryui.cxx
shapeimpl.hxx
shapepropertynotifier.cxx
SvxXTextColumns.cxx
tableshape.cxx
unobrushitemhelper.cxx
unobtabl.cxx
unoctabl.cxx
unodtabl.cxx
UnoGraphicExporter.cxx
UnoGraphicExporter.hxx
unogtabl.cxx
unohtabl.cxx
unomlstr.cxx
unomod.cxx
unomtabl.cxx Move svl::Items to include/svl/whichranges.hxx, and unify its usage 2021-07-19 16:33:01 +02:00
UnoNameItemTable.cxx
UnoNameItemTable.hxx
UnoNamespaceMap.cxx
unopage.cxx
unopool.cxx
unoprov.cxx
unoshap2.cxx
unoshap3.cxx
unoshap4.cxx
unoshape.cxx Move svl::Items to include/svl/whichranges.hxx, and unify its usage 2021-07-19 16:33:01 +02:00
unoshcol.cxx
unoshtxt.cxx IsVertical->IsEffectivelyVertical, GetDirectVertical->GetVertical 2021-07-21 14:03:49 +02:00
unottabl.cxx
XPropertyTable.cxx