diff options
-rw-r--r-- | svx/source/dialog/ctredlin.cxx | 9 | ||||
-rw-r--r-- | sw/source/uibase/misc/redlndlg.cxx | 7 |
2 files changed, 6 insertions, 10 deletions
diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index b39052ba7e0d..586077f1a404 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -387,9 +387,6 @@ SvxTPView::SvxTPView(vcl::Window *pParent, VclBuilderContainer *pTopLevel) m_pReject->SetClickHdl(aLink); m_pRejectAll->SetClickHdl(aLink); m_pUndo->SetClickHdl(aLink); - - const long pTabs[] = { 5, 10, 65, 120, 170, 220 }; - m_pViewData->SetTabs(pTabs); } void SvxTPView::ActivatePage() @@ -419,6 +416,9 @@ SvxTPView::~SvxTPView() void SvxTPView::InsertWriterHeader() { + const long pTabs[] = { 5, 10, 20, 70, 120, 170 }; + m_pViewData->SetTabs(pTabs); + OUString aStrTab('\t'); OUString aString(get<FixedText>("action")->GetText()); aString += aStrTab; @@ -433,6 +433,9 @@ void SvxTPView::InsertWriterHeader() void SvxTPView::InsertCalcHeader() { + const long pTabs[] = { 5, 10, 65, 120, 170, 220 }; + m_pViewData->SetTabs(pTabs); + OUString aStrTab('\t'); OUString aString(get<FixedText>("action")->GetText()); aString += aStrTab; diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx index 18ecbc4b4fd4..fe613d41e533 100644 --- a/sw/source/uibase/misc/redlndlg.cxx +++ b/sw/source/uibase/misc/redlndlg.cxx @@ -191,13 +191,6 @@ SwRedlineAcceptDlg::SwRedlineAcceptDlg(vcl::Window *pParent, VclBuilderContainer pTable->SetSelectionMode(MULTIPLE_SELECTION); pTable->SetHighlightRange(1); - static long aStaticTabs[]= - { - 4,10,70,120,170 - }; - - pTable->SetTabs(aStaticTabs); - pTable->SortByCol(nSortMode, bSortDir); aOldSelectHdl = pTable->GetSelectHdl(); |