diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-07-26 15:53:28 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-26 15:54:50 +0200 |
commit | 27d3fc221d042decbd84b72719107547562d2e12 (patch) | |
tree | acefbbf90724b084c04b1bbc5b668c5fed0ee3f4 /svx | |
parent | 772699ac1f2375c33f0819ebb127555d3178c4e5 (diff) |
warning C4018: '>': signed/unsigned mismatch
Change-Id: I25607ce79111b2c2933ab5e2c165df0594ed4363
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/srchdlg.hxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 2 |
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; |