diff options
author | Eike Rathke <erack@redhat.com> | 2013-11-08 14:22:21 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-11-08 14:27:16 +0100 |
commit | 9b10373edae490d2b9b7f8d733c59b4f63927bec (patch) | |
tree | 4f08c54a2e55d087314267ff65ed010b750de6cd /sc/source/ui/dbgui/pfiltdlg.cxx | |
parent | 961e319da7e8aa16b64ceee421e896802cbb82c1 (diff) |
"%1 is replaced to ..." ... maybe, or maybe not
Translations may have omitted the %1 placeholder in SCSTR_COLUMN and
SCSTR_ROW, or not have it translated newly yet because it was introduced
later. In these cases append the column indicator / row number as it was
done before.
Change-Id: I331cf0c529bebea02277784ea145c202eb6f6fda
Diffstat (limited to 'sc/source/ui/dbgui/pfiltdlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/pfiltdlg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/pfiltdlg.cxx b/sc/source/ui/dbgui/pfiltdlg.cxx index 23d0122de9d4..8b0e3f629cc6 100644 --- a/sc/source/ui/dbgui/pfiltdlg.cxx +++ b/sc/source/ui/dbgui/pfiltdlg.cxx @@ -291,8 +291,7 @@ void ScPivotFilterDlg::FillFieldLists() aFieldName = pDoc->GetString(col, nFirstRow, nTab); if ( aFieldName.isEmpty() ) { - OUString aTemp( aStrColumn); - aFieldName = aTemp.replaceFirst("%1", ScColToAlpha( col )); + aFieldName = ScGlobal::ReplaceOrAppend( aStrColumn, "%1", ScColToAlpha( col )); } aLbField1.InsertEntry( aFieldName, i ); aLbField2.InsertEntry( aFieldName, i ); |