writerfilter/source/dmapper/TableData.hxx |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

New commits:
commit 35f43bfafa763b7e45188f155fab746c0aec8804
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Tue Sep 19 20:04:16 2023 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Wed Sep 20 08:05:16 2023 +0200

    writerfilter: get rid of not needed RowPointer_t indirection
    
    RowData::Pointer_t is already a typedef, can use that directly
    everywhere.
    
    Change-Id: I393f8878abcdc9e053a08e70f26b6b1030ee5e8e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157049
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/writerfilter/source/dmapper/TableData.hxx 
b/writerfilter/source/dmapper/TableData.hxx
index e65b9c1c1abc..558fb6946bde 100644
--- a/writerfilter/source/dmapper/TableData.hxx
+++ b/writerfilter/source/dmapper/TableData.hxx
@@ -289,8 +289,7 @@ public:
  */
 class TableData : public virtual SvRefBase
 {
-    typedef RowData::Pointer_t RowPointer_t;
-    typedef ::std::vector<RowPointer_t> Rows;
+    typedef ::std::vector<RowData::Pointer_t> Rows;
 
     /**
        the data of the rows of the table
@@ -300,7 +299,7 @@ class TableData : public virtual SvRefBase
     /**
         pointer to the data of the current row (while building up the table 
data).
     */
-    RowPointer_t mpRow;
+    RowData::Pointer_t mpRow;
 
     /**
        depth of the current table in a hierarchy of tables
@@ -310,7 +309,7 @@ class TableData : public virtual SvRefBase
     /**
        initialize mpRow
      */
-    void newRow() { mpRow = RowPointer_t(new RowData()); }
+    void newRow() { mpRow = RowData::Pointer_t(new RowData()); }
 
 public:
     typedef tools::SvRef<TableData> Pointer_t;
@@ -403,12 +402,12 @@ public:
 
        @param i     index of the row
     */
-    RowPointer_t const & getRow(unsigned int i) const
+    RowData::Pointer_t const & getRow(unsigned int i) const
     {
         return mRows[i];
     }
 
-    const RowPointer_t& getCurrentRow() const
+    const RowData::Pointer_t& getCurrentRow() const
     {
         return mpRow;
     }

Reply via email to