You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Bookmarks/Find-Bookmark-Owner-TextBody-or-Header-Footer/.NET/Find-Bookmark-Owner-TextBody-or-Header-Footer/Program.cs
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,7 @@ public static void Main(string[] args)
16
16
if(bkmkStart!=null)
17
17
{
18
18
// Get the paragraphs that contain the bookmark's start.
19
-
WParagraphstartPara=bkmkStart.OwnerParagraph;
20
-
EntityownerEntity=startPara;
19
+
EntityownerEntity=bkmkStart.OwnerParagraph;
21
20
// Traverse the owner hierarchy until reaching the section, stopping if a HeaderFooter is found
0 commit comments