[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - svx/source
Mark Hung
marklh9 at gmail.com
Fri Jun 1 06:24:59 UTC 2018
svx/source/dialog/rubydialog.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b2a47dd3c63e38c2e37ee8036ee1cddb3bb4c695
Author: Mark Hung <marklh9 at gmail.com>
Date: Sun May 27 21:22:38 2018 +0800
svx/sw: set ruby position correctly in the ruby dialog.
Change-Id: I7ddce601bd7204e5696b601c6f8cd16619017aa2
Reviewed-on: https://gerrit.libreoffice.org/54881
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Mark Hung <marklh9 at gmail.com>
(cherry picked from commit 45cdce55093abb742e4e51de7a1542edd9b9e7b2)
Reviewed-on: https://gerrit.libreoffice.org/55077
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index 5981a76d2910..7d173aaa0974 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -501,7 +501,7 @@ void SvxRubyDialog::Update()
else
m_pAdjustLB->SetNoSelection();
if (nPosition > -1)
- m_pPositionLB->SelectEntryPos(nPosition ? 1 : 0);
+ m_pPositionLB->SelectEntryPos(nPosition);
if (!nLen || (bCharStyleEqual && sCharStyleName.isEmpty()))
sCharStyleName = "Rubies";
if (!sCharStyleName.isEmpty())
More information about the Libreoffice-commits
mailing list