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

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Thu Jan 9 16:11:49 UTC 2020


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

New commits:
commit 25916a651ca4eaa535022aeddfcb57b7f7a9f2f0
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Thu Jan 9 15:59:26 2020 +0100
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Jan 9 17:10:51 2020 +0100

    sw: fix confusing comment in CopyFlyInFlyImpl()
    
    Change-Id: I7b9da4aecc7dce4b2a539455182e5a3f6a75a497
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86494
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx
index 6ead169ec498..5c2b745161ff 100644
--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx
+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx
@@ -3631,7 +3631,7 @@ void DocumentContentOperationsManager::CopyFlyInFlyImpl(
         }
         aAnchor.SetAnchor( &newPos );
 
-        // Check recursion: copy content in its own frame, then don't copy it.
+        // Check recursion: if copying content inside the same frame, then don't copy the format.
         if( pDest == &m_rDoc )
         {
             const SwFormatContent& rContent = (*it).GetFormat()->GetContent();


More information about the Libreoffice-commits mailing list