diff options
author | Joren De Cuyper <joren.libreoffice@telenet.be> | 2013-03-25 22:11:59 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-03-26 09:26:51 +0000 |
commit | b23214f768e94f3fbdb0317b5fd458c55a9118db (patch) | |
tree | f72784643a0652470408f793e2a0ebb757a2fdfa /sw | |
parent | Some fixes for mwaw-based filters (diff) | |
download | core-b23214f768e94f3fbdb0317b5fd458c55a9118db.tar.gz core-b23214f768e94f3fbdb0317b5fd458c55a9118db.zip |
fix fdo#62670 - TABLE: Splitting a table options are mixed
Change-Id: I1ba647844aaae3a57ee91d5785c82ca082d3e10b
Reviewed-on: https://gerrit.libreoffice.org/3041
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/table/splittbl.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/ui/table/splittbl.cxx b/sw/source/ui/table/splittbl.cxx index f82d642a8100..d85bb957b4f7 100644 --- a/sw/source/ui/table/splittbl.cxx +++ b/sw/source/ui/table/splittbl.cxx @@ -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: */ |