summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-11-15 23:17:44 -0500
committerKohei Yoshida <kyoshida@novell.com>2010-11-15 23:17:44 -0500
commit1c4a07c474ffc577d8087166c2fc4269d19fbc54 (patch)
tree38d6b37eee0bf7f273821130239addb8e452abba
parent8d67d02d4979bf8eb239869506f05f6ffd1e3afb (diff)
Moved another struct out of document.hxx.
-rw-r--r--sc/inc/document.hxx13
-rw-r--r--sc/source/core/data/document.cxx13
2 files changed, 13 insertions, 13 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 3288d42cd8fe..f1a7aecd77cd 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -147,6 +147,7 @@ struct ScSetStringParam;
class ScDocRowHeightUpdater;
struct ScColWidthParam;
class ScDPTableDataCache;
+struct ScCopyBlockFromClipParams;
namespace com { namespace sun { namespace star {
namespace lang {
@@ -198,18 +199,6 @@ struct ScDocStat
USHORT nPageCount;
};
-// The constant parameters to CopyBlockFromClip
-struct ScCopyBlockFromClipParams
-{
- ScDocument* pRefUndoDoc;
- ScDocument* pClipDoc;
- USHORT nInsFlag;
- SCTAB nTabStart;
- SCTAB nTabEnd;
- BOOL bAsLink;
- BOOL bSkipAttrForEmpty;
-};
-
// -----------------------------------------------------------------------
// DDE link modes
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index a6e5a42d8d88..357686f3d513 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -105,6 +105,18 @@ using ::com::sun::star::uno::Sequence;
using ::com::sun::star::sheet::TablePageBreakData;
using ::std::set;
+// The constant parameters to CopyBlockFromClip
+struct ScCopyBlockFromClipParams
+{
+ ScDocument* pRefUndoDoc;
+ ScDocument* pClipDoc;
+ USHORT nInsFlag;
+ SCTAB nTabStart;
+ SCTAB nTabEnd;
+ BOOL bAsLink;
+ BOOL bSkipAttrForEmpty;
+};
+
struct ScDefaultAttr
{
const ScPatternAttr* pAttr;
@@ -1984,7 +1996,6 @@ void ScDocument::BroadcastFromClip( SCCOL nCol1, SCROW nRow1,
}
}
-
void ScDocument::CopyBlockFromClip( SCCOL nCol1, SCROW nRow1,
SCCOL nCol2, SCROW nRow2,
const ScMarkData& rMark,