[Libreoffice-commits] .: sfx2/inc sfx2/source
Lubos Lunak
l.lunak at suse.cz
Fri Jan 14 04:20:35 PST 2011
On Sunday 02 of January 2011, Joseph Powers wrote:
> New commits:
> commit 7bc30e2906bd6050c1de123057cdfe49f3a37be2
> Author: Joseph Powers <jpowers27 at cox.net>
> Date: Sun Jan 2 07:54:57 2011 -0800
>
> Remove DECLARE_LIST(SfxStyleFilter, SfxFilterTupel*)
...
> 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).
> + USHORT nFilter = pT ?
pItem->GetFilterList().at(nActFilter)->nFlags : 0;
> if(!nFilter) // automatisch
> nFilter = nAppFilter;
>
--
Lubos Lunak
l.lunak at suse.cz
More information about the Libreoffice-commits
mailing list