summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-04-14 08:58:18 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-04-14 09:40:28 +0200
commit460ad501c8b640f52aef2fc0dd5034b41651a9f5 (patch)
tree6919146986ed04417d8bed0126a031baa6dde747 /svx
parent327adac44129264f7bc0dab161afbb88ec3003d8 (diff)
act if the row we act on is valid, not some other one
Change-Id: I8bcdff69bf19f5425eab86de5f99bd2a903fe267
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 7dac3c29f184..33a464e88492 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -2703,7 +2703,7 @@ XubString DbGridControl::GetCurrentRowCellText(DbGridColumn* pColumn,const DbGri
{
// Ausgabe des Textes fuer eine Zelle
XubString aText;
- if ( pColumn && IsValid(m_xPaintRow) )
+ if ( pColumn && IsValid(_rRow) )
aText = pColumn->GetCellText(_rRow, m_xFormatter);
return aText;
}