summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-01-09 15:59:26 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-01-09 17:10:51 +0100
commit25916a651ca4eaa535022aeddfcb57b7f7a9f2f0 (patch)
treea5583377a15d5549137d4edd839dac474dd2ba31
parentf8359855cfbc54441015e23ea2ed7735daef2beb (diff)
sw: fix confusing comment in CopyFlyInFlyImpl()
Change-Id: I7b9da4aecc7dce4b2a539455182e5a3f6a75a497 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86494 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
-rw-r--r--sw/source/core/doc/DocumentContentOperationsManager.cxx2
1 files changed, 1 insertions, 1 deletions
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();