Kaydet (Commit) 7cc4cdc5 authored tarafından Eike Rathke's avatar Eike Rathke

TableRef: anywhere in ScDBData area, geez..

... bStartOnly is not the header row but only the top left cell.

Change-Id: I8d93aeafa8d55b59defd4476b5bcc19b0e026e70
üst f8512ed1
...@@ -4705,7 +4705,7 @@ void ScCompiler::CreateStringFromSingleRef( OUStringBuffer& rBuffer, const Formu ...@@ -4705,7 +4705,7 @@ void ScCompiler::CreateStringFromSingleRef( OUStringBuffer& rBuffer, const Formu
if (aStr.isEmpty()) if (aStr.isEmpty())
{ {
// Hope that there's still the original column name available. // 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) if (pData)
aStr = pData->GetTableColumnName( aAbs.Col()); aStr = pData->GetTableColumnName( aAbs.Col());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment