Kaydet (Commit) 64a3b58a authored tarafından Joren De Cuyper's avatar Joren De Cuyper Kaydeden (comit) Petr Mladek

fix fdo#62670 - TABLE: Splitting a table options are mixed

Change-Id: I1ba647844aaae3a57ee91d5785c82ca082d3e10b
Reviewed-on: https://gerrit.libreoffice.org/3042Reviewed-by: 's avatarPetr Mladek <pmladek@suse.cz>
Tested-by: 's avatarPetr Mladek <pmladek@suse.cz>
üst 6f9b1eb8
......@@ -30,7 +30,7 @@ SwSplitTblDlg::SwSplitTblDlg( Window *pParent, SwWrtShell &rSh )
get(mpCntntCopyRB, "copyheading");
get(mpBoxAttrCopyWithParaRB, "customheadingapplystyle");
get(mpBoxAttrCopyNoParaRB, "customheading");
get(mpBorderCopyRB, "customheading");
get(mpBorderCopyRB, "noheading");
}
void SwSplitTblDlg::Apply()
......@@ -38,7 +38,7 @@ void SwSplitTblDlg::Apply()
m_nSplit = HEADLINE_CNTNTCOPY;
if(mpBoxAttrCopyWithParaRB->IsChecked())
m_nSplit = HEADLINE_BOXATRCOLLCOPY;
if(mpBoxAttrCopyNoParaRB->IsChecked())
else if(mpBoxAttrCopyNoParaRB->IsChecked())
m_nSplit = HEADLINE_BOXATTRCOPY;
else if(mpBorderCopyRB->IsChecked())
m_nSplit = HEADLINE_BORDERCOPY;
......@@ -46,6 +46,4 @@ void SwSplitTblDlg::Apply()
rShell.SplitTable(m_nSplit);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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