svx/sw: set ruby position correctly in the ruby dialog.
Change-Id: I7ddce601bd7204e5696b601c6f8cd16619017aa2 Reviewed-on: https://gerrit.libreoffice.org/54881 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Hung <marklh9@gmail.com>
This commit is contained in:
parent
4534da9dab
commit
45cdce5509
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue