[Libreoffice-commits] .: sfx2/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Sat Dec 18 16:57:01 PST 2010


 sfx2/source/doc/doctempl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 71176efc647f76795e4ecfe857ca2a123938f7c9
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Sun Dec 19 01:53:49 2010 +0100

    RegionData_Impl: ULONG -> size_t
    
    Only in the implementation, prototype already changed.

diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 74f9807..fa915f1 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -2146,7 +2146,7 @@ void RegionData_Impl::AddEntry( const OUString& rTitle,
 }
 
 // -----------------------------------------------------------------------
-ULONG RegionData_Impl::GetCount() const
+size_t RegionData_Impl::GetCount() const
 {
     return maEntries.size();
 }
@@ -2219,7 +2219,7 @@ DocTempl_EntryData_Impl* RegionData_Impl::GetByTargetURL( const OUString& rName
 }
 
 // -----------------------------------------------------------------------
-DocTempl_EntryData_Impl* RegionData_Impl::GetEntry( ULONG nIndex ) const
+DocTempl_EntryData_Impl* RegionData_Impl::GetEntry( size_t nIndex ) const
 {
     if ( nIndex < maEntries.size() )
         return maEntries[ nIndex ];


More information about the Libreoffice-commits mailing list