[Libreoffice-commits] core.git: sc/inc sc/source
Stephan Bergmann
sbergman at redhat.com
Mon Jun 3 03:05:19 PDT 2013
sc/inc/document.hxx | 2 +-
sc/source/core/data/documen8.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 52a2f1d57d706a6ba45d307ed3f5409c8f0527ef
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jun 3 12:03:38 2013 +0200
This looks like a typo
...from a11be8a87a749f56d5c5514bbd9ffd90b3f75392 "use size_t where possible and
fix some more places."
Change-Id: I27c6d3532dd3f672d7b06b60add32d44a20d9068
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index eb29dea..2b7490e 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -692,7 +692,7 @@ public:
/** Returns the result matrix of the specified DDE link.
@param nDdePos Index of the DDE link (does not include other links from link manager).
@return The result matrix, if the DDE link has been found, 0 otherwise. */
- SC_DLLPUBLIC const ScMatrix* GetDdeLinkResultMatrix( sal_uInt16 size_t ) const;
+ SC_DLLPUBLIC const ScMatrix* GetDdeLinkResultMatrix( size_t nDdePos ) const;
/** Tries to find a DDE link or creates a new, if not extant.
@param pResults If not 0, sets the matrix as as DDE link result matrix (also for existing links).
diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx
index d090ad0..236b9e5 100644
--- a/sc/source/core/data/documen8.cxx
+++ b/sc/source/core/data/documen8.cxx
@@ -1377,7 +1377,7 @@ bool ScDocument::GetDdeLinkMode( size_t nDdePos, sal_uInt8& rnMode ) const
return false;
}
-const ScMatrix* ScDocument::GetDdeLinkResultMatrix( sal_uInt16 nDdePos ) const
+const ScMatrix* ScDocument::GetDdeLinkResultMatrix( size_t nDdePos ) const
{
const ScDdeLink* pDdeLink = lclGetDdeLink( GetLinkManager(), nDdePos );
return pDdeLink ? pDdeLink->GetResult() : NULL;
More information about the Libreoffice-commits
mailing list