summaryrefslogtreecommitdiff
path: root/vcl/source/edit
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/edit')
-rw-r--r--vcl/source/edit/textdat2.hxx8
-rw-r--r--vcl/source/edit/textund2.hxx14
2 files changed, 11 insertions, 11 deletions
diff --git a/vcl/source/edit/textdat2.hxx b/vcl/source/edit/textdat2.hxx
index 70396be8435e..b5f2fc1de84f 100644
--- a/vcl/source/edit/textdat2.hxx
+++ b/vcl/source/edit/textdat2.hxx
@@ -99,9 +99,9 @@ public:
struct TEWritingDirectionInfo
{
- bool const bLeftToRight;
- sal_Int32 const nStartPos;
- sal_Int32 const nEndPos;
+ bool bLeftToRight;
+ sal_Int32 nStartPos;
+ sal_Int32 nEndPos;
TEWritingDirectionInfo( bool LeftToRight, sal_Int32 Start, sal_Int32 End )
: bLeftToRight {LeftToRight}
, nStartPos {Start}
@@ -170,7 +170,7 @@ inline bool TextLine::operator == ( const TextLine& rLine ) const
class TEParaPortion
{
private:
- TextNode* const mpNode;
+ TextNode* mpNode;
std::vector<TextLine> maLines;
TETextPortionList maTextPortions;
diff --git a/vcl/source/edit/textund2.hxx b/vcl/source/edit/textund2.hxx
index 299ae7161e11..729a130ad456 100644
--- a/vcl/source/edit/textund2.hxx
+++ b/vcl/source/edit/textund2.hxx
@@ -26,7 +26,7 @@ class TextUndoDelPara : public TextUndo
{
private:
bool mbDelObject;
- sal_uInt32 const mnPara;
+ sal_uInt32 mnPara;
TextNode* mpNode; // points at the valid not-destroyed object
public:
@@ -42,8 +42,8 @@ public:
class TextUndoConnectParas : public TextUndo
{
private:
- sal_uInt32 const mnPara;
- sal_Int32 const mnSepPos;
+ sal_uInt32 mnPara;
+ sal_Int32 mnSepPos;
public:
TextUndoConnectParas( TextEngine* pTextEngine, sal_uInt32 nPara, sal_Int32 nSepPos );
@@ -58,8 +58,8 @@ public:
class TextUndoSplitPara : public TextUndo
{
private:
- sal_uInt32 const mnPara;
- sal_Int32 const mnSepPos;
+ sal_uInt32 mnPara;
+ sal_Int32 mnSepPos;
public:
TextUndoSplitPara( TextEngine* pTextEngine, sal_uInt32 nPara, sal_Int32 nSepPos );
@@ -91,8 +91,8 @@ public:
class TextUndoRemoveChars : public TextUndo
{
private:
- TextPaM const maTextPaM;
- OUString const maText;
+ TextPaM maTextPaM;
+ OUString maText;
public:
TextUndoRemoveChars( TextEngine* pTextEngine, const TextPaM& rTextPaM, const OUString& rStr );