summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-04-14 09:37:00 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-04-15 07:38:36 +0000
commit93301cf7ca8fff91b594d2ebe7bb24510acfdd3c (patch)
tree7f59cd8c41cc96e9c814323ddd4e70f60607df07
parentc15217f477f0a9810811746796d778a5d20b89d5 (diff)
fdo#52179 on copy kb-shortcut, from *current* row, not last painted row (!)
Change-Id: I39be862abb7c72234adad9c517d4a0570a1d71ae Reviewed-on: https://gerrit.libreoffice.org/3378 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
-rw-r--r--svx/source/fmcomp/gridctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 9a4081656770..2663b8f93087 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;
}
}