[Libreoffice-commits] core.git: svx/source
Mark Hung
marklh9 at gmail.com
Wed May 30 13:03:55 UTC 2018
svx/source/dialog/rubydialog.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 45cdce55093abb742e4e51de7a1542edd9b9e7b2
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>
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