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

Stephan Bergmann sbergman at redhat.com
Mon Mar 12 11:24:52 UTC 2018


 sw/source/core/doc/DocumentContentOperationsManager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eda031b57f7faab682c6ea6c16892a2f243ec6cf
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Mar 12 12:24:24 2018 +0100

    loplugin:redundantfcast
    
    Change-Id: If705487606f419d28504341808da3301b585bf91

diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx
index d5aea24d8337..ef50e8cb4d13 100644
--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx
+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx
@@ -138,7 +138,7 @@ namespace
         else
         {
             rDelCount = 0;
-            return SwNodeIndex(rStart);
+            return rStart;
         }
     }
 


More information about the Libreoffice-commits mailing list