diff options
author | Stefan Heinemann <stefan.heinemann@codedump.ch> | 2015-09-25 13:06:09 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-29 18:33:40 +0000 |
commit | c50eb68af3096645246a77259bb3d1cc70eb6b63 (patch) | |
tree | a3f9442fa2d2c13464d1623f8bcf772b27426e72 /include/svl | |
parent | 491c2e24ac110c9ebdb1a483c34ae3d14ab0d615 (diff) |
Renamed wrongly prefixed boolean variables
Fixed tdf#94269
Change-Id: I63109cc4e095bad680d7637a065080ea368860ae
Reviewed-on: https://gerrit.libreoffice.org/18851
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/poolitem.hxx | 8 |
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 |