diff options
author | Povilas Kanapickas <povilas.kanapickas@gmail.com> | 2010-10-20 11:21:22 +0200 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-10-20 11:21:55 +0200 |
commit | ee9befa313473b8530ba2ab21c3b8ded1e599c90 (patch) | |
tree | 427ffbb0c2938fb33bb6cf8313a96d5e9e2c05e4 /sc/source/ui/view/cellsh2.cxx | |
parent | 9b05409ff7bf1e6bb52b288852a506b764ed6f76 (diff) |
Removed lots of dead code.
Diffstat (limited to 'sc/source/ui/view/cellsh2.cxx')
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index c619e34309fe..a74a73c85721 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -869,33 +869,6 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) if ( pNewDPObject ) pNewDPObject->SetOutRange( aDestPos ); - -#if 0 - ScDBData* pDBData = pTabViewShell->GetDBData(); - String aErrMsg; - - pDBData->GetArea( nTab, nCol1, nRow1, nCol2, nRow2 ); - - bAreaOk = TRUE; - if ( nRow2-nRow1 < 1 ) - { - // "mindestens eine Datenzeile" - pTabViewShell->ErrorMessage(STR_PIVOT_INVALID_DBAREA); - bAreaOk = FALSE; - } - else if (!pDBData->HasHeader()) - { - if ( MessBox( pTabViewShell->GetDialogParent(), WinBits(WB_YES_NO | WB_DEF_YES), - ScGlobal::GetRscString( STR_MSSG_DOSUBTOTALS_0 ), // "StarCalc" - ScGlobal::GetRscString( STR_MSSG_MAKEAUTOFILTER_0 ) // Koepfe aus erster Zeile? - ).Execute() == RET_YES ) - { - pDBData->SetHeader( TRUE ); //! Undo ?? - } - else - bAreaOk = FALSE; - } -#endif } pTabViewShell->SetDialogDPObject( pNewDPObject ); // is copied |