summaryrefslogtreecommitdiff
path: root/idl
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 /idl
parent4a2824e72aae407f5f2a86e6ef45278ef864d437 (diff)
tdf#94269 Replace "n" prefix for bool variables with "b"
Change-Id: I8999dc2701010424ea4d2504e99ed429030d7d4e
Diffstat (limited to 'idl')
-rw-r--r--idl/inc/bastype.hxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/idl/inc/bastype.hxx b/idl/inc/bastype.hxx
index de0d8aa7df66..3fd6069a7373 100644
--- a/idl/inc/bastype.hxx
+++ b/idl/inc/bastype.hxx
@@ -31,30 +31,30 @@ class SvTokenStream;
class Svint
{
- int nVal;
+ int bVal;
bool bSet;
public:
- Svint() { nVal = 0; bSet = false; }
- Svint( int n ) : nVal( n ), bSet( true ) {}
- Svint( int n, bool bSetP ) : nVal( n ), bSet( bSetP ) {}
- Svint & operator = ( int n ) { nVal = n; bSet = true; return *this; }
+ Svint() { bVal = 0; bSet = false; }
+ Svint( int n ) : bVal( n ), bSet( true ) {}
+ Svint( int n, bool bSetP ) : bVal( n ), bSet( bSetP ) {}
+ Svint & operator = ( int n ) { bVal = n; bSet = true; return *this; }
- operator int ()const { return nVal; }
+ operator int ()const { return bVal; }
bool IsSet() const { return bSet; }
};
class SvBOOL
{
- bool nVal:1,
+ bool bVal:1,
bSet:1;
public:
- SvBOOL() { bSet = nVal = false; }
- SvBOOL( bool n ) : nVal( n ), bSet( true ) {}
- SvBOOL( bool n, bool bSetP ) : nVal( n ), bSet( bSetP ) {}
- SvBOOL & operator = ( bool n ) { nVal = n; bSet = true; return *this; }
+ SvBOOL() { bSet = bVal = false; }
+ SvBOOL( bool b ) : bVal( b ), bSet( true ) {}
+ SvBOOL( bool b, bool bSetP ) : bVal( b ), bSet( bSetP ) {}
+ SvBOOL & operator = ( bool n ) { bVal = n; bSet = true; return *this; }
- operator bool() const { return nVal; }
+ operator bool() const { return bVal; }
bool IsSet() const { return bSet; }
bool ReadSvIdl( SvStringHashEntry * pName, SvTokenStream & rInStm );
@@ -77,7 +77,7 @@ public:
return !m_aStr.isEmpty() || nValue != 0;
}
sal_uInt32 GetValue() const { return nValue; }
- void SetValue( sal_uInt32 nVal ) { nValue = nVal; }
+ void SetValue( sal_uInt32 bVal ) { nValue = bVal; }
void ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
void ReadSvIdl( SvIdlDataBase &, SvStringHashEntry * pName,