summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compiler.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-09-01 16:52:53 +0200
committerEike Rathke <erack@redhat.com>2015-09-01 17:00:10 +0200
commit7cc4cdc5ef6dff279e072af725c2d7fc1e5da0e8 (patch)
treedae087c2743550feda8d89733db65db7ba52160c /sc/source/core/tool/compiler.cxx
parentf8512ed179958339fb5cb7500836bb2da5d8dabf (diff)
TableRef: anywhere in ScDBData area, geez..
... bStartOnly is not the header row but only the top left cell. Change-Id: I8d93aeafa8d55b59defd4476b5bcc19b0e026e70
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r--sc/source/core/tool/compiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 3eaff198d9e0..a166a41a5807 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -4705,7 +4705,7 @@ void ScCompiler::CreateStringFromSingleRef( OUStringBuffer& rBuffer, const Formu
if (aStr.isEmpty())
{
// Hope that there's still the original column name available.
- const ScDBData* pData = pDoc->GetDBAtCursor( aAbs.Col(), aAbs.Row(), aAbs.Tab(), true);
+ const ScDBData* pData = pDoc->GetDBAtCursor( aAbs.Col(), aAbs.Row(), aAbs.Tab());
if (pData)
aStr = pData->GetTableColumnName( aAbs.Col());
}