Kaydet (Commit) f6488227 authored tarafından Michael Stahl's avatar Michael Stahl

SwDoc::InsertSwSection translate assertion

Change-Id: I225610dd844b081eb0c0e4e5b1e0f31188cb8062
üst 5bc6c7b2
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment