summaryrefslogtreecommitdiff
path: root/oox/source/helper
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-05 17:42:51 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-05 17:42:51 +0000
commite7320b05a179e6f8c250bda5a244d42aa95d46d6 (patch)
tree683042efbea1bba079366224276935326869b632 /oox/source/helper
parent68efbf21f7a18ac4a8ba51dc952e52f269a85d92 (diff)
INTEGRATION: CWS xmlfilter03_DEV300 (1.2.4); FILE MERGED
2008/02/01 09:55:09 dr 1.2.4.1: addShape() code cleanup, started xlsx drawing import
Diffstat (limited to 'oox/source/helper')
-rw-r--r--oox/source/helper/attributelist.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/oox/source/helper/attributelist.cxx b/oox/source/helper/attributelist.cxx
index 499e27e0751e..0e769f4230b1 100644
--- a/oox/source/helper/attributelist.cxx
+++ b/oox/source/helper/attributelist.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: attributelist.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2008-01-17 08:05:59 $
+ * last change: $Author: kz $ $Date: 2008-03-05 18:42:51 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -86,6 +86,12 @@ sal_uInt32 AttributeList::getUnsignedInteger( sal_Int32 nElement, sal_uInt32 nDe
return static_cast< sal_uInt32 >( ((nValue < 0) || (nValue > SAL_MAX_UINT32)) ? 0 : nValue );
}
+sal_Int64 AttributeList::getInteger64( sal_Int32 nElement, sal_Int64 nDefault ) const
+{
+ OUString aValue = getString( nElement );
+ return (aValue.getLength() == 0) ? nDefault : aValue.toInt64();
+}
+
sal_Int32 AttributeList::getHex( sal_Int32 nElement, sal_Int32 nDefault ) const
{
OUString aValue = getString( nElement );