LibreOffice Module sc (master) 1
Functions
tokstack.cxx File Reference
#include <tokstack.hxx>
#include <scmatrix.hxx>
#include <svl/sharedstringpool.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <algorithm>
#include <string.h>
Include dependency graph for tokstack.cxx:

Go to the source code of this file.

Functions

static sal_uInt16 lcl_canGrow (sal_uInt16 nOld)
 Returns the new number of elements, or 0 if overflow. More...
 

Function Documentation

◆ lcl_canGrow()

static sal_uInt16 lcl_canGrow ( sal_uInt16  nOld)
static

Returns the new number of elements, or 0 if overflow.

Definition at line 73 of file tokstack.cxx.

References SAL_MAX_UINT16.

Referenced by TokenPool::GrowElement(), TokenPool::GrowId(), and TokenPool::GrowMatrix().