summaryrefslogtreecommitdiffstats
path: root/dbaccess
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-08-19 08:55:12 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-08-19 08:55:12 +0000
commit3dd498a6482379a7ede90132dfc14d6aa51b8ac9 (patch)
tree387c559f17ac7e7478798f79bc49017768b10c19 /dbaccess
parentINTEGRATION: CWS dba31a (1.28.22); FILE MERGED (diff)
downloadcore-3dd498a6482379a7ede90132dfc14d6aa51b8ac9.tar.gz
core-3dd498a6482379a7ede90132dfc14d6aa51b8ac9.zip
INTEGRATION: CWS dba31a (1.85.22); FILE MERGED
2008/07/04 20:10:50 fs 1.85.22.1: #i66628# functionality of RowChanged/ColChanged moved to base class
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx20
1 files changed, 6 insertions, 14 deletions
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index d0a2ed175488..ec468871db64 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sbagrid.cxx,v $
- * $Revision: 1.85 $
+ * $Revision: 1.86 $
*
* This file is part of OpenOffice.org.
*
@@ -939,8 +939,6 @@ SbaGridControl::SbaGridControl(Reference< XMultiServiceFactory > _rM,
:FmGridControl(_rM,pParent, _pPeer, nBits)
,m_pMasterListener(NULL)
,m_nAsyncDropEvent(0)
- ,m_nLastColId((USHORT)-1)
- ,m_nLastRowId(-1)
,m_nCurrentActionColId((USHORT)-1)
,m_bActivatingForDrop(sal_False)
{
@@ -1168,13 +1166,6 @@ void SbaGridControl::Select()
void SbaGridControl::CursorMoved()
{
FmGridControl::CursorMoved();
- if (m_nLastRowId != GetCurRow())
- RowChanged();
- if (m_nLastColId != GetCurColumnId())
- ColChanged();
-
- m_nLastColId = GetCurColumnId();
- m_nLastRowId = (sal_uInt16)GetCurRow();
}
//---------------------------------------------------------------------------------------
@@ -1194,18 +1185,19 @@ void SbaGridControl::DeactivateCell(sal_Bool bUpdate /*= sal_True*/)
}
//---------------------------------------------------------------------------------------
-void SbaGridControl::RowChanged()
+void SbaGridControl::onRowChange()
{
- if (m_pMasterListener)
+ if ( m_pMasterListener )
m_pMasterListener->RowChanged();
}
//---------------------------------------------------------------------------------------
-void SbaGridControl::ColChanged()
+void SbaGridControl::onColumnChange()
{
- if (m_pMasterListener)
+ if ( m_pMasterListener )
m_pMasterListener->ColumnChanged();
}
+
//---------------------------------------------------------------------------------------
void SbaGridControl::BeforeDrop()
{