diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-19 15:18:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-20 08:04:53 +0200 |
commit | 1e822e401ea8fe950c7fb62172ac61d8396c98e9 (patch) | |
tree | 3a29227adfe1c5ec9209d7e7deb2035633104986 /sw/source/uibase/inc/content.hxx | |
parent | b225980d2d65694278c9ed89512fbe21b08febd6 (diff) |
use tools::Long in sw
Change-Id: I44be72b3a9b14823ec37a3c799cffb4fb4d6e1de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104527
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc/content.hxx')
-rw-r--r-- | sw/source/uibase/inc/content.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
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; |