[Libreoffice-commits] .: starmath/source

Tor Lillqvist tml at kemper.freedesktop.org
Mon Mar 5 01:07:59 PST 2012


 starmath/source/mathtype.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit e0b0fe240e8110790e6f00a41e0482481027ff1c
Author: Tor Lillqvist <tml at iki.fi>
Date:   Mon Mar 5 11:07:52 2012 +0200

    Drop an unused variable

diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 3995390..76ecaf4 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -666,7 +666,6 @@ int MathType::HandleRecords(int nLevel,sal_uInt8 nSelector,
     sal_uInt8 nTag,nRecord;
     sal_uInt8 nTabType,nTabStops;
     sal_uInt16 nTabOffset;
-    rtl::OUString sFontName;
     int i,nRet=1,newline=0;
     bool bSilent=false;
     int nPart=0;
@@ -1762,8 +1761,7 @@ int MathType::HandleRecords(int nLevel,sal_uInt8 nSelector,
                             break;
                         aSeq.push_back(nChar8);
                     }
-                    sFontName = rtl::OUString(&aSeq[0], aSeq.size(),
-                        RTL_TEXTENCODING_MS_1252);
+                    // Do nothing to the font name now in aSeq!?
                 }
                 break;
             case SIZE:


More information about the Libreoffice-commits mailing list