diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-19 17:38:08 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-19 17:38:08 -0400 |
commit | 3a6626f030a495212c8245b4359fecb88ed0f02e (patch) | |
tree | 4da520a1ee22ad20394bd4dc3d639ce2fcc02246 | |
parent | f3f060986ff8dcd310dfa944259c7189b9d8c3cd (diff) |
Let's consistently use 'm' prefix for data members.
And fix incorrect initialization order.
Change-Id: I3ea1cc2fa19fb28780f076762208e62237a386b2
-rw-r--r-- | sc/inc/dbdataformatting.hxx | 4 | ||||
-rw-r--r-- | sc/source/core/tool/dbdataformatting.cxx | 22 |
2 files changed, 13 insertions, 13 deletions
diff --git a/sc/inc/dbdataformatting.hxx b/sc/inc/dbdataformatting.hxx index dc9d6ed2f6dc..c14bed14fd23 100644 --- a/sc/inc/dbdataformatting.hxx +++ b/sc/inc/dbdataformatting.hxx @@ -23,8 +23,8 @@ class SC_DLLPUBLIC ScDBDataFormatting sal_Int32 maSecondRowStripeSize; sal_Int32 maFirstColStripeSize; sal_Int32 maSecondColStripeSize; - bool bBandedRows; - bool bBandedColumns; + bool mbBandedRows; + bool mbBandedColumns; public: ScDBDataFormatting(); ScDBDataFormatting(const OUString& rTableStyleName, const OUString& rFirstRowStripeStyle, const OUString& rSecondRowStripeStyle, const OUString& rFirstColStripeStyle, const OUString& rSecondColStripeStyle, bool bBRows, bool bBCols); diff --git a/sc/source/core/tool/dbdataformatting.cxx b/sc/source/core/tool/dbdataformatting.cxx index 67f0ba3ffe93..07f1ede8aeae 100644 --- a/sc/source/core/tool/dbdataformatting.cxx +++ b/sc/source/core/tool/dbdataformatting.cxx @@ -16,12 +16,12 @@ ScDBDataFormatting::ScDBDataFormatting(): maSecondRowStripeStyle ( "Default" ), maFirstColStripeStyle ( "Default" ), maSecondColStripeStyle ( "Default" ), - bBandedRows ( false ), - bBandedColumns ( false ), maFirstRowStripeSize ( 1 ), maSecondRowStripeSize ( 1 ), maFirstColStripeSize ( 1 ), - maSecondColStripeSize ( 1 ) + maSecondColStripeSize ( 1 ), + mbBandedRows ( false ), + mbBandedColumns ( false ) { } @@ -31,8 +31,8 @@ ScDBDataFormatting::ScDBDataFormatting(const OUString& rTableStyleName, const OU maSecondRowStripeStyle ( rSecondRowStripeStyle ), maFirstColStripeStyle ( rFirstColStripeStyle ), maSecondColStripeStyle ( rSecondColStripeStyle ), - bBandedRows ( bBRows ), - bBandedColumns ( bBCols ) + mbBandedRows ( bBRows ), + mbBandedColumns ( bBCols ) { } @@ -42,8 +42,8 @@ ScDBDataFormatting::ScDBDataFormatting( const ScDBDataFormatting& rTableFormatDa maSecondRowStripeStyle ( rTableFormatData.maSecondRowStripeStyle ), maFirstColStripeStyle ( rTableFormatData.maFirstColStripeStyle ), maSecondColStripeStyle ( rTableFormatData.maSecondColStripeStyle ), - bBandedRows ( rTableFormatData.bBandedRows ), - bBandedColumns ( rTableFormatData.bBandedColumns ) + mbBandedRows ( rTableFormatData.mbBandedRows ), + mbBandedColumns ( rTableFormatData.mbBandedColumns ) { } @@ -59,22 +59,22 @@ const OUString& ScDBDataFormatting::GetTableStyleName() void ScDBDataFormatting::SetBandedRows( bool bBRows ) { - bBandedRows = bBRows; + mbBandedRows = bBRows; } bool ScDBDataFormatting::GetBandedRows() { - return bBandedRows; + return mbBandedRows; } void ScDBDataFormatting::SetBandedColumns( bool bBCols ) { - bBandedColumns = bBCols; + mbBandedColumns = bBCols; } bool ScDBDataFormatting::GetBandedColumns() { - return bBandedColumns; + return mbBandedColumns; } const OUString& ScDBDataFormatting::GetFirstRowStripeStyle() const |