diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-11-08 15:24:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-08 17:18:31 +0000 |
commit | 3fa85c871637ee378450c12f10219f94dd692525 (patch) | |
tree | 2c48fd4df1d99a9fd34081c052710c64901e302a | |
parent | 4536eefa32f634658a939f747e4791a678032bcb (diff) |
longparas: these sal_uLongs are really xub_StrLens
Change-Id: Iebe3d5edccb6737da64aba5c3d61b9509ce7ec9d
-rw-r--r-- | sw/source/core/crsr/findtxt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx index dd015348af08..f6a1c70ff66f 100644 --- a/sw/source/core/crsr/findtxt.cxx +++ b/sw/source/core/crsr/findtxt.cxx @@ -47,7 +47,7 @@ OUString *ReplaceBackReferences( const SearchOptions& rSearchOpt, SwPaM* pPam ); static OUString lcl_CleanStr(const SwTxtNode& rNd, xub_StrLen const nStart, xub_StrLen& rEnd, - std::vector<sal_uLong> &rArr, bool const bRemoveSoftHyphen) + std::vector<xub_StrLen> &rArr, bool const bRemoveSoftHyphen) { OUStringBuffer buf(rNd.GetTxt()); rArr.clear(); @@ -392,7 +392,7 @@ bool SwPaM::DoSearch( const SearchOptions& rSearchOpt, utl::TextSearch& rSTxt, SwNodeIndex& rNdIdx = pPam->GetPoint()->nNode; const SwNode* pSttNd = &rNdIdx.GetNode(); OUString sCleanStr; - std::vector<sal_uLong> aFltArr; + std::vector<xub_StrLen> aFltArr; LanguageType eLastLang = 0; // if the search string contains a soft hypen, // we don't strip them from the text: |