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.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index 6ef022d81e0f..ad221b1b9c3e 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -49,22 +49,22 @@ enum SfxItemKind {
// warning, if there is no boolean inside the any this will always return the value false
inline bool Any2Bool( const ::com::sun::star::uno::Any&rValue )
{
- bool nValue = false;
+ bool bValue = false;
if( rValue.hasValue() )
{
if( rValue.getValueType() == cppu::UnoType<bool>::get() )
{
- nValue = *static_cast<sal_Bool const *>(rValue.getValue());
+ bValue = *static_cast<sal_Bool const *>(rValue.getValue());
}
else
{
sal_Int32 nNum = 0;
if( rValue >>= nNum )
- nValue = nNum != 0;
+ bValue = nNum != 0;
}
}
- return nValue;
+ return bValue;
}
enum SfxMapUnit