[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - svx/source

Lionel Elie Mamane lionel at mamane.lu
Mon Apr 15 00:39:03 PDT 2013


 svx/source/fmcomp/gridctrl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 93301cf7ca8fff91b594d2ebe7bb24510acfdd3c
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Sun Apr 14 09:37:00 2013 +0200

    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 at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 9a40816..2663b8f 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;
         }
     }


More information about the Libreoffice-commits mailing list