diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-03-31 22:05:47 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-04-01 00:11:03 -0400 |
commit | 12024429e295b959001258d790ecac4b074203d0 (patch) | |
tree | 0a337c0b798856caa6e3ac8afdf00bb4f574379c /sc/inc | |
parent | 7d18257bde13f64bad9fb87f663bfb347cd6b899 (diff) |
Cleaned up ScSortParam.
Tabs and sal_Bool madness.
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/sortparam.hxx | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/sc/inc/sortparam.hxx b/sc/inc/sortparam.hxx index 32e19bfa4662..982a124c595e 100644 --- a/sc/inc/sortparam.hxx +++ b/sc/inc/sortparam.hxx @@ -35,8 +35,7 @@ #include <com/sun/star/lang/Locale.hpp> #include "scdllapi.h" -#define MAXSORT 3 - +#define MAXSORT 3 struct ScSubTotalParam; struct ScQueryParam; @@ -47,23 +46,23 @@ struct SC_DLLPUBLIC ScSortParam SCROW nRow1; SCCOL nCol2; SCROW nRow2; - sal_Bool bHasHeader; - sal_Bool bByRow; - sal_Bool bCaseSens; - sal_Bool bNaturalSort; - sal_Bool bUserDef; - sal_uInt16 nUserIndex; - sal_Bool bIncludePattern; - sal_Bool bInplace; + bool bHasHeader; + bool bByRow; + bool bCaseSens; + bool bNaturalSort; + bool bUserDef; + sal_uInt16 nUserIndex; + bool bIncludePattern; + bool bInplace; SCTAB nDestTab; SCCOL nDestCol; SCROW nDestRow; - sal_Bool bDoSort[MAXSORT]; + bool bDoSort[MAXSORT]; SCCOLROW nField[MAXSORT]; - sal_Bool bAscending[MAXSORT]; - ::com::sun::star::lang::Locale aCollatorLocale; + bool bAscending[MAXSORT]; + ::com::sun::star::lang::Locale aCollatorLocale; ::rtl::OUString aCollatorAlgorithm; - sal_uInt16 nCompatHeader; + sal_uInt16 nCompatHeader; ScSortParam(); ScSortParam( const ScSortParam& r ); @@ -72,8 +71,8 @@ struct SC_DLLPUBLIC ScSortParam /// TopTen sort ScSortParam( const ScQueryParam&, SCCOL nCol ); - ScSortParam& operator= ( const ScSortParam& r ); - sal_Bool operator== ( const ScSortParam& rOther ) const; + ScSortParam& operator= ( const ScSortParam& r ); + bool operator== ( const ScSortParam& rOther ) const; void Clear (); void MoveToDest(); |