Makes member functions implementation consistent with declarations.
From 208dab07e8944d5a494fbed011555b5af0587924 Mon Sep 17 00:00:00 2001
From: Rafael Dominguez <venccsra...@gmail.com>
Date: Tue, 10 May 2011 16:21:19 -0430
Subject: [PATCH] Fix type mismatch in GDIMetaFile.

---
 vcl/source/gdi/gdimtf.cxx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index 37638d5..1a6d877 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -293,7 +293,7 @@ MetaAction* GDIMetaFile::NextAction()
 
 // ------------------------------------------------------------------------
 
-MetaAction* GDIMetaFile::ReplaceAction( MetaAction* pAction, size_t nAction )
+MetaAction* GDIMetaFile::ReplaceAction( MetaAction* pAction, sal_uLong nAction )
 {
     if ( nAction < aList.size() )
     {
@@ -701,7 +701,7 @@ void GDIMetaFile::ImplDelegate2PluggableRenderer( const MetaCommentAction* pAct,
 // ------------------------------------------------------------------------
 
 void GDIMetaFile::Play( OutputDevice* pOut, const Point& rPos,
-                        const Size& rSize, sal_uLong nPos )
+                        const Size& rSize, size_t nPos )
 {
     Region	aDrawClipRegion;
     MapMode aDrawMap( GetPrefMapMode() );
@@ -910,7 +910,7 @@ MetaAction* GDIMetaFile::CopyAction( size_t nPos ) const
 
 // ------------------------------------------------------------------------
 
-sal_uLong GDIMetaFile::GetActionPos( const String& rLabel )
+size_t GDIMetaFile::GetActionPos( const String& rLabel )
 {
     ImpLabel* pLabel = NULL;
 
-- 
1.7.3.4

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to