diff options
Diffstat (limited to 'vcl/source/edit/textund2.hxx')
-rw-r--r-- | vcl/source/edit/textund2.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/edit/textund2.hxx b/vcl/source/edit/textund2.hxx index 729a130ad456..299ae7161e11 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 mnPara; + sal_uInt32 const mnPara; TextNode* mpNode; // points at the valid not-destroyed object public: @@ -42,8 +42,8 @@ public: class TextUndoConnectParas : public TextUndo { private: - sal_uInt32 mnPara; - sal_Int32 mnSepPos; + sal_uInt32 const mnPara; + sal_Int32 const mnSepPos; public: TextUndoConnectParas( TextEngine* pTextEngine, sal_uInt32 nPara, sal_Int32 nSepPos ); @@ -58,8 +58,8 @@ public: class TextUndoSplitPara : public TextUndo { private: - sal_uInt32 mnPara; - sal_Int32 mnSepPos; + sal_uInt32 const mnPara; + sal_Int32 const mnSepPos; public: TextUndoSplitPara( TextEngine* pTextEngine, sal_uInt32 nPara, sal_Int32 nSepPos ); @@ -91,8 +91,8 @@ public: class TextUndoRemoveChars : public TextUndo { private: - TextPaM maTextPaM; - OUString maText; + TextPaM const maTextPaM; + OUString const maText; public: TextUndoRemoveChars( TextEngine* pTextEngine, const TextPaM& rTextPaM, const OUString& rStr ); |