"%1 is replaced to column letter" ... so do it
In StandardFilter dialog when not using column headers the field names were displayed as "Column %1 A" instead of "Column A". Change-Id: I29216eaa6b98e4a786f77d47ef20135e15d7d45a
This commit is contained in:
@@ -463,9 +463,7 @@ void ScFilterDlg::FillFieldLists()
|
|||||||
{
|
{
|
||||||
OUStringBuffer aBuf;
|
OUStringBuffer aBuf;
|
||||||
aBuf.append(aStrColumn);
|
aBuf.append(aStrColumn);
|
||||||
aBuf.append(sal_Unicode(' '));
|
aFieldName = aBuf.makeStringAndClear().replaceAll("%1", ScColToAlpha( col ));
|
||||||
aBuf.append(ScColToAlpha(col));
|
|
||||||
aFieldName = aBuf.makeStringAndClear();
|
|
||||||
}
|
}
|
||||||
pLbField1->InsertEntry( aFieldName, i );
|
pLbField1->InsertEntry( aFieldName, i );
|
||||||
pLbField2->InsertEntry( aFieldName, i );
|
pLbField2->InsertEntry( aFieldName, i );
|
||||||
|
Reference in New Issue
Block a user