Skip to content

Commit

Permalink
Compare Fonts with .equals()
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbylight committed Jul 10, 2022
1 parent 55e3870 commit 27f2347
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ else if ("style".equals(qName)) {
}

// RSTA delegates to baseFont if a scheme has no font
if (theme.scheme.getStyle(index).font == theme.baseFont) {
if (theme.baseFont.equals(theme.scheme.getStyle(index).font)) {
theme.scheme.getStyle(index).font = null;
}

Expand Down

0 comments on commit 27f2347

Please sign in to comment.