[Libreoffice-commits] core.git: sw/inc sw/source

Adam Co rattles2013 at gmail.com
Tue Feb 11 04:02:41 PST 2014


 sw/inc/redline.hxx              |   10 ++++++++++
 sw/source/core/doc/docredln.cxx |   16 ++++++++++++++++
 2 files changed, 26 insertions(+)

New commits:
commit 8c2dca9d05ca3019a3f1e3d4ccfa13cd0711e615
Author: Adam Co <rattles2013 at gmail.com>
Date:   Thu Jan 16 17:03:07 2014 +0200

    Add derived class 'SwTableRowRedline' stub
    
    Add stub derived class 'SwTableRowRedline' that will hold information
    about the table row that got the changes, including the actual change
    that was done (inserted\deleted).
    
    Change-Id: I8b6ef9da3f3d9859a1e908dbcc018bc5c54b8329
    Reviewed-on: https://gerrit.libreoffice.org/7466
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx
index 3fe682e..3dc9dea 100644
--- a/sw/inc/redline.hxx
+++ b/sw/inc/redline.hxx
@@ -23,6 +23,7 @@
 #include <rtl/ustring.hxx>
 
 #include <pam.hxx>
+#include <swtable.hxx>
 
 #include <IDocumentRedlineAccess.hxx>
 
@@ -308,6 +309,15 @@ public:
     virtual ~SwExtraRedline();
 };
 
+/// Redline that holds information about a table-row that had some change
+class SW_DLLPUBLIC SwTableRowRedline : public SwExtraRedline
+{
+public:
+    SwTableRowRedline( RedlineType_t eType, SwTableLine* pTableLine );
+    SwTableRowRedline( const SwTableRowRedline& );
+    virtual ~SwTableRowRedline();
+};
+
 
 class SW_DLLPUBLIC SwRedlineHint : public SfxHint
 {
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index ac9ce2d..8d599da 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -3963,4 +3963,20 @@ SwExtraRedline::~SwExtraRedline()
 {
 }
 
+SwTableRowRedline::SwTableRowRedline( RedlineType_t eTyp, SwTableLine* pTableLine )
+:SwExtraRedline( eTyp )
+{
+    (void)pTableLine;
+}
+
+SwTableRowRedline::SwTableRowRedline( const SwTableRowRedline& rCpy )
+: SwExtraRedline( rCpy )
+{
+    (void)rCpy;
+}
+
+SwTableRowRedline::~SwTableRowRedline()
+{
+}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list