diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-11-18 12:16:57 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-11-18 12:16:57 +0100 |
commit | ff89cf3166fd36111e205a994efa57feb99c1e2e (patch) | |
tree | 242f1ca2a6ed7757fc1560f69eb040fcaf16dda9 /sc/source/ui/inc/undobase.hxx | |
parent | 230136cff127e4170a83dcc1d909e54608f7e2ee (diff) |
undoapi: don't do view updates when paints are locked
Diffstat (limited to 'sc/source/ui/inc/undobase.hxx')
-rw-r--r-- | sc/source/ui/inc/undobase.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/inc/undobase.hxx b/sc/source/ui/inc/undobase.hxx index 6f2bb3572832..ea7885b2859b 100644 --- a/sc/source/ui/inc/undobase.hxx +++ b/sc/source/ui/inc/undobase.hxx @@ -31,6 +31,7 @@ #include <svl/undo.hxx> #include "global.hxx" #include "address.hxx" +#include "docsh.hxx" class ScDocument; class ScDocShell; @@ -53,6 +54,10 @@ protected: ScDocShell* pDocShell; SfxUndoAction* pDetectiveUndo; + bool IsPaintLocked() const { return pDocShell->IsPaintLocked(); } + + bool SetViewMarkData( const ScMarkData& rMarkData ); + void BeginUndo(); void EndUndo(); void BeginRedo(); |