aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/ss/util/CellAddress.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/poi/ss/util/CellAddress.java')
-rw-r--r--src/java/org/apache/poi/ss/util/CellAddress.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/java/org/apache/poi/ss/util/CellAddress.java b/src/java/org/apache/poi/ss/util/CellAddress.java
index b6307556f8..3014891ab8 100644
--- a/src/java/org/apache/poi/ss/util/CellAddress.java
+++ b/src/java/org/apache/poi/ss/util/CellAddress.java
@@ -97,6 +97,15 @@ public class CellAddress implements Comparable<CellAddress> {
}
/**
+ * Create a new CellAddress object.
+ *
+ * @param address a cell address
+ */
+ public CellAddress(CellAddress address) {
+ this(address._row, address._col);
+ }
+
+ /**
* Get the cell address row
*
* @return row