summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-05-01 01:08:13 +0200
committerEike Rathke <erack@redhat.com>2015-05-01 02:42:44 +0200
commit5a24b94662414fb9470be9c5d9c8b28c6ad42b5b (patch)
tree28c92a86ca06e8d3dfc7f6149e51c12c934ce53d /sc/source/ui/dbgui
parenta1fed7b55e44fd2a2dd525ebf6459f452210b15c (diff)
add totals to ScDBData ctor
Change-Id: I798376268b15f8b2f340d48fd2e38d68e53dbc6f
Diffstat (limited to 'sc/source/ui/dbgui')
-rw-r--r--sc/source/ui/dbgui/dbnamdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx
index ed7d7ad72b05..ca24f23fa763 100644
--- a/sc/source/ui/dbgui/dbnamdlg.cxx
+++ b/sc/source/ui/dbgui/dbnamdlg.cxx
@@ -456,8 +456,8 @@ IMPL_LINK_NOARG(ScDbNameDlg, AddBtnHdl)
ScDBData* pNewEntry = new ScDBData( aNewName, aStart.Tab(),
aStart.Col(), aStart.Row(),
aEnd.Col(), aEnd.Row(),
- true, m_pBtnHeader->IsChecked() );
- pNewEntry->SetTotals( m_pBtnTotals->IsChecked() );
+ true, m_pBtnHeader->IsChecked(),
+ m_pBtnTotals->IsChecked() );
pNewEntry->SetDoSize( m_pBtnDoSize->IsChecked() );
pNewEntry->SetKeepFmt( m_pBtnKeepFmt->IsChecked() );
pNewEntry->SetStripData( m_pBtnStripData->IsChecked() );