summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/UndoCore.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/inc/UndoCore.hxx')
-rw-r--r--sw/source/core/inc/UndoCore.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/inc/UndoCore.hxx b/sw/source/core/inc/UndoCore.hxx
index 6a2d9289b50b..0d09c20c34bb 100644
--- a/sw/source/core/inc/UndoCore.hxx
+++ b/sw/source/core/inc/UndoCore.hxx
@@ -156,7 +156,7 @@ class SwUndoFormatColl : public SwUndo, private SwUndRng
void DoSetFormatColl(SwDoc & rDoc, SwPaM const & rPaM);
public:
- SwUndoFormatColl( const SwPaM&, SwFormatColl*,
+ SwUndoFormatColl( const SwPaM&, const SwFormatColl*,
const bool bReset,
const bool bResetListAttrs );
virtual ~SwUndoFormatColl() override;
@@ -200,7 +200,7 @@ class SwUndoSetFlyFormat : public SwUndo, public SwClient
void GetAnchor( SwFormatAnchor& rAnhor, sal_uLong nNode, sal_Int32 nContent );
public:
- SwUndoSetFlyFormat( SwFrameFormat& rFlyFormat, SwFrameFormat& rNewFrameFormat );
+ SwUndoSetFlyFormat( SwFrameFormat& rFlyFormat, const SwFrameFormat& rNewFrameFormat );
virtual ~SwUndoSetFlyFormat() override;
virtual void UndoImpl( ::sw::UndoRedoContext & ) override;