diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-04-14 09:37:00 +0200 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-04-15 07:39:08 +0000 |
commit | 8ee665cf3f5a4b7899e99fc426aa958dc296ad19 (patch) | |
tree | fcfe9c427a1c60625f6da95f2b1d01c14b8055cc | |
parent | 1e2f42eaee187b655c06de877e7aab98a26ecc34 (diff) |
fdo#52179 on copy kb-shortcut, from *current* row, not last painted row (!)
Change-Id: I39be862abb7c72234adad9c517d4a0570a1d71ae
Reviewed-on: https://gerrit.libreoffice.org/3379
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
-rw-r--r-- | svx/source/fmcomp/gridctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 13c8f3ecebc5..528881ba7478 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -3397,7 +3397,7 @@ void DbGridControl::KeyInput( const KeyEvent& rEvt ) { size_t Location = GetModelColumnPos( nColId ); DbGridColumn* pColumn = ( Location < m_aColumns.size() ) ? m_aColumns[ Location ] : NULL; - OStringTransfer::CopyString( GetCurrentRowCellText( pColumn,m_xPaintRow ), this ); + OStringTransfer::CopyString( GetCurrentRowCellText( pColumn, m_xCurrentRow ), this ); return; } } |