From 1e822e401ea8fe950c7fb62172ac61d8396c98e9 Mon Sep 17 00:00:00 2001 From: Noel Date: Mon, 19 Oct 2020 15:18:15 +0200 Subject: use tools::Long in sw Change-Id: I44be72b3a9b14823ec37a3c799cffb4fb4d6e1de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104527 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/inc/content.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sw/source/uibase/inc/content.hxx') diff --git a/sw/source/uibase/inc/content.hxx b/sw/source/uibase/inc/content.hxx index 414db7068dcb..05a02a095b90 100644 --- a/sw/source/uibase/inc/content.hxx +++ b/sw/source/uibase/inc/content.hxx @@ -44,7 +44,7 @@ class SwOutlineContent : public SwContent SwOutlineNodes::size_type nArrPos, sal_uInt8 nLevel, bool bMove, - long nYPos) : + tools::Long nYPos) : SwContent(pCnt, rName, nYPos), nOutlinePos(nArrPos), nOutlineLevel(nLevel), bIsMoveable(bMove) {} @@ -62,7 +62,7 @@ class SwRegionContent : public SwContent SwRegionContent( const SwContentType* pCnt, const OUString& rName, sal_uInt8 nLevel, - long nYPos) : + tools::Long nYPos) : SwContent(pCnt, rName, nYPos), nRegionLevel(nLevel){} sal_uInt8 GetRegionLevel() const {return nRegionLevel;} @@ -78,7 +78,7 @@ public: const OUString& rName, const OUString& rURL, const SwTextINetFormat* pAttr, - long nYPos ) + tools::Long nYPos ) : SwContent( pCnt, rName, nYPos ), sURL( rURL ), pINetAttr( pAttr ) {} @@ -94,7 +94,7 @@ public: SwPostItContent( const SwContentType* pCnt, const OUString& rName, const SwFormatField* pFormatField, - long nYPos ) + tools::Long nYPos ) : SwContent(pCnt, rName, nYPos) , pField(pFormatField) {} @@ -107,7 +107,7 @@ class SwGraphicContent : public SwContent { OUString sLink; public: - SwGraphicContent(const SwContentType* pCnt, const OUString& rName, const OUString& rLink, long nYPos) + SwGraphicContent(const SwContentType* pCnt, const OUString& rName, const OUString& rLink, tools::Long nYPos) : SwContent( pCnt, rName, nYPos ), sLink( rLink ) {} virtual ~SwGraphicContent() override; @@ -119,7 +119,7 @@ class SwTOXBaseContent : public SwContent { const SwTOXBase* pBase; public: - SwTOXBaseContent(const SwContentType* pCnt, const OUString& rName, long nYPos, const SwTOXBase& rBase) + SwTOXBaseContent(const SwContentType* pCnt, const OUString& rName, tools::Long nYPos, const SwTOXBase& rBase) : SwContent( pCnt, rName, nYPos ), pBase(&rBase) {} virtual ~SwTOXBaseContent() override; -- cgit