summaryrefslogtreecommitdiff
path: root/sc/inc/drwlayer.hxx
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2015-02-13 20:22:04 -0400
committerCaolán McNamara <caolanm@redhat.com>2015-04-03 07:32:23 +0000
commitbff29a3b30c8e57ab78937dca862fd738f26d89e (patch)
tree6188c3af93f0d18dc2f9c643906e4ae64ed2ab9d /sc/inc/drwlayer.hxx
parent0c32c2133e3be1ddbc719772007ba3833d2bb848 (diff)
tdf#51460 Calc fails to set undo step after changing image anchor mode
Fixed. Note that the undo button is still grayed out. Calc has not set an undo step. Change-Id: I7ff713a906b365b460351e5202161c9152542395 Reviewed-on: https://gerrit.libreoffice.org/14489 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc/drwlayer.hxx')
-rw-r--r--sc/inc/drwlayer.hxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx
index 6917c2aaa4f2..4d355b948443 100644
--- a/sc/inc/drwlayer.hxx
+++ b/sc/inc/drwlayer.hxx
@@ -76,6 +76,20 @@ public:
virtual void Redo() SAL_OVERRIDE;
};
+class ScUndoAnchorData : public SdrUndoObj
+{
+private:
+ bool mbWasCellAnchored;
+ ScDocument* mpDoc;
+ SCTAB mnTab;
+public:
+ ScUndoAnchorData( SdrObject* pObj, ScDocument* pDoc, SCTAB nTab );
+ virtual ~ScUndoAnchorData();
+
+ virtual void Undo() SAL_OVERRIDE;
+ virtual void Redo() SAL_OVERRIDE;
+};
+
class SC_DLLPUBLIC ScDrawLayer : public FmFormModel
{
private: