[Libreoffice-commits] .: sc/inc sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Nov 15 20:18:04 PST 2010


 sc/inc/document.hxx              |   13 +------------
 sc/source/core/data/document.cxx |   13 ++++++++++++-
 2 files changed, 13 insertions(+), 13 deletions(-)

New commits:
commit d56e3d0ae7b34ba026e5dde4deb0d7563e203736
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Mon Nov 15 23:17:44 2010 -0500

    Moved another struct out of document.hxx.

diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 5298a07..719aa5e 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 f379b07..36ba363 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,


More information about the Libreoffice-commits mailing list