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 | |
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')
-rw-r--r-- | include/svl/poolitem.hxx | 8 | ||||
-rw-r--r-- | include/svx/ctredlin.hxx | 12 | ||||
-rw-r--r-- | include/vbahelper/vbareturntypes.hxx | 2 |
3 files changed, 11 insertions, 11 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 diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index 130ff107a160..28b4f68ddc60 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -305,13 +305,13 @@ public: void InsertCalcHeader(); SvxRedlinTable* GetTableControl() { return m_pViewData;} - void EnableAccept(bool nFlag=true); - void EnableAcceptAll(bool nFlag=true); - void EnableReject(bool nFlag=true); - void EnableRejectAll(bool nFlag=true); - void EnableUndo(bool nFlag=true); + void EnableAccept(bool bFlag=true); + void EnableAcceptAll(bool bFlag=true); + void EnableReject(bool bFlag=true); + void EnableRejectAll(bool bFlag=true); + void EnableUndo(bool bFlag=true); void DisableUndo() {EnableUndo(false);} - void ShowUndo(bool nFlag=true); + void ShowUndo(bool bFlag=true); void SetAcceptClickHdl( const Link<SvxTPView*,void>& rLink ) { AcceptClickLk = rLink; } diff --git a/include/vbahelper/vbareturntypes.hxx b/include/vbahelper/vbareturntypes.hxx index ac8508ca7f87..99885d6ee2ab 100644 --- a/include/vbahelper/vbareturntypes.hxx +++ b/include/vbahelper/vbareturntypes.hxx @@ -55,7 +55,7 @@ namespace ooo class ReturnBoolean : public ReturnBoolean_BASE { public: - ReturnBoolean( bool nValue ) : ReturnBoolean_BASE( nValue ){} + ReturnBoolean( bool bValue ) : ReturnBoolean_BASE( bValue ){} }; typedef DefaultReturnHelper< float, ov::msforms::XReturnSingle > ReturnSingle_BASE; class ReturnSingle : public ReturnSingle_BASE |