summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:36:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:36:11 +0200
commita88a386c724d13f73c33768e9a78efd95f522a89 (patch)
tree97cd2fd7f29b9d2fc22b920036990c2539dfdd46 /include
parent916f88f085cf3d0e0cc8366748f38fd7585dcdd3 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I8dd0e5c8837fe1615aa9d5f546c2fd1c0985f044
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/property.hxx4
-rw-r--r--include/comphelper/types.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/comphelper/property.hxx b/include/comphelper/property.hxx
index 7be8761fb128..b45c3f0470d8 100644
--- a/include/comphelper/property.hxx
+++ b/include/comphelper/property.hxx
@@ -153,8 +153,8 @@ inline bool tryPropertyValue(css::uno::Any& /*out*/_rConvertedValue, css::uno::A
::cppu::convertPropertyValue(bNewValue, _rValueToSet);
if (bool(bNewValue) != _bCurrentValue)
{
- _rConvertedValue.setValue(&bNewValue, ::getBooleanCppuType());
- _rOldValue.setValue(&_bCurrentValue, ::getBooleanCppuType());
+ _rConvertedValue.setValue(&bNewValue, cppu::UnoType<bool>::get());
+ _rOldValue.setValue(&_bCurrentValue, cppu::UnoType<bool>::get());
bModified = true;
}
return bModified;
diff --git a/include/comphelper/types.hxx b/include/comphelper/types.hxx
index 355daf2d71b3..4ffb6c81b307 100644
--- a/include/comphelper/types.hxx
+++ b/include/comphelper/types.hxx
@@ -154,11 +154,11 @@ namespace comphelper
//= replacement of some former UsrAny.setXXX methods - can be used with rvalues
inline void setBOOL(css::uno::Any& _rAny, bool _b)
- { _rAny.setValue(&_b, ::getBooleanCppuType()); }
+ { _rAny.setValue(&_b, cppu::UnoType<bool>::get()); }
//= extension of ::cppu::makeAny()
inline css::uno::Any makeBoolAny(bool _b)
- { return css::uno::Any(&_b, ::getBooleanCppuType()); }
+ { return css::uno::Any(&_b, cppu::UnoType<bool>::get()); }
} // namespace comphelper