tdf#95306: Be sure to specify the entire range.
Especially in presence of multiple disjointed selections. Change-Id: I8e7779824109c30e69fd43a2448ae900beaf28d3 Reviewed-on: https://gerrit.libreoffice.org/34140 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
This commit is contained in:
committed by
Kohei Yoshida
parent
d3293c7173
commit
6d450aad0a
@@ -1871,8 +1871,8 @@ void ScViewFunc::SetWidthOrHeight(
|
||||
return;
|
||||
}
|
||||
|
||||
SCCOLROW nStart = rRanges[0].mnStart;
|
||||
SCCOLROW nEnd = rRanges[0].mnEnd;
|
||||
SCCOLROW nStart = rRanges.front().mnStart;
|
||||
SCCOLROW nEnd = rRanges.back().mnEnd;
|
||||
|
||||
bool bFormula = false;
|
||||
if ( eMode == SC_SIZE_OPTIMAL )
|
||||
|
Reference in New Issue
Block a user