Kaydet (Commit) 41a42088 authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS tl50 (1.17.68); FILE MERGED

2008/01/31 10:26:23 tl 1.17.68.1: #85369# valgrind related fix
üst d76d7a13
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite * OpenOffice.org - a multi-platform office productivity suite
* *
* $RCSfile: splwrap.cxx,v $ * $RCSfile: splwrap.cxx,v $
* $Revision: 1.18 $ * $Revision: 1.19 $
* *
* This file is part of OpenOffice.org. * This file is part of OpenOffice.org.
* *
...@@ -180,7 +180,8 @@ SvxSpellWrapper::SvxSpellWrapper( Window* pWn, ...@@ -180,7 +180,8 @@ SvxSpellWrapper::SvxSpellWrapper( Window* pWn,
bHyphen ( sal_False ), bHyphen ( sal_False ),
bAuto ( sal_False ), bAuto ( sal_False ),
bStartChk ( bOther ), bStartChk ( bOther ),
bRevAllowed ( bRevAllow ) bRevAllowed ( bRevAllow ),
bAllRight ( bIsAllRight )
{ {
Reference< beans::XPropertySet > xProp( SvxGetLinguPropertySet() ); Reference< beans::XPropertySet > xProp( SvxGetLinguPropertySet() );
sal_Bool bWrapReverse = xProp.is() ? sal_Bool bWrapReverse = xProp.is() ?
...@@ -188,7 +189,6 @@ SvxSpellWrapper::SvxSpellWrapper( Window* pWn, ...@@ -188,7 +189,6 @@ SvxSpellWrapper::SvxSpellWrapper( Window* pWn,
::rtl::OUString::createFromAscii(UPN_IS_WRAP_REVERSE) ).getValue() ::rtl::OUString::createFromAscii(UPN_IS_WRAP_REVERSE) ).getValue()
: sal_False; : sal_False;
bReverse = bRevAllow && bWrapReverse; bReverse = bRevAllow && bWrapReverse;
bAllRight = bIsAllRight;
bStartDone = bOther || ( !bReverse && bStart ); bStartDone = bOther || ( !bReverse && bStart );
bEndDone = bReverse && bStart && !bOther; bEndDone = bReverse && bStart && !bOther;
} }
...@@ -208,7 +208,8 @@ SvxSpellWrapper::SvxSpellWrapper( Window* pWn, ...@@ -208,7 +208,8 @@ SvxSpellWrapper::SvxSpellWrapper( Window* pWn,
bStartDone ( bOther || ( !bReverse && bStart ) ), bStartDone ( bOther || ( !bReverse && bStart ) ),
bEndDone ( bReverse && bStart && !bOther ), bEndDone ( bReverse && bStart && !bOther ),
bStartChk ( bOther ), bStartChk ( bOther ),
bRevAllowed ( sal_False ) bRevAllowed ( sal_False ),
bAllRight ( sal_True )
{ {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment