[Libreoffice-commits] .: sfx2/inc sfx2/source
Lubos Lunak
l.lunak at suse.cz
Fri Jan 14 04:27:00 PST 2011
On Friday 14 of January 2011, Lubos Lunak wrote:
> On Sunday 02 of January 2011, Joseph Powers wrote:
> > diff --git a/sfx2/source/dialog/templdlg.cxx
> > b/sfx2/source/dialog/templdlg.cxx index 7fcae91..2c80e86 100644
> > --- a/sfx2/source/dialog/templdlg.cxx
> > +++ b/sfx2/source/dialog/templdlg.cxx
> > @@ -1253,8 +1253,8 @@ void
> > SfxCommonTemplateDialog_Impl::UpdateStyles_Impl(USHORT nFlags) //
> > Flags
> >
> > const SfxStyleFamily eFam = pItem->GetFamily();
> >
> > - SfxFilterTupel *pT = pItem->GetFilterList().GetObject(nActFilter);
> > - USHORT nFilter = pT ?
> > pItem->GetFilterList().GetObject(nActFilter)->nFlags : 0;
> > + SfxFilterTupel *pT = pItem->GetFilterList().at(nActFilter);
>
> This line now aborts with out_of_range exception (start writer, F11, click
> e.g. 'Character styles' in the styles' window toolbar).
Looking at the original version, I think I've fixed this with 7bc30e29.
--
Lubos Lunak
l.lunak at suse.cz
More information about the Libreoffice-commits
mailing list