summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-06-03 12:03:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-06-03 12:03:38 +0200
commit52a2f1d57d706a6ba45d307ed3f5409c8f0527ef (patch)
tree37a1acdf189b42c4ef46a6ec4d766d221131fe2e /sc
parent9b5640777d4f373c8e25f600445936b8215f1be3 (diff)
This looks like a typo
...from a11be8a87a749f56d5c5514bbd9ffd90b3f75392 "use size_t where possible and fix some more places." Change-Id: I27c6d3532dd3f672d7b06b60add32d44a20d9068
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/document.hxx2
-rw-r--r--sc/source/core/data/documen8.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index eb29deaa2f7f..2b7490eb6e21 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 d090ad02b355..236b9e5983b1 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;