Kaydet (Commit) dcbd4c63 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

yet another overrun access of an empty OUString

no impact in release build but triiger assert in debug

Change-Id: I037cf127ff55c03dbc5e151d1373cfb4f6219848
üst 6a3ae6ef
...@@ -2121,7 +2121,7 @@ OUString OSelectionBrowseBox::GetCellText(long nRow, sal_uInt16 nColId) const ...@@ -2121,7 +2121,7 @@ OUString OSelectionBrowseBox::GetCellText(long nRow, sal_uInt16 nColId) const
case BROW_FIELD_ROW: case BROW_FIELD_ROW:
{ {
OUString aField = pEntry->GetField(); OUString aField = pEntry->GetField();
if (aField[0] == '*') // * durch alias.* ersetzen if (!aField.isEmpty() && aField[0] == '*') // * durch alias.* ersetzen
{ {
aField = pEntry->GetAlias(); aField = pEntry->GetAlias();
if(!aField.isEmpty()) if(!aField.isEmpty())
......
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