[Libreoffice-commits] core.git: starmath/source
Stephan Bergmann
sbergman at redhat.com
Mon Mar 21 17:07:30 UTC 2016
starmath/source/dialog.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1424d020e162b82a4147e17baad8ef18ea34d3e0
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Mar 21 18:07:00 2016 +0100
loplugin:staticcall
Change-Id: I2ff2d5a2a1423b39f960f9bdc8893cf2bb69b88b
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 9a2f2a0..06475aa 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;
}
More information about the Libreoffice-commits
mailing list