Kaydet (Commit) 0f69e050 authored tarafından jailletc36's avatar jailletc36 Kaydeden (comit) Norbert Thiebaud

Update

Change-Id: I78f7f7ae7373e00e0750abc4566c71a8b9c1640a
Reviewed-on: https://gerrit.libreoffice.org/1019Reviewed-by: 's avatarNorbert Thiebaud <nthiebaud@gmail.com>
Tested-by: 's avatarNorbert Thiebaud <nthiebaud@gmail.com>
üst e2a54eb7
......@@ -275,20 +275,19 @@ void ScTpSubTotalGroup::FillListBoxes()
SCTAB nTab = pViewData->GetTabNo();
SCCOL nMaxCol = rSubTotalData.nCol2;
SCCOL col;
sal_uInt16 i=0;
rtl::OUString aFieldName;
aLbGroup.Clear();
aLbColumns.Clear();
aLbGroup.InsertEntry( aStrNone, 0 );
i=0;
sal_uInt16 i=0;
for ( col=nFirstCol; col<=nMaxCol && i<SC_MAXFIELDS; col++ )
{
pDoc->GetString( col, nFirstRow, nTab, aFieldName );
if ( aFieldName.isEmpty() )
{
rtl::OUStringBuffer aBuf;
rtl::OUStringBuffer aBuf;
aBuf.append(aStrColumn);
aFieldName = aBuf.makeStringAndClear().replaceAll("%1", ScColToAlpha( col ));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment