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 /basic | |
parent | Jewish Calendar: updated URL of borrowed code (diff) | |
download | core-c50eb68af3096645246a77259bb3d1cc70eb6b63.tar.gz core-c50eb68af3096645246a77259bb3d1cc70eb6b63.zip |
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 'basic')
-rw-r--r-- | basic/source/runtime/methods.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index ae5b76965374..2c21bc3e768b 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -1636,26 +1636,26 @@ RTLFUNC(StrComp) const OUString& rStr2 = rPar.Get(2)->GetOUString(); SbiInstance* pInst = GetSbData()->pInst; - bool nTextCompare; + bool bTextCompare; bool bCompatibility = ( pInst && pInst->IsCompatibility() ); if( bCompatibility ) { SbiRuntime* pRT = pInst->pRun; - nTextCompare = pRT && pRT->IsImageFlag( SbiImageFlags::COMPARETEXT ); + bTextCompare = pRT && pRT->IsImageFlag( SbiImageFlags::COMPARETEXT ); } else { - nTextCompare = true; + bTextCompare = true; } if ( rPar.Count() == 4 ) - nTextCompare = rPar.Get(3)->GetInteger(); + bTextCompare = rPar.Get(3)->GetInteger(); if( !bCompatibility ) { - nTextCompare = !nTextCompare; + bTextCompare = !bTextCompare; } sal_Int32 nRetValue = 0; - if( nTextCompare ) + if( bTextCompare ) { ::utl::TransliterationWrapper* pTransliterationWrapper = GetSbData()->pTransliterationWrapper; if( !pTransliterationWrapper ) |