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

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Mon Feb 17 14:37:20 UTC 2020


 sw/source/filter/ww8/docxattributeoutput.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 11345d8b7e3e1c6bbe940c08cc284e257e0811d0
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Sun Feb 16 18:52:52 2020 +0300
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon Feb 17 15:36:26 2020 +0100

    Prefer prefix ++ operator for non-primitive type SwNodeIndex
    
    Change-Id: I8863084065cd4ec3f1735a9469f6e28cd525abce
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88810
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 3e7964b8f957..5fe8e2f41088 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -344,7 +344,7 @@ static void checkAndWriteFloatingTables(DocxAttributeOutput& rDocxAttributeOutpu
         SwNodeIndex aStartNode = *pStartNode;
 
         // go to the next node (actual content)
-        aStartNode++;
+        ++aStartNode;
 
         // this has to be a table
         if (!aStartNode.GetNode().IsTableNode())


More information about the Libreoffice-commits mailing list