summaryrefslogtreecommitdiff
path: root/sc/source/core
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-01-29 14:18:24 +0000
committerRüdiger Timm <rt@openoffice.org>2008-01-29 14:18:24 +0000
commitb54a39d684cd656bd718d1240a7f04cba72f4d0d (patch)
treeb0d6be0f2b2346d6fc53746a59b77e37de9160c2 /sc/source/core
parent6be3aef3ca4cdf38bbbb70995e905ac9f97452c6 (diff)
INTEGRATION: CWS dr58_SRC680 (1.40.56); FILE MERGED
2008/01/11 12:45:25 dr 1.40.56.2: #i84412# set note visibility when copying cells, remove global depenencies from postit.hxx header 2007/12/14 10:50:56 nn 1.40.56.1: #i84560# braces for gcc 4.2.1 warnings (patch fom hub)
Diffstat (limited to 'sc/source/core')
-rw-r--r--sc/source/core/data/documen9.cxx19
1 files changed, 7 insertions, 12 deletions
diff --git a/sc/source/core/data/documen9.cxx b/sc/source/core/data/documen9.cxx
index 8b384c214a51..9b2c93efce24 100644
--- a/sc/source/core/data/documen9.cxx
+++ b/sc/source/core/data/documen9.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: documen9.cxx,v $
*
- * $Revision: 1.40 $
+ * $Revision: 1.41 $
*
- * last change: $Author: vg $ $Date: 2007-10-23 14:43:23 $
+ * last change: $Author: rt $ $Date: 2008-01-29 15:18:24 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -35,18 +35,9 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sc.hxx"
-#ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_
-#include <com/sun/star/uno/Reference.hxx>
-#endif
-#ifndef _COM_SUN_STAR_EMBED_XEMBEDDEDOBJECT_HPP_
#include <com/sun/star/embed/XEmbeddedObject.hpp>
-#endif
-#ifndef _COM_SUN_STAR_EMBED_XCLASSIFIEDOBJECT_HPP_
#include <com/sun/star/embed/XClassifiedObject.hpp>
-#endif
-
-
// INCLUDE ---------------------------------------------------------------
@@ -85,7 +76,7 @@
#include "chartarr.hxx"
#include "detfunc.hxx" // for UpdateAllComments
#include "editutil.hxx"
-
+#include "postit.hxx"
using namespace ::com::sun::star;
@@ -234,7 +225,9 @@ void ScDocument::ClearDrawPage(SCTAB nTab)
if (pPage)
pPage->Clear();
else
+ {
DBG_ERROR("ScDocument::DeleteDrawObjects: pPage ???");
+ }
}
}
@@ -395,7 +388,9 @@ void ScDocument::DeleteObjects( SCTAB nTab )
if ( ValidTab(nTab) && pTab[nTab] )
pDrawLayer->DeleteObjects( nTab );
else
+ {
DBG_ERROR("DeleteObjects: falsche Tabelle");
+ }
}
void ScDocument::DeleteObjectsInSelection( const ScMarkData& rMark )