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

New commits:
commit 8c2dca9d05ca3019a3f1e3d4ccfa13cd0711e615
Author: Adam Co <[email protected]>
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 <[email protected]>
    Tested-by: Miklos Vajna <[email protected]>

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: */
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to