Kaydet (Commit) 11cc1afb authored tarafından vikasmahato's avatar vikasmahato Kaydeden (comit) Heiko Tietze

tdf#40457 - Place captions above tables by default

Change-Id: I2b367a451c03b42120c7599158cc05b8c99e1697
Reviewed-on: https://gerrit.libreoffice.org/47216Reviewed-by: 's avatarHeiko Tietze <tietze.heiko@gmail.com>
Tested-by: 's avatarHeiko Tietze <tietze.heiko@gmail.com>
üst 180fe42c
......@@ -242,7 +242,15 @@ SwCaptionDialog::SwCaptionDialog( vcl::Window *pParent, SwView &rV ) :
m_pPosBox->InsertEntry(SwResId(STR_CAPTION_BEGINNING));
m_pPosBox->InsertEntry(SwResId(STR_CAPTION_END ));
}
m_pPosBox->SelectEntryPos(1);
if (eType & SelectionType::Table)
{
m_pPosBox->SelectEntryPos(0);
}
else
{
m_pPosBox->SelectEntryPos(1);
}
m_pCategoryBox->GetModifyHdl().Call(*m_pCategoryBox);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment