summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 21:52:01 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 21:52:01 +0000
commit206dd6bfaff4a45ccf1346e72b0916e2de7bcbbd (patch)
treedf0f91be558bf732192b421d06f7b44f596352ad /comphelper
parentd0ef0897bde8c9dd6aa251b047c665740d645035 (diff)
INTEGRATION: CWS warnings01 (1.5.118); FILE MERGED
2005/09/23 03:22:54 sb 1.5.118.2: RESYNC: (1.5-1.6); FILE MERGED 2005/09/08 13:16:54 sb 1.5.118.1: #i53898# Made code warning-free.
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/property/property.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/comphelper/source/property/property.cxx b/comphelper/source/property/property.cxx
index a50b96d8f0da..1bfb7e0a5e87 100644
--- a/comphelper/source/property/property.cxx
+++ b/comphelper/source/property/property.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: property.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 02:57:34 $
+ * last change: $Author: hr $ $Date: 2006-06-19 22:52:01 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -156,7 +156,10 @@ sal_Bool tryPropertyValue(staruno::Any& _rConvertedValue, staruno::Any& _rOldVal
if ( !uno_type_assignData(
const_cast< void* >( _rConvertedValue.getValue() ), _rConvertedValue.getValueType().getTypeLibType(),
const_cast< void* >( _rValueToSet.getValue() ), _rValueToSet.getValueType().getTypeLibType(),
- staruno::cpp_queryInterface, staruno::cpp_acquire, staruno::cpp_release
+ reinterpret_cast< uno_QueryInterfaceFunc >(
+ staruno::cpp_queryInterface),
+ reinterpret_cast< uno_AcquireFunc >(staruno::cpp_acquire),
+ reinterpret_cast< uno_ReleaseFunc >(staruno::cpp_release)
)
)
throw starlang::IllegalArgumentException();