summaryrefslogtreecommitdiff
path: root/svx/source/form/fmundo.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-08-15 09:39:31 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-08-15 09:39:31 +0000
commit9d490b1674e4e7cf7591b1e991a027cc2c27ed35 (patch)
tree08c5945d0a8cf1f2161a55ff17207e40e7258413 /svx/source/form/fmundo.cxx
parentaedbcd239abf836beae42ad6e7503289de70b78c (diff)
INTEGRATION: CWS dba30 (1.27.290); FILE MERGED
2006/07/19 11:51:49 fs 1.27.290.7: RESYNC: (1.34-1.35); FILE MERGED 2006/05/08 11:04:51 fs 1.27.290.6: RESYNC: (1.33-1.34); FILE MERGED 2006/04/20 06:38:31 oj 1.27.290.5: RESYNC: (1.32-1.33); FILE MERGED 2005/09/30 12:17:29 fs 1.27.290.4: RESYNC: (1.31-1.32); FILE MERGED 2005/05/25 15:09:04 fs 1.27.290.3: RESYNC: (1.30-1.31); FILE MERGED 2005/03/30 09:46:30 fs 1.27.290.2: RESYNC: (1.27-1.30); FILE MERGED 2005/03/02 15:57:55 fs 1.27.290.1: #i43872# Inserted/Removed: don't ignore, just because we're readonly. If somebody insists on inserting (e.g. via API) elements into a read-only document - well, be it. (The more since it seems that a new document can sometimes count as readonly, too)
Diffstat (limited to 'svx/source/form/fmundo.cxx')
-rw-r--r--svx/source/form/fmundo.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx
index 23c740ac2546..23365f560ab3 100644
--- a/svx/source/form/fmundo.cxx
+++ b/svx/source/form/fmundo.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: fmundo.cxx,v $
*
- * $Revision: 1.35 $
+ * $Revision: 1.36 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 15:59:08 $
+ * last change: $Author: hr $ $Date: 2006-08-15 10:39:31 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -340,9 +340,6 @@ void FmXUndoEnvironment::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
//------------------------------------------------------------------
void FmXUndoEnvironment::Inserted(SdrObject* pObj)
{
- if (bReadOnly)
- return;
-
if (pObj->GetObjInventor() == FmFormInventor)
{
FmFormObj* pFormObj = PTR_CAST(FmFormObj, pObj);
@@ -409,9 +406,6 @@ void FmXUndoEnvironment::Inserted(FmFormObj* pObj)
//------------------------------------------------------------------
void FmXUndoEnvironment::Removed(SdrObject* pObj)
{
- if (bReadOnly)
- return;
-
if (pObj->GetObjInventor() == FmFormInventor)
{
FmFormObj* pFormObj = PTR_CAST(FmFormObj, pObj);