summaryrefslogtreecommitdiff
path: root/include/svl/poolitem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl/poolitem.hxx')
-rw-r--r--include/svl/poolitem.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index 37838caf542a..0d2ce2722071 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -58,9 +58,9 @@ static const sal_uInt32 SFX_ITEMS_DEFAULT= 0xfffffffe;
// UNO3 shortcuts
// warning, if there is no boolean inside the any this will always return the value false
-inline sal_Bool Any2Bool( const ::com::sun::star::uno::Any&rValue )
+inline bool Any2Bool( const ::com::sun::star::uno::Any&rValue )
{
- sal_Bool nValue = sal_False;
+ bool nValue = false;
if( rValue.hasValue() )
{
if( rValue.getValueType() == ::getCppuBooleanType() )
@@ -78,7 +78,7 @@ inline sal_Bool Any2Bool( const ::com::sun::star::uno::Any&rValue )
return nValue;
}
-inline ::com::sun::star::uno::Any Bool2Any( sal_Bool bValue )
+inline ::com::sun::star::uno::Any Bool2Any( bool bValue )
{
return ::com::sun::star::uno::Any( &bValue, ::getCppuBooleanType() );
}