sc/source/ui/dbgui/filtdlg.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 18ac69e874ad526a3b8d63702a062cc394367a58
Author: Eike Rathke <er...@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
    (cherry picked from commit 2d793b1a7f08e2f42a8e9bd96b7470e15784f7cf)
    Reviewed-on: https://gerrit.libreoffice.org/6591
    Reviewed-by: Ivan Timofeev <timofeev....@gmail.com>
    Tested-by: Ivan Timofeev <timofeev....@gmail.com>

diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx
index 1d61145..61f5ecb 100644
--- a/sc/source/ui/dbgui/filtdlg.cxx
+++ b/sc/source/ui/dbgui/filtdlg.cxx
@@ -490,9 +490,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 ));
             }
             aLbField1.InsertEntry( aFieldName, i );
             aLbField2.InsertEntry( aFieldName, i );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to