summaryrefslogtreecommitdiff
path: root/sc/source/ui/navipi/navcitem.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-03-02 03:14:31 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-03-02 03:14:31 +0900
commit117066d1e904f58e37d1e48a30b997b98b9df8e9 (patch)
tree1f3b6ae26e61d18b1942b1a4c99f50ad2e1547c2 /sc/source/ui/navipi/navcitem.cxx
parent493c81d73ab2cfded2eafa15fbb9d08065c46470 (diff)
Removed dead code
Diffstat (limited to 'sc/source/ui/navipi/navcitem.cxx')
-rw-r--r--sc/source/ui/navipi/navcitem.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/ui/navipi/navcitem.cxx b/sc/source/ui/navipi/navcitem.cxx
index c5cf72b51be0..83fe56cbedbe 100644
--- a/sc/source/ui/navipi/navcitem.cxx
+++ b/sc/source/ui/navipi/navcitem.cxx
@@ -64,7 +64,6 @@ void ScNavigatorControllerItem::StateChanged( USHORT /* nSID */, SfxItemState /*
case SID_CURRENTCELL:
if ( pItem )
{
-// const SfxPointItem* pCellPosItem = PTR_CAST(SfxPointItem, pItem);
const SfxStringItem* pCellPosItem = PTR_CAST(SfxStringItem, pItem);
DBG_ASSERT( pCellPosItem, "SfxStringItem expected!" );
@@ -78,9 +77,6 @@ void ScNavigatorControllerItem::StateChanged( USHORT /* nSID */, SfxItemState /*
SCCOL nCol = aScAddress.Col()+1;
SCROW nRow = aScAddress.Row()+1;
-// SCCOL nCol = (USHORT)pCellPosItem->GetValue().X()+1;
-// SCROW nRow = (USHORT)pCellPosItem->GetValue().Y()+1;
-
rNavigatorDlg.UpdateColumn( &nCol );
rNavigatorDlg.UpdateRow ( &nRow );
rNavigatorDlg.CursorPosChanged();