summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-08-02 13:14:13 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-08-16 09:10:15 +0200
commitc679bd3c1c3f625aed3ba5a6da7dffad0fba80c8 (patch)
treeee745e90cd4fac8f9a692536b83926c79988f4d2 /vcl/source
parent06c4a644b6cee4fce9f1acfee1b4e2dc9ec07367 (diff)
sal_uInt16 to sal_Int32
Change-Id: I562ab15e54647248f13276d9213ac5658fb2dc4a
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/edit/textund2.hxx8
-rw-r--r--vcl/source/edit/textundo.cxx4
2 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/edit/textund2.hxx b/vcl/source/edit/textund2.hxx
index b469a3bad618..fc33c27da396 100644
--- a/vcl/source/edit/textund2.hxx
+++ b/vcl/source/edit/textund2.hxx
@@ -44,11 +44,11 @@ class TextUndoConnectParas : public TextUndo
{
private:
sal_uLong mnPara;
- sal_uInt16 mnSepPos;
+ sal_Int32 mnSepPos;
public:
TYPEINFO_OVERRIDE();
- TextUndoConnectParas( TextEngine* pTextEngine, sal_uLong nPara, sal_uInt16 nSepPos );
+ TextUndoConnectParas( TextEngine* pTextEngine, sal_uLong nPara, sal_Int32 nSepPos );
virtual ~TextUndoConnectParas();
virtual void Undo() SAL_OVERRIDE;
@@ -61,11 +61,11 @@ class TextUndoSplitPara : public TextUndo
{
private:
sal_uLong mnPara;
- sal_uInt16 mnSepPos;
+ sal_Int32 mnSepPos;
public:
TYPEINFO_OVERRIDE();
- TextUndoSplitPara( TextEngine* pTextEngine, sal_uLong nPara, sal_uInt16 nSepPos );
+ TextUndoSplitPara( TextEngine* pTextEngine, sal_uLong nPara, sal_Int32 nSepPos );
virtual ~TextUndoSplitPara();
virtual void Undo() SAL_OVERRIDE;
diff --git a/vcl/source/edit/textundo.cxx b/vcl/source/edit/textundo.cxx
index 328c3ca21194..41391ac4bd86 100644
--- a/vcl/source/edit/textundo.cxx
+++ b/vcl/source/edit/textundo.cxx
@@ -194,7 +194,7 @@ OUString TextUndoDelPara::GetComment () const
return ResId(STR_TEXTUNDO_DELPARA, *ImplGetResMgr());
}
-TextUndoConnectParas::TextUndoConnectParas( TextEngine* pTextEngine, sal_uLong nPara, sal_uInt16 nPos )
+TextUndoConnectParas::TextUndoConnectParas( TextEngine* pTextEngine, sal_uLong nPara, sal_Int32 nPos )
: TextUndo( pTextEngine )
{
mnPara = nPara;
@@ -222,7 +222,7 @@ OUString TextUndoConnectParas::GetComment () const
return ResId(STR_TEXTUNDO_CONNECTPARAS, *ImplGetResMgr()).toString();
}
-TextUndoSplitPara::TextUndoSplitPara( TextEngine* pTextEngine, sal_uLong nPara, sal_uInt16 nPos )
+TextUndoSplitPara::TextUndoSplitPara( TextEngine* pTextEngine, sal_uLong nPara, sal_Int32 nPos )
: TextUndo( pTextEngine )
{
mnPara = nPara;