summaryrefslogtreecommitdiff
path: root/sc/source/filter/xcl97
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-02-04 00:23:52 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-02-04 00:24:51 +1100
commit8db902785ed40ef388218bd5068f14f5d4bedd69 (patch)
tree08a02ad07d02fce16bd37b6c02503239483911c9 /sc/source/filter/xcl97
parent4a2824e72aae407f5f2a86e6ef45278ef864d437 (diff)
tdf#94269 Replace "n" prefix for bool variables with "b"
Change-Id: I8999dc2701010424ea4d2504e99ed429030d7d4e
Diffstat (limited to 'sc/source/filter/xcl97')
-rw-r--r--sc/source/filter/xcl97/xcl97rec.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index 8f5ac1491491..43a355a4db3c 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -1346,7 +1346,7 @@ ExcEScenario::ExcEScenario( const XclExpRoot& rRoot, SCTAB nTab )
sComment.Assign( sTmpComm, EXC_STR_DEFAULT, 255 );
if( sComment.Len() )
nRecLen += sComment.GetSize();
- nProtected = (nFlags & SC_SCENARIO_PROTECT);
+ bProtected = (nFlags & SC_SCENARIO_PROTECT);
sUserName.Assign( rRoot.GetUserName(), EXC_STR_DEFAULT, 255 );
nRecLen += sUserName.GetSize();
@@ -1404,7 +1404,7 @@ void ExcEScenario::SaveCont( XclExpStream& rStrm )
sal_uInt16 count = aCells.size();
rStrm << (sal_uInt16) count // number of cells
- << sal_uInt8(nProtected) // fProtection
+ << sal_uInt8(bProtected) // fProtection
<< (sal_uInt8) 0 // fHidden
<< (sal_uInt8) sName.Len() // length of scen name
<< (sal_uInt8) sComment.Len() // length of comment
@@ -1441,7 +1441,7 @@ void ExcEScenario::SaveXml( XclExpXmlStream& rStrm )
sax_fastparser::FSHelperPtr& rWorkbook = rStrm.GetCurrentStream();
rWorkbook->startElement( XML_scenario,
XML_name, XclXmlUtils::ToOString( sName ).getStr(),
- XML_locked, XclXmlUtils::ToPsz( nProtected ),
+ XML_locked, XclXmlUtils::ToPsz( bProtected ),
// OOXTODO: XML_hidden,
XML_count, OString::number( aCells.size() ).getStr(),
XML_user, XESTRING_TO_PSZ( sUserName ),