summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/sortparam.hxx31
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();