summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorBugra <bugrakurt26@gmail.com>2020-03-04 15:36:04 +0300
committerMichael Stahl <michael.stahl@cib.de>2020-03-20 17:57:09 +0100
commit337049d4642be4349dd8af3021e05165572d0bfa (patch)
tree1d8e9fc70e7bc531bb01dd0ec352903eb1eb9c45 /editeng
parent1be7a056ff843e8e9cb80890ecf7d3aa852557e9 (diff)
tdf#114441: Convert use of sal_uLong to better integer types
Change-Id: I9b062372f394021140bedc65e7f2e3827eb84716 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89964 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editobj.cxx2
-rw-r--r--editeng/source/editeng/editobj2.hxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx
index a0f46f0329ee..ec4e964f83fd 100644
--- a/editeng/source/editeng/editobj.cxx
+++ b/editeng/source/editeng/editobj.cxx
@@ -79,7 +79,7 @@ void XEditAttribute::SetItem(const SfxPoolItem& rNew)
}
XParaPortionList::XParaPortionList(
- OutputDevice* pRefDev, sal_uLong nPW, sal_uInt16 _nStretchX, sal_uInt16 _nStretchY)
+ OutputDevice* pRefDev, sal_uInt32 nPW, sal_uInt16 _nStretchX, sal_uInt16 _nStretchY)
: pRefDevPtr(pRefDev)
, nStretchX(_nStretchX)
, nStretchY(_nStretchY)
diff --git a/editeng/source/editeng/editobj2.hxx b/editeng/source/editeng/editobj2.hxx
index b7d045d459f4..41bbc5404e50 100644
--- a/editeng/source/editeng/editobj2.hxx
+++ b/editeng/source/editeng/editobj2.hxx
@@ -97,16 +97,16 @@ class XParaPortionList
VclPtr<OutputDevice> pRefDevPtr;
sal_uInt16 nStretchX;
sal_uInt16 nStretchY;
- sal_uLong nPaperWidth;
+ sal_uInt32 nPaperWidth;
public:
- XParaPortionList(OutputDevice* pRefDev, sal_uLong nPW, sal_uInt16 _nStretchX, sal_uInt16 _nStretchY);
+ XParaPortionList(OutputDevice* pRefDev, sal_uInt32 nPW, sal_uInt16 _nStretchX, sal_uInt16 _nStretchY);
void push_back(XParaPortion* p);
const XParaPortion& operator[](size_t i) const;
OutputDevice* GetRefDevPtr() const { return pRefDevPtr; }
- sal_uLong GetPaperWidth() const { return nPaperWidth; }
+ sal_uInt32 GetPaperWidth() const { return nPaperWidth; }
bool RefDevIsVirtual() const {return pRefDevPtr->IsVirtual();}
const MapMode& GetRefMapMode() const { return pRefDevPtr->GetMapMode(); }
sal_uInt16 GetStretchX() const { return nStretchX; }