summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-06-08 10:07:39 +0000
committerFrank Schönheit <fs@openoffice.org>2001-06-08 10:07:39 +0000
commit928670692f4f0f55fda66d4129ea962ddad0e885 (patch)
tree20547efdda291c619b9f74b045184e342b080e33
parent7f05591b689e836efe341bca47f472a9c00c6dcd (diff)
#86096# corrected extracting sal_Int16/sal_Int32 values
-rw-r--r--extensions/source/propctrlr/formcontroller.cxx15
1 files changed, 11 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/formcontroller.cxx b/extensions/source/propctrlr/formcontroller.cxx
index 0564e195fb50..1b5357691853 100644
--- a/extensions/source/propctrlr/formcontroller.cxx
+++ b/extensions/source/propctrlr/formcontroller.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: formcontroller.cxx,v $
*
- * $Revision: 1.31 $
+ * $Revision: 1.32 $
*
- * last change: $Author: fs $ $Date: 2001-06-08 07:51:27 $
+ * last change: $Author: fs $ $Date: 2001-06-08 11:07:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1247,7 +1247,9 @@ namespace pcr
if (implGetCheckFontProperty(_rPropName, aValue))
return _nDefault;
- return ::comphelper::getINT16(aValue);
+ sal_Int32 nValue(_nDefault);
+ ::cppu::enum2int(nValue, aValue);
+ return (sal_Int16)nValue;
}
//------------------------------------------------------------------------
@@ -1257,7 +1259,9 @@ namespace pcr
if (implGetCheckFontProperty(_rPropName, aValue))
return _nDefault;
- return ::comphelper::getINT32(aValue);
+ sal_Int32 nValue(_nDefault);
+ ::cppu::enum2int(nValue, aValue);
+ return nValue;
}
//------------------------------------------------------------------------
@@ -2907,6 +2911,9 @@ namespace pcr
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.31 2001/06/08 07:51:27 fs
+ * #65293# linux type conversion problem
+ *
* Revision 1.30 2001/06/08 07:49:01 fs
* #65293# linux type conversion problem
*