diff options
author | Thomas Lange <tl@openoffice.org> | 2002-10-15 11:48:13 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2002-10-15 11:48:13 +0000 |
commit | c75a754e5916abcf020e38af6021c6e773c952e7 (patch) | |
tree | 65ed4e7461db2545602ec29d28828a2ce804b0e6 /svx/source/options | |
parent | d426a0fc0a3619e70e32c4571e949b92368cc07d (diff) |
#104103# possible GPF fixed
Diffstat (limited to 'svx/source/options')
-rw-r--r-- | svx/source/options/optlingu.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/options/optlingu.cxx b/svx/source/options/optlingu.cxx index 313541370cb3..b41bba88d839 100644 --- a/svx/source/options/optlingu.cxx +++ b/svx/source/options/optlingu.cxx @@ -2,9 +2,9 @@ * * $RCSfile: optlingu.cxx,v $ * - * $Revision: 1.39 $ + * $Revision: 1.40 $ * - * last change: $Author: gt $ $Date: 2002-07-24 14:27:10 $ + * last change: $Author: tl $ $Date: 2002-10-15 12:48:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1560,7 +1560,7 @@ void SvxLinguTabPage::Reset( const SfxItemSet& rSet ) const SfxHyphenRegionItem *pHyp = NULL; USHORT nWhich = GetWhich( SID_ATTR_HYPHENREGION ); - if ( rSet.GetItemState( nWhich, FALSE ) >= SFX_ITEM_AVAILABLE ) + if ( rSet.GetItemState( nWhich, FALSE ) == SFX_ITEM_SET ) pHyp = &( (const SfxHyphenRegionItem &) rSet.Get( nWhich ) ); pEntry = CreateEntry( sNumPreBreak, CBCOL_SECOND ); |