summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewsrch.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-07-26 20:14:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-26 22:43:25 +0200
commit4d42aeae86253e167facb1adfddd0c9976b7801a (patch)
tree0fa5dc9313136cb7920aa2116c6b49d206d7abca /sw/source/uibase/uiview/viewsrch.cxx
parentb3c66db70453d400528c3625335bfed2b0cfc475 (diff)
sal_uLong->sal_Int32 in the Find/Search methods
we cast this to sal_Int32 once it hits the UNO methods anyway Change-Id: I8d18330929acbb5b2f40d9b0fd0f49e087be867e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137483 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/uiview/viewsrch.cxx')
-rw-r--r--sw/source/uibase/uiview/viewsrch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewsrch.cxx b/sw/source/uibase/uiview/viewsrch.cxx
index 04831dfccac9..0ca7c9028310 100644
--- a/sw/source/uibase/uiview/viewsrch.cxx
+++ b/sw/source/uibase/uiview/viewsrch.cxx
@@ -782,7 +782,7 @@ sal_uLong SwView::FUNC_Search( const SwSearchOptions& rOptions )
if( !bDoReplace )
aSearchOpt.replaceString.clear();
- sal_uLong nFound;
+ sal_Int32 nFound;
if( aSrchSet.Count() || ( xReplSet && xReplSet->Count() ))
{
nFound = m_pWrtShell->SearchAttr(