summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/mgetempl.cxx
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-01-14 05:46:26 -0800
committerJoseph Powers <jpowers27@cox.net>2011-01-14 06:04:25 -0800
commitb17863d3e4995520edb63b0aa77843eefd775eee (patch)
treed8c7713b62a18aa7049fd42514a6a53e6f23cc60 /sfx2/source/dialog/mgetempl.cxx
parent6aa4b5522518c7bb69cf29465842a8a14ea5a87a (diff)
Additional fix to Remove DECLARE_LIST(SfxStyleFilter, SfxFilterTupel*)
Thanks Lubos Lunak for pointing this out.
Diffstat (limited to 'sfx2/source/dialog/mgetempl.cxx')
-rw-r--r--sfx2/source/dialog/mgetempl.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx
index a757b97214e7..8d52b9295e1c 100644
--- a/sfx2/source/dialog/mgetempl.cxx
+++ b/sfx2/source/dialog/mgetempl.cxx
@@ -437,11 +437,9 @@ BOOL SfxManageStyleSheetPage::FillItemSet( SfxItemSet& rSet )
// geht nur bei Benutzervorlagen
#if OSL_DEBUG_LEVEL > 1
USHORT nIdx = (USHORT)(long)aFilterLb.GetEntryData( nFilterIdx );
- SfxFilterTupel* p;
- p = pItem->GetFilterList().GetObject( nIdx );
+ SfxFilterTupel* p = pItem->GetFilterList()[ nIdx ];
#endif
- USHORT nMask = pItem->GetFilterList().at(
- (size_t)aFilterLb.GetEntryData( nFilterIdx ) )->nFlags | SFXSTYLEBIT_USERDEF;
+ USHORT nMask = pItem->GetFilterList()[ (size_t)aFilterLb.GetEntryData( nFilterIdx ) ]->nFlags | SFXSTYLEBIT_USERDEF;
pStyle->SetMask( nMask );
}
if(aAutoCB.IsVisible() &&