summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-04-14 09:37:00 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-04-14 09:40:29 +0200
commit31d81f87dd8f6aef1eceac4989e77a7cc6a1bc57 (patch)
tree8d54e013c79e16c1ff5e1a11138291376032cc75 /svx
parent460ad501c8b640f52aef2fc0dd5034b41651a9f5 (diff)
fdo#52179 on copy kb-shortcut, from *current* row, not last painted row (!)
Change-Id: I39be862abb7c72234adad9c517d4a0570a1d71ae
Diffstat (limited to 'svx')
-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 33a464e88492..aff76d1fe0d1 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -3394,7 +3394,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;
}
}