Fix typos
Change-Id: I67ea0d54a06f1280ccdbc1ce65b940d78df701b3 Reviewed-on: https://gerrit.libreoffice.org/48827 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
077e0f3b64
commit
8f9941d5ed
@@ -1069,7 +1069,7 @@ drawinglayer::primitive2d::Primitive2DContainer Array::CreateB2DPrimitiveRange(
|
|||||||
// lower of the upper CellBorder and thus have graphical parts that are
|
// lower of the upper CellBorder and thus have graphical parts that are
|
||||||
// displayed one cell below and right/left of the target cell - analog to
|
// displayed one cell below and right/left of the target cell - analog to
|
||||||
// other examples in all other directions.
|
// other examples in all other directions.
|
||||||
// It would be possible to explicitely test this (if possible by indices at all)
|
// It would be possible to explicitly test this (if possible by indices at all)
|
||||||
// looping and testing the styles in the outer cells to detect this, but since
|
// looping and testing the styles in the outer cells to detect this, but since
|
||||||
// for other usages (e.g. UI) usually nFirstRow==0 and nLastRow==GetRowCount()-1
|
// for other usages (e.g. UI) usually nFirstRow==0 and nLastRow==GetRowCount()-1
|
||||||
// (and analog for Col) it is okay to just expand the range when available.
|
// (and analog for Col) it is okay to just expand the range when available.
|
||||||
@@ -1119,7 +1119,7 @@ drawinglayer::primitive2d::Primitive2DContainer Array::CreateB2DPrimitiveRange(
|
|||||||
// the needed transformations.
|
// the needed transformations.
|
||||||
const bool bRotated(rCell.IsRotated());
|
const bool bRotated(rCell.IsRotated());
|
||||||
|
|
||||||
// Additionally avoid double-handling by supressing handling when self not roated,
|
// Additionally avoid double-handling by suppressing handling when self not rotated,
|
||||||
// but above/left is rotated and thus already handled. Two directly connected
|
// but above/left is rotated and thus already handled. Two directly connected
|
||||||
// rotated will paint/create both edges, they might be rotated differently.
|
// rotated will paint/create both edges, they might be rotated differently.
|
||||||
const bool bSuppressAbove(!bRotated && nRow > nFirstRow && CELL(nCol, nRow - 1).IsRotated());
|
const bool bSuppressAbove(!bRotated && nRow > nFirstRow && CELL(nCol, nRow - 1).IsRotated());
|
||||||
|
@@ -343,7 +343,7 @@ namespace sdr
|
|||||||
|
|
||||||
// If RTL, mirror the whole unified table in X and move right.
|
// If RTL, mirror the whole unified table in X and move right.
|
||||||
// This is much easier than taking this into account for the whole
|
// This is much easier than taking this into account for the whole
|
||||||
// index calcualtions
|
// index calculations
|
||||||
if(bIsRTL)
|
if(bIsRTL)
|
||||||
{
|
{
|
||||||
aTransform.scale(-1.0, 1.0);
|
aTransform.scale(-1.0, 1.0);
|
||||||
|
Reference in New Issue
Block a user