summaryrefslogtreecommitdiff
path: root/writerfilter/source/rtftok/rtfdispatchdestination.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/rtftok/rtfdispatchdestination.cxx')
-rw-r--r--writerfilter/source/rtftok/rtfdispatchdestination.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/writerfilter/source/rtftok/rtfdispatchdestination.cxx b/writerfilter/source/rtftok/rtfdispatchdestination.cxx
index af8a3f19b933..75d70199b01f 100644
--- a/writerfilter/source/rtftok/rtfdispatchdestination.cxx
+++ b/writerfilter/source/rtftok/rtfdispatchdestination.cxx
@@ -61,7 +61,7 @@ RTFError RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
case RTF_FLDINST:
{
// Look for the field type
- sal_Size nPos = Strm().Tell();
+ sal_uInt64 const nPos = Strm().Tell();
OStringBuffer aBuf;
char ch = 0;
bool bFoundCode = false;
@@ -192,7 +192,7 @@ RTFError RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
if (!m_pSuperstream)
{
Id nId = 0;
- sal_Size nPos = m_nGroupStartPos - 1;
+ std::size_t nPos = m_nGroupStartPos - 1;
switch (nKeyword)
{
case RTF_HEADER:
@@ -235,7 +235,7 @@ RTFError RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
// Check if this is an endnote.
OStringBuffer aBuf;
char ch;
- sal_Size nCurrent = Strm().Tell();
+ sal_uInt64 const nCurrent = Strm().Tell();
for (int i = 0; i < 7; ++i)
{
Strm().ReadChar(ch);