diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-09-28 11:07:45 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-09-28 11:07:45 -0400 |
commit | f2ab6ab8380f520ede5a46bfe5cf014dad97f05a (patch) | |
tree | 3c08cd965011f5dbe87d15112bdba7ffb3bbd7d8 /sc/source/ui/view/dbfunc3.cxx | |
parent | 232deabc45e2c24c8f91296d8f5afbda4f0c5289 (diff) |
Remove datapilot autoformat feature.
This reverts commit 1cd57db36c14e98190311ceed238c01f2dd60eea.
The current datapilot autoformat feature was done by "duct-taping"
two separate features together which don't mix well and cause stability
issues. This feature needs to be re-implemented the right way in the
future.
Diffstat (limited to 'sc/source/ui/view/dbfunc3.cxx')
-rwxr-xr-x | sc/source/ui/view/dbfunc3.cxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx index af2beec4afae..9004c5fc486f 100755 --- a/sc/source/ui/view/dbfunc3.cxx +++ b/sc/source/ui/view/dbfunc3.cxx @@ -2369,29 +2369,3 @@ void ScDBFunc::RepeatDB( BOOL bRecord ) else // "Keine Operationen auszufuehren" ErrorMessage(STR_MSSG_REPEATDB_0); } - -void ScDBFunc::AutoFormatPivotTable(USHORT nIndex) -{ - ScDocument* pDoc = GetViewData()->GetDocument(); - - // old pivot not used any more - - ScDPObject* pDPObj = pDoc->GetDPAtCursor( - GetViewData()->GetCurX(), GetViewData()->GetCurY(), GetViewData()->GetTabNo() ); - - if ( pDPObj ) - { - pDPObj->SetAutoFormatIndex(nIndex); - } - else - ErrorMessage(STR_PIVOT_NOTFOUND); - -} - -void ScDBFunc::AutoFormatPivotTable(ScDPObject* pDPObj, USHORT nIndex) -{ - pDPObj->SetAutoFormatIndex(nIndex); -} - - - |