wrtsh4.cxx (efeef26f) | wrtsh4.cxx (e789bd50) |
---|---|
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 --- 204 unchanged lines hidden (view full) --- 213 Combine(); 214 return 1; 215} 216 217 218 219sal_Bool SwWrtShell::_BwdSentence() 220{ | 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 --- 204 unchanged lines hidden (view full) --- 213 Combine(); 214 return 1; 215} 216 217 218 219sal_Bool SwWrtShell::_BwdSentence() 220{ |
221 Push(); 222 ClearMark(); 223 if(!SwCrsrShell::Left(1,CRSR_SKIP_CHARS)) 224 { 225 Pop(sal_False); 226 return 0; 227 } 228 if(IsSttPara()) 229 { 230 Pop(); 231 return 1; 232 } 233 if( !GoPrevSentence() && !IsSttPara() ) 234 // nicht gefunden --> an den Absatz Anfang 235 SwCrsrShell::MovePara( fnParaCurr, fnParaStart ); 236 ClearMark(); 237 Combine(); 238 return 1; | 221 Push(); 222 ClearMark(); 223 if(!SwCrsrShell::Left(1,CRSR_SKIP_CHARS)) 224 { 225 Pop(sal_False); 226 return sal_False; 227 } 228 if(IsSttPara()) 229 { 230 Pop(); 231 return sal_True; 232 } 233 if( !GoPrevSentence() && !IsSttPara() ) 234 // nicht gefunden --> an den Absatz Anfang 235 SwCrsrShell::MovePara( fnParaCurr, fnParaStart ); 236 ClearMark(); 237 Combine(); 238 239 return sal_True; |
239} 240 241 242sal_Bool SwWrtShell::_FwdPara() 243{ 244 Push(); 245 ClearMark(); 246 // --> OD 2009-01-06 #i81824# --- 50 unchanged lines hidden --- | 240} 241 242 243sal_Bool SwWrtShell::_FwdPara() 244{ 245 Push(); 246 ClearMark(); 247 // --> OD 2009-01-06 #i81824# --- 50 unchanged lines hidden --- |