summaryrefslogtreecommitdiff
path: root/codemaker/source/idlmaker
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-03-19 15:03:25 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-03-19 15:03:25 +0000
commita832295be4ee35e352d75684d352f36772bcda01 (patch)
tree9f51002b70b382666e11b57baa2dfce5d80ff641 /codemaker/source/idlmaker
parentca07344a991e5e0a9449c43a0a4f638bc80c04e9 (diff)
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'codemaker/source/idlmaker')
-rw-r--r--codemaker/source/idlmaker/idltype.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/codemaker/source/idlmaker/idltype.cxx b/codemaker/source/idlmaker/idltype.cxx
index 432b765808c0..7406f74d0ea3 100644
--- a/codemaker/source/idlmaker/idltype.cxx
+++ b/codemaker/source/idlmaker/idltype.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: idltype.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: jsc $ $Date: 2002-06-18 17:24:51 $
+ * last change: $Author: hr $ $Date: 2003-03-19 15:53:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -701,7 +701,7 @@ void IdlType::dumpConstantValue(FileStream& o, sal_uInt16 index)
case RT_TYPE_BYTE:
{
char tmp[16];
- sprintf(tmp, "0x%x", (sal_Int8)constValue.m_value.aByte);
+ snprintf(tmp, sizeof(tmp), "0x%x", (sal_Int8)constValue.m_value.aByte);
o << tmp;
}
break;