svx/inc/svx/srchdlg.hxx | 2 +- svx/source/dialog/srchdlg.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 27d3fc221d042decbd84b72719107547562d2e12 Author: Michael Stahl <mst...@redhat.com> Date: Thu Jul 26 15:53:28 2012 +0200 warning C4018: '>': signed/unsigned mismatch Change-Id: I25607ce79111b2c2933ab5e2c165df0594ed4363 diff --git a/svx/inc/svx/srchdlg.hxx b/svx/inc/svx/srchdlg.hxx index 6d032e6..2868e03 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 70af258..8dd903e 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits