Logo Search packages:      
Sourcecode: icu version File versions  Download package

void LEGlyphStorage::adoptCharIndicesArray ( LEGlyphStorage from  ) 

Delete the char indices array and replace it with the one in from. Set the char indices array pointer in from to NULL.

Parameters:
from the LEGlyphStorage object from which to get the new char indices array.
ICU 3.0

Definition at line 473 of file LEGlyphStorage.cpp.

References fCharIndices, and NULL.

Referenced by LayoutEngine::characterProcessing(), OpenTypeLayoutEngine::glyphPostProcessing(), and UnicodeArabicOpenTypeLayoutEngine::glyphPostProcessing().

{
    if (fCharIndices != NULL) {
        LE_DELETE_ARRAY(fCharIndices);
    }

    fCharIndices = from.fCharIndices;
    from.fCharIndices = NULL;
}


Generated by  Doxygen 1.6.0   Back to index