summaryrefslogtreecommitdiff
path: root/starmath/source/unomodel.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-01-06 11:50:16 +0900
committerMichael Stahl <mstahl@redhat.com>2016-01-06 13:38:18 +0000
commit6a5349f1a284a360b91b65414d09406281248185 (patch)
tree756ef64ba766b99a50b3007cf7dc6842a301c767 /starmath/source/unomodel.cxx
parent4ae319ae462f3f094452046e392c8c15446736ae (diff)
starmath: Fix bogus warning
RID_PRINTUIOPTIONS has 9 items. Change-Id: Ie7aee00e0219151b1573217ca670a93925de67cc Reviewed-on: https://gerrit.libreoffice.org/21154 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'starmath/source/unomodel.cxx')
-rw-r--r--starmath/source/unomodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index 34bf51a1b21d..51c588ca3a93 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -61,7 +61,7 @@ using namespace ::com::sun::star::script;
SmPrintUIOptions::SmPrintUIOptions()
{
ResStringArray aLocalizedStrings( SmResId( RID_PRINTUIOPTIONS ) );
- SAL_WARN_IF( aLocalizedStrings.Count() < 18, "starmath", "resource incomplete" );
+ SAL_WARN_IF( aLocalizedStrings.Count() < 9, "starmath", "resource incomplete" );
if( aLocalizedStrings.Count() < 9 ) // bad resource ?
return;