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
0930d66666
commit
6d084e9831
@ -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
Block a user