summaryrefslogtreecommitdiff
path: root/vcl/source/edit/textund2.hxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-08-15 12:54:57 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-08-16 09:10:19 +0200
commit866e287adee448c1c8b431c6c084d3fe3283649d (patch)
tree53864635bcb2832c92834678a66b7090f1181147 /vcl/source/edit/textund2.hxx
parenta00c47afd4cf379ce2b22f3c33bb7975a5a6366a (diff)
sal_uLong to sal_uInt32 as TextPaM paragraph number
Applied also to related functions. Also fix a couple of minor issues while at it. Change-Id: I615094d047c87a0f4854054e720492d3ab25c575
Diffstat (limited to 'vcl/source/edit/textund2.hxx')
-rw-r--r--vcl/source/edit/textund2.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/edit/textund2.hxx b/vcl/source/edit/textund2.hxx
index fc33c27da396..3b8a10465589 100644
--- a/vcl/source/edit/textund2.hxx
+++ b/vcl/source/edit/textund2.hxx
@@ -26,12 +26,12 @@ class TextUndoDelPara : public TextUndo
{
private:
bool mbDelObject;
- sal_uLong mnPara;
+ sal_uInt32 mnPara;
TextNode* mpNode; // points at the valid not-destroyed object
public:
TYPEINFO_OVERRIDE();
- TextUndoDelPara( TextEngine* pTextEngine, TextNode* pNode, sal_uLong nPara );
+ TextUndoDelPara( TextEngine* pTextEngine, TextNode* pNode, sal_uInt32 nPara );
virtual ~TextUndoDelPara();
virtual void Undo() SAL_OVERRIDE;
@@ -43,12 +43,12 @@ public:
class TextUndoConnectParas : public TextUndo
{
private:
- sal_uLong mnPara;
+ sal_uInt32 mnPara;
sal_Int32 mnSepPos;
public:
TYPEINFO_OVERRIDE();
- TextUndoConnectParas( TextEngine* pTextEngine, sal_uLong nPara, sal_Int32 nSepPos );
+ TextUndoConnectParas( TextEngine* pTextEngine, sal_uInt32 nPara, sal_Int32 nSepPos );
virtual ~TextUndoConnectParas();
virtual void Undo() SAL_OVERRIDE;
@@ -60,12 +60,12 @@ public:
class TextUndoSplitPara : public TextUndo
{
private:
- sal_uLong mnPara;
+ sal_uInt32 mnPara;
sal_Int32 mnSepPos;
public:
TYPEINFO_OVERRIDE();
- TextUndoSplitPara( TextEngine* pTextEngine, sal_uLong nPara, sal_Int32 nSepPos );
+ TextUndoSplitPara( TextEngine* pTextEngine, sal_uInt32 nPara, sal_Int32 nSepPos );
virtual ~TextUndoSplitPara();
virtual void Undo() SAL_OVERRIDE;