[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Tue Nov 5 18:34:14 CET 2013
sc/source/ui/dbgui/filtdlg.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 2d793b1a7f08e2f42a8e9bd96b7470e15784f7cf
Author: Eike Rathke <erack at redhat.com>
Date: Tue Nov 5 18:27:11 2013 +0100
"%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
diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx
index da1394b..917c9ef 100644
--- a/sc/source/ui/dbgui/filtdlg.cxx
+++ b/sc/source/ui/dbgui/filtdlg.cxx
@@ -463,9 +463,7 @@ void ScFilterDlg::FillFieldLists()
{
OUStringBuffer aBuf;
aBuf.append(aStrColumn);
- aBuf.append(sal_Unicode(' '));
- aBuf.append(ScColToAlpha(col));
- aFieldName = aBuf.makeStringAndClear();
+ aFieldName = aBuf.makeStringAndClear().replaceAll("%1", ScColToAlpha( col ));
}
pLbField1->InsertEntry( aFieldName, i );
pLbField2->InsertEntry( aFieldName, i );
More information about the Libreoffice-commits
mailing list