diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-09-12 21:51:57 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-09-12 21:51:57 +0200 |
commit | f6488227823a2a1f2f210ead00add0af02a2c0fd (patch) | |
tree | 8ae1087e6c6130850666df9389067a98e066f3b3 | |
parent | 5bc6c7b2e170a35914d7cd07347c77a9c9d23664 (diff) |
SwDoc::InsertSwSection translate assertion
Change-Id: I225610dd844b081eb0c0e4e5b1e0f31188cb8062
-rw-r--r-- | sw/source/core/docnode/ndsect.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx index 8dd40236b76d..81d495a2e2ff 100644 --- a/sw/source/core/docnode/ndsect.cxx +++ b/sw/source/core/docnode/ndsect.cxx @@ -165,7 +165,9 @@ SwDoc::InsertSwSection(SwPaM const& rRange, SwSectionData & rNewData, if( rRange.HasMark() && 0 == ( nRegionRet = IsInsRegionAvailable( rRange, &pPrvNd ) )) { - OSL_ENSURE( !this, "Selection ueber verschiedene Sections" ); + // demoted to info because this is called from SwXTextSection::attach, + // so it could be invalid input + SAL_INFO("sw.core" , "InsertSwSection: rRange overlaps other sections"); return 0; } |