[PATCH libreoffice-3-6] fdo#52179 on copy kb-shortcut, from *current* row, not last ...

Lionel Elie Mamane (via Code Review) gerrit at gerrit.libreoffice.org
Sun Apr 14 00:43:32 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3379

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/79/3379/1

fdo#52179 on copy kb-shortcut, from *current* row, not last painted row (!)

Change-Id: I39be862abb7c72234adad9c517d4a0570a1d71ae
---
M svx/source/fmcomp/gridctrl.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 13c8f3e..528881b 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -3397,7 +3397,7 @@
         {
             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;
         }
     }

-- 
To view, visit https://gerrit.libreoffice.org/3379
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I39be862abb7c72234adad9c517d4a0570a1d71ae
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-3-6
Gerrit-Owner: Lionel Elie Mamane <lionel at mamane.lu>



More information about the LibreOffice mailing list