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 ) ...@@ -30,7 +30,7 @@ SwSplitTblDlg::SwSplitTblDlg( Window *pParent, SwWrtShell &rSh )
get(mpCntntCopyRB, "copyheading"); get(mpCntntCopyRB, "copyheading");
get(mpBoxAttrCopyWithParaRB, "customheadingapplystyle"); get(mpBoxAttrCopyWithParaRB, "customheadingapplystyle");
get(mpBoxAttrCopyNoParaRB, "customheading"); get(mpBoxAttrCopyNoParaRB, "customheading");
get(mpBorderCopyRB, "customheading"); get(mpBorderCopyRB, "noheading");
} }
void SwSplitTblDlg::Apply() void SwSplitTblDlg::Apply()
...@@ -38,7 +38,7 @@ void SwSplitTblDlg::Apply() ...@@ -38,7 +38,7 @@ void SwSplitTblDlg::Apply()
m_nSplit = HEADLINE_CNTNTCOPY; m_nSplit = HEADLINE_CNTNTCOPY;
if(mpBoxAttrCopyWithParaRB->IsChecked()) if(mpBoxAttrCopyWithParaRB->IsChecked())
m_nSplit = HEADLINE_BOXATRCOLLCOPY; m_nSplit = HEADLINE_BOXATRCOLLCOPY;
if(mpBoxAttrCopyNoParaRB->IsChecked()) else if(mpBoxAttrCopyNoParaRB->IsChecked())
m_nSplit = HEADLINE_BOXATTRCOPY; m_nSplit = HEADLINE_BOXATTRCOPY;
else if(mpBorderCopyRB->IsChecked()) else if(mpBorderCopyRB->IsChecked())
m_nSplit = HEADLINE_BORDERCOPY; m_nSplit = HEADLINE_BORDERCOPY;
...@@ -46,6 +46,4 @@ void SwSplitTblDlg::Apply() ...@@ -46,6 +46,4 @@ void SwSplitTblDlg::Apply()
rShell.SplitTable(m_nSplit); rShell.SplitTable(m_nSplit);
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* 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