summaryrefslogtreecommitdiff
path: root/comphelper/source
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2012-02-14 19:39:01 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2012-02-14 19:55:22 +0100
commit034b130b90af330caab0b9fe7f19db45b5232eea (patch)
tree0970ec68f4f2c0d57ffdb240a5fc7bd80faf54dd /comphelper/source
parentc1ef5ba65c1b3d9c9bb8c45f68e494493e628837 (diff)
comphelper: add getINT64
Diffstat (limited to 'comphelper/source')
-rw-r--r--comphelper/source/misc/types.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/comphelper/source/misc/types.cxx b/comphelper/source/misc/types.cxx
index f3df258e9d1f..c9eb6bb143c6 100644
--- a/comphelper/source/misc/types.cxx
+++ b/comphelper/source/misc/types.cxx
@@ -80,6 +80,14 @@ sal_Bool operator ==(const Time& _rLeft, const Time& _rRight)
}
//------------------------------------------------------------------------------
+sal_Int64 getINT64(const Any& _rAny)
+{
+ sal_Int64 nReturn = 0;
+ OSL_VERIFY( _rAny >>= nReturn );
+ return nReturn;
+}
+
+//------------------------------------------------------------------------------
sal_Int32 getINT32(const Any& _rAny)
{
sal_Int32 nReturn = 0;