[Libreoffice-commits] .: vcl/source

David Tardon dtardon at kemper.freedesktop.org
Tue Jan 25 06:42:25 PST 2011


 vcl/source/fontsubset/cff.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit a1f7b2515a6bd09a5569735a1269a9a4029d2d5c
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Jan 25 15:41:35 2011 +0100

    Revert "WaE: unused variables"
    
    This reverts commit d06a2dd024d69dec873f1a59adbf7d5b372c39a1.

diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index e1d4d84..96581da 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -1751,9 +1751,7 @@ int CffSubsetterContext::getFDSelect( int nGlyphIndex) const
                 const U16 nRangeCount = (pReadPtr[0]<<8) + pReadPtr[1];
                 assert( nRangeCount > 0);
                 assert( nRangeCount <= mnCharStrCount);
-#ifndef NDEBUG
                 U16 nPrev = (pReadPtr[2]<<8) + pReadPtr[3];
-#endif
                 assert( nPrev == 0);
                 (void)nPrev;
                 pReadPtr += 4;
@@ -1765,9 +1763,7 @@ int CffSubsetterContext::getFDSelect( int nGlyphIndex) const
                     if( nGlyphIndex < nNext)
                         return nFDIdx;
                     pReadPtr += 3;
-#ifndef NDEBUG
                     nPrev = nNext;
-#endif
                 }
             } break;
         default:	// invalid FDselect format


More information about the Libreoffice-commits mailing list