summaryrefslogtreecommitdiff
path: root/basic/qa
diff options
context:
space:
mode:
authorBenjamin Ni <benjaminniri@hotmail.com>2015-09-25 11:41:53 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-02 23:40:57 +0100
commitbe729e772196f33543e21cb9bac21add87726b20 (patch)
treef2150f458e2b07f8924b4702d37c09c8dd52215a /basic/qa
parent6ccf68622e51c1b727dd042c1c1a71b5d1fd6a12 (diff)
tdf#94269: Replace "n" prefix for bool variables with "b"
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'basic/qa')
-rw-r--r--basic/qa/cppunit/basic_coverage.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/qa/cppunit/basic_coverage.cxx b/basic/qa/cppunit/basic_coverage.cxx
index 1c4cb3a8ef52..8e321c747f3a 100644
--- a/basic/qa/cppunit/basic_coverage.cxx
+++ b/basic/qa/cppunit/basic_coverage.cxx
@@ -73,7 +73,7 @@ void Coverage::test_success()
void Coverage::run_test(const OUString& sFileURL)
{
m_sCurrentTest = sFileURL;
- bool result = false;
+ bool bResult = false;
MacroSnippet testMacro;
testMacro.LoadSourceFromFile( sFileURL );
testMacro.Compile();
@@ -82,10 +82,10 @@ void Coverage::run_test(const OUString& sFileURL)
SbxVariableRef pResult = testMacro.Run();
if( pResult && pResult->GetInteger() == 1 )
{
- result = true;
+ bResult = true;
}
}
- if(result)
+ if(bResult)
{
test_success();
}