mirror of https://github.com/apache/poi.git
Patch from Jens Gerhard PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352928 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
614dcc4489
commit
982c21720e
|
@ -431,9 +431,10 @@ public class Sheet implements Model
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getNumMergedRegions()
|
public int getNumMergedRegions()
|
||||||
{
|
{
|
||||||
return merged.getNumAreas();
|
return merged!=null ? merged.getNumAreas() : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is basically a kludge to deal with the now obsolete Label records. If
|
* This is basically a kludge to deal with the now obsolete Label records. If
|
||||||
|
|
Loading…
Reference in New Issue