swuiccoll.cxx (efeef26f) swuiccoll.cxx (4d7c9de0)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 113 unchanged lines hidden (view full) ---

122 sal_uInt16 i;
123
124 for( i = 0; i < nCount; ++i)
125 {
126 if(SFX_STYLE_FAMILY_PARA == (sal_uInt16)(pFamilyItem = aFamilies.GetObject(i))->GetFamily())
127 break;
128 }
129
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 113 unchanged lines hidden (view full) ---

122 sal_uInt16 i;
123
124 for( i = 0; i < nCount; ++i)
125 {
126 if(SFX_STYLE_FAMILY_PARA == (sal_uInt16)(pFamilyItem = aFamilies.GetObject(i))->GetFamily())
127 break;
128 }
129
130 const SfxStyleFilter& rFilterList = pFamilyItem->GetFilterList();
131 for( i = 0; i < rFilterList.Count(); ++i)
130 if( pFamilyItem )
132 {
131 {
133 aFilterLB.InsertEntry(rFilterList.GetObject(i)->aName);
134 sal_uInt16* pFilter = new sal_uInt16(rFilterList.GetObject(i)->nFlags);
135 aFilterLB.SetEntryData(i, pFilter);
132 const SfxStyleFilter& rFilterList = pFamilyItem->GetFilterList();
133 for( i = 0; i < rFilterList.Count(); ++i)
134 {
135 aFilterLB.InsertEntry(rFilterList.GetObject(i)->aName);
136 sal_uInt16* pFilter = new sal_uInt16(rFilterList.GetObject(i)->nFlags);
137 aFilterLB.SetEntryData(i, pFilter);
138 }
136 }
137 aFilterLB.SelectEntryPos(1);
138
139 aTbLinks.Show();
140
141}
142
143/****************************************************************************

--- 214 unchanged lines hidden ---
139 }
140 aFilterLB.SelectEntryPos(1);
141
142 aTbLinks.Show();
143
144}
145
146/****************************************************************************

--- 214 unchanged lines hidden ---