incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r1172139 - /incubator/ooo/trunk/main/sc/source/ui/dbgui/fieldwnd.cxx
Date Sat, 17 Sep 2011 22:45:12 GMT
Author: mst
Date: Sat Sep 17 22:45:12 2011
New Revision: 1172139

URL: http://svn.apache.org/viewvc?rev=1172139&view=rev
Log:
calc69: #i118111# don't duplicate field names in pivot table dialog

# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1306852486 -7200
# Node ID 89a0922aa71286707d5d032940bb1668bd345494
# Parent  5c023aa1cc35c5a974984ff25bcea557f4aa7d2c

Modified:
    incubator/ooo/trunk/main/sc/source/ui/dbgui/fieldwnd.cxx

Modified: incubator/ooo/trunk/main/sc/source/ui/dbgui/fieldwnd.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sc/source/ui/dbgui/fieldwnd.cxx?rev=1172139&r1=1172138&r2=1172139&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sc/source/ui/dbgui/fieldwnd.cxx (original)
+++ incubator/ooo/trunk/main/sc/source/ui/dbgui/fieldwnd.cxx Sat Sep 17 22:45:12 2011
@@ -93,6 +93,8 @@ void ScPivotFieldWindow::ScPivotWindowFi
                 // GetFuncString() modifies nFuncMask (e.g. auto to sum or count)
                 maFieldName = rDialog.GetFuncString( maFuncData.mnFuncMask, pLabelData->mbIsValue
);
             }
+            else
+                maFieldName = OUString();   // #i118111# don't append to previous string
             maFieldName += pLabelData->getDisplayName();
         }
     }



Mime
View raw message