[Libreoffice-commits] core.git: starmath/source

Takeshi Abe tabe at fixedpoint.jp
Wed Jan 6 05:38:39 PST 2016


 starmath/source/unomodel.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6a5349f1a284a360b91b65414d09406281248185
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Wed Jan 6 11:50:16 2016 +0900

    starmath: Fix bogus warning
    
    RID_PRINTUIOPTIONS has 9 items.
    
    Change-Id: Ie7aee00e0219151b1573217ca670a93925de67cc
    Reviewed-on: https://gerrit.libreoffice.org/21154
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index 34bf51a..51c588c 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;
 


More information about the Libreoffice-commits mailing list