Makes member functions implementation consistent with declarations.
From 208dab07e8944d5a494fbed011555b5af0587924 Mon Sep 17 00:00:00 2001
From: Rafael Dominguez <venccsralph@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
Context
- [Libreoffice] [PATCH] Fix type mismatch in GDIMetaFile member functions. · Rafael Dominguez
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.