splwrap.cxx (190118d0) splwrap.cxx (9b8096d0)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 156 unchanged lines hidden (view full) ---

165 pWin ( pWn ),
166 xSpell ( xSpellChecker ),
167 bOtherCntnt ( bOther ),
168 bDialog ( sal_False ),
169 bHyphen ( sal_False ),
170 bAuto ( sal_False ),
171 bStartChk ( bOther ),
172 bRevAllowed ( bRevAllow ),
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 156 unchanged lines hidden (view full) ---

165 pWin ( pWn ),
166 xSpell ( xSpellChecker ),
167 bOtherCntnt ( bOther ),
168 bDialog ( sal_False ),
169 bHyphen ( sal_False ),
170 bAuto ( sal_False ),
171 bStartChk ( bOther ),
172 bRevAllowed ( bRevAllow ),
173 mpTextObj( NULL),
173 bAllRight ( bIsAllRight )
174{
175 Reference< beans::XPropertySet > xProp( SvxGetLinguPropertySet() );
176 sal_Bool bWrapReverse = xProp.is() ?
177 *(sal_Bool*)xProp->getPropertyValue(
178 ::rtl::OUString::createFromAscii(UPN_IS_WRAP_REVERSE) ).getValue()
179 : sal_False;
180 bReverse = bRevAllow && bWrapReverse;

--- 12 unchanged lines hidden (view full) ---

193 bDialog ( sal_False ),
194 bHyphen ( sal_False ),
195 bAuto ( sal_False ),
196 bReverse ( sal_False ),
197 bStartDone ( bOther || ( !bReverse && bStart ) ),
198 bEndDone ( bReverse && bStart && !bOther ),
199 bStartChk ( bOther ),
200 bRevAllowed ( sal_False ),
174 bAllRight ( bIsAllRight )
175{
176 Reference< beans::XPropertySet > xProp( SvxGetLinguPropertySet() );
177 sal_Bool bWrapReverse = xProp.is() ?
178 *(sal_Bool*)xProp->getPropertyValue(
179 ::rtl::OUString::createFromAscii(UPN_IS_WRAP_REVERSE) ).getValue()
180 : sal_False;
181 bReverse = bRevAllow && bWrapReverse;

--- 12 unchanged lines hidden (view full) ---

194 bDialog ( sal_False ),
195 bHyphen ( sal_False ),
196 bAuto ( sal_False ),
197 bReverse ( sal_False ),
198 bStartDone ( bOther || ( !bReverse && bStart ) ),
199 bEndDone ( bReverse && bStart && !bOther ),
200 bStartChk ( bOther ),
201 bRevAllowed ( sal_False ),
202 mpTextObj( NULL),
201 bAllRight ( sal_True )
202{
203}
204
205// -----------------------------------------------------------------------
206
207sal_Int16 SvxSpellWrapper::CheckSpellLang(
208 Reference< XSpellChecker1 > xSpell, sal_Int16 nLang)

--- 420 unchanged lines hidden ---
203 bAllRight ( sal_True )
204{
205}
206
207// -----------------------------------------------------------------------
208
209sal_Int16 SvxSpellWrapper::CheckSpellLang(
210 Reference< XSpellChecker1 > xSpell, sal_Int16 nLang)

--- 420 unchanged lines hidden ---