diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-10 22:40:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-10 22:40:41 +0200 |
commit | f222de1de0f4be3ee01162aa3c62ca928dc8476f (patch) | |
tree | d8b28cbd2377fc444dd7db6ee5ad8c42c5c51422 /include | |
parent | 17282387d650e843e0f5a28611d91597ccd09970 (diff) |
Remove unnecessary Bool2Any
(It feels better to use explicitly bool-typed css::uno::makeAny<bool>(x) rather
than implicitly typed css::uno::makeAny(x) or css::uno::Any(x), in case x is not
already of type bool.)
Change-Id: I282b3764bb207aeae9f13cc981e68e8ef2b8ab93
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/poolitem.hxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx index 518c875d96f1..156ea48eeebf 100644 --- a/include/svl/poolitem.hxx +++ b/include/svl/poolitem.hxx @@ -75,11 +75,6 @@ inline bool Any2Bool( const ::com::sun::star::uno::Any&rValue ) return nValue; } -inline ::com::sun::star::uno::Any Bool2Any( bool bValue ) -{ - return ::com::sun::star::uno::Any( &bValue, cppu::UnoType<bool>::get() ); -} - enum SfxMapUnit { SFX_MAPUNIT_100TH_MM, |