textsearch.cxx (d5645047) | textsearch.cxx (c1e8cc3a) |
---|---|
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 --- 865 unchanged lines hidden (view full) --- 874 SearchResult aRet; 875 aRet.subRegExpressions = 0; 876 877 if( !xBreak.is() ) 878 return aRet; 879 880 OUString aWTemp( searchStr ); 881 | 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 --- 865 unchanged lines hidden (view full) --- 874 SearchResult aRet; 875 aRet.subRegExpressions = 0; 876 877 if( !xBreak.is() ) 878 return aRet; 879 880 OUString aWTemp( searchStr ); 881 |
882 register sal_Int32 nStt, nEnd; | 882 sal_Int32 nStt, nEnd; |
883 884 Boundary aWBnd = xBreak->getWordBoundary( aWTemp, startPos, 885 aSrchPara.Locale, 886 WordType::ANYWORD_IGNOREWHITESPACES, sal_True ); 887 888 do 889 { 890 if( aWBnd.startPos >= endPos ) --- 30 unchanged lines hidden (view full) --- 921 SearchResult aRet; 922 aRet.subRegExpressions = 0; 923 924 if( !xBreak.is() ) 925 return aRet; 926 927 OUString aWTemp( searchStr ); 928 | 883 884 Boundary aWBnd = xBreak->getWordBoundary( aWTemp, startPos, 885 aSrchPara.Locale, 886 WordType::ANYWORD_IGNOREWHITESPACES, sal_True ); 887 888 do 889 { 890 if( aWBnd.startPos >= endPos ) --- 30 unchanged lines hidden (view full) --- 921 SearchResult aRet; 922 aRet.subRegExpressions = 0; 923 924 if( !xBreak.is() ) 925 return aRet; 926 927 OUString aWTemp( searchStr ); 928 |
929 register sal_Int32 nStt, nEnd; | 929 sal_Int32 nStt, nEnd; |
930 931 Boundary aWBnd = xBreak->getWordBoundary( aWTemp, startPos, 932 aSrchPara.Locale, 933 WordType::ANYWORD_IGNOREWHITESPACES, sal_True ); 934 935 do 936 { 937 if( aWBnd.endPos <= endPos ) --- 108 unchanged lines hidden --- | 930 931 Boundary aWBnd = xBreak->getWordBoundary( aWTemp, startPos, 932 aSrchPara.Locale, 933 WordType::ANYWORD_IGNOREWHITESPACES, sal_True ); 934 935 do 936 { 937 if( aWBnd.endPos <= endPos ) --- 108 unchanged lines hidden --- |