Skip to content

Commit bac2ff2

Browse files
Removed the curly braces in IF statement
1 parent 7b761d5 commit bac2ff2

File tree

1 file changed

+1
-3
lines changed
  • Word-document/Continue-numbering-different-styles/Continue-numbering-different-styles

1 file changed

+1
-3
lines changed

Word-document/Continue-numbering-different-styles/Continue-numbering-different-styles/Program.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@
2020
for (int i = paragraphCount - 1; i >= 0; i--)
2121
{
2222
WParagraph paragraph = destinationDocument.LastSection.Paragraphs[i];
23+
// Get the current list style.
2324
if (paragraph.ListFormat.CurrentListStyle != null)
24-
{
25-
// Get the current list style.
2625
listStyle = paragraph.ListFormat.CurrentListStyle;
27-
}
2826
else
2927
{
3028
// Check the paragraph style for a list style and store it.

0 commit comments

Comments
 (0)