Fix typo
Change-Id: Ic4929dd699b4b28572e46c99ce49d95371b54bfc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137624 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
This commit is contained in:
parent
1bdd72e2d7
commit
d4809b45c1
1 changed files with 1 additions and 1 deletions
|
@ -1297,7 +1297,7 @@ IMPL_LINK_NOARG(SvxBorderTabPage, SelStyleHdl_Impl, SvtLineListBox&, void)
|
||||||
sal_Int64 nNewWidth = (nOldMinWidth == nOldWidth) ? nNewMinWidth : nOldWidth;
|
sal_Int64 nNewWidth = (nOldMinWidth == nOldWidth) ? nNewMinWidth : nOldWidth;
|
||||||
|
|
||||||
// if we had selected a predefined border width under SvxBorderLineWidth::Medium set the Medium as default
|
// if we had selected a predefined border width under SvxBorderLineWidth::Medium set the Medium as default
|
||||||
// otherwise if we had a cusom border width under 1.10pt then set the spinner to the maximum allowed value for double border styles
|
// otherwise if we had a custom border width under 1.10pt then set the spinner to the maximum allowed value for double border styles
|
||||||
bool bNewDoubleHairline = m_xLbLineStyle->GetSelectEntryStyle() == SvxBorderLineStyle::DOUBLE_THIN && !m_xLineWidthMF->get_visible() &&
|
bool bNewDoubleHairline = m_xLbLineStyle->GetSelectEntryStyle() == SvxBorderLineStyle::DOUBLE_THIN && !m_xLineWidthMF->get_visible() &&
|
||||||
(nOldWidth == SvxBorderLineWidth::Hairline || nOldWidth == SvxBorderLineWidth::VeryThin || nOldWidth == SvxBorderLineWidth::Thin);
|
(nOldWidth == SvxBorderLineWidth::Hairline || nOldWidth == SvxBorderLineWidth::VeryThin || nOldWidth == SvxBorderLineWidth::Thin);
|
||||||
if (bNewDoubleHairline && nNewWidth < SvxBorderLineWidth::Medium)
|
if (bNewDoubleHairline && nNewWidth < SvxBorderLineWidth::Medium)
|
||||||
|
|
Loading…
Reference in a new issue