summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starmath/source/dialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 9a2f2a078e1e..06475aa0d639 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -151,7 +151,7 @@ void SetFontStyle(const OUString &rStyleName, vcl::Font &rFont)
for (i = 0; i < SmFontStyles::GetCount(); ++i)
if (rStyleName == rStyles.GetStyleName(i))
break;
- assert(i < rStyles.GetCount() && "style-name unknown");
+ assert(i < SmFontStyles::GetCount() && "style-name unknown");
nIndex = i;
}