summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/inc/svx/srchdlg.hxx2
-rw-r--r--svx/source/dialog/srchdlg.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/inc/svx/srchdlg.hxx b/svx/inc/svx/srchdlg.hxx
index 6d032e6f49fb..2868e03c95c9 100644
--- a/svx/inc/svx/srchdlg.hxx
+++ b/svx/inc/svx/srchdlg.hxx
@@ -85,7 +85,7 @@ public:
void Insert( const SearchAttrItem& rItem )
{ SrchAttrItemList::push_back( rItem ); }
// deletes the pointer to the items
- void Remove( sal_uInt16 nPos, sal_uInt16 nLen = 1 );
+ void Remove(size_t nPos, size_t nLen = 1);
};
#ifndef SV_NODIALOG
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 70af2582de04..8dd903e8d5eb 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -245,7 +245,7 @@ void SearchAttrItemList::Clear()
// -----------------------------------------------------------------------
// Deletes the pointer to the items
-void SearchAttrItemList::Remove( sal_uInt16 nPos, sal_uInt16 nLen )
+void SearchAttrItemList::Remove(size_t nPos, size_t nLen)
{
if ( nPos + nLen > size() )
nLen = size() - nPos;