summaryrefslogtreecommitdiffstats
path: root/sw/inc/swmodule.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-25 14:00:35 +0200
committerNoel Grandin <noel@peralex.com>2014-04-30 08:44:42 +0200
commit6aa35db39311dcd7965c9c9c21fcf4143a1f9b43 (patch)
tree04320eaf8c7481c1b496460624ee20ec11360ac2 /sw/inc/swmodule.hxx
parentstoc: sal_Bool->bool (diff)
downloadcore-6aa35db39311dcd7965c9c9c21fcf4143a1f9b43.tar.gz
core-6aa35db39311dcd7965c9c9c21fcf4143a1f9b43.zip
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/inc/swmodule.hxx')
-rw-r--r--sw/inc/swmodule.hxx40
1 files changed, 20 insertions, 20 deletions
diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx
index 621789018aeb..6b159b955b6b 100644
--- a/sw/inc/swmodule.hxx
+++ b/sw/inc/swmodule.hxx
@@ -104,8 +104,8 @@ class SW_DLLPUBLIC SwModule: public SfxModule, public SfxListener, public utl::C
::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XLanguageGuessing > m_xLanguageGuesser;
- sal_Bool bAuthorInitialised : 1;
- sal_Bool bEmbeddedLoadSave : 1;
+ bool bAuthorInitialised : 1;
+ bool bEmbeddedLoadSave : 1;
// Catch hint for DocInfo.
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE;
@@ -115,7 +115,7 @@ class SW_DLLPUBLIC SwModule: public SfxModule, public SfxListener, public utl::C
protected:
// Envelopes, labels.
void InsertEnv(SfxRequest&);
- void InsertLab(SfxRequest&, sal_Bool bLabel);
+ void InsertLab(SfxRequest&, bool bLabel);
public:
// public Data - used for internal Clipboard / Drag & Drop / XSelection
@@ -146,23 +146,23 @@ public:
void ExecOther(SfxRequest &); // Fields, formula...
// Modify user settings.
- const SwMasterUsrPref *GetUsrPref(sal_Bool bWeb) const;
- const SwViewOption* GetViewOption(sal_Bool bWeb);
+ const SwMasterUsrPref *GetUsrPref(bool bWeb) const;
+ const SwViewOption* GetViewOption(bool bWeb);
void ApplyUsrPref(const SwViewOption &, SwView*,
sal_uInt16 nDest = VIEWOPT_DEST_VIEW );
void ApplyUserMetric( FieldUnit eMetric, bool bWeb );
- void ApplyRulerMetric( FieldUnit eMetric, sal_Bool bHorizontal, bool bWeb );
+ void ApplyRulerMetric( FieldUnit eMetric, bool bHorizontal, bool bWeb );
void ApplyFldUpdateFlags(SwFldUpdateFlags eFldFlags);
void ApplyLinkMode(sal_Int32 nNewLinkMode);
// Default page mode for text grid.
- void ApplyDefaultPageMode(sal_Bool bIsSquaredPageMode);
+ void ApplyDefaultPageMode(bool bIsSquaredPageMode);
- void ApplyUserCharUnit(sal_Bool bApplyChar, bool bWeb); // apply_char_unit
+ void ApplyUserCharUnit(bool bApplyChar, bool bWeb); // apply_char_unit
// Create ConfigItems.
SwModuleOptions* GetModuleConfig() { return pModuleConfig;}
- SwPrintOptions* GetPrtOptions(sal_Bool bWeb);
+ SwPrintOptions* GetPrtOptions(bool bWeb);
SwChapterNumRules* GetChapterNumRules();
SwStdFontConfig* GetStdFontConfig() { return pStdFontConfig; }
SwNavigationConfig* GetNavigationConfig();
@@ -178,15 +178,15 @@ public:
static SwView* GetFirstView();
static SwView* GetNextView(SwView*);
- sal_Bool IsEmbeddedLoadSave() const { return bEmbeddedLoadSave; }
- void SetEmbeddedLoadSave( sal_Bool bFlag ) { bEmbeddedLoadSave = bFlag; }
+ bool IsEmbeddedLoadSave() const { return bEmbeddedLoadSave; }
+ void SetEmbeddedLoadSave( bool bFlag ) { bEmbeddedLoadSave = bFlag; }
- void ShowDBObj( SwView& rView, const SwDBData& rData, sal_Bool bOnlyIfAvailable = sal_False);
+ void ShowDBObj( SwView& rView, const SwDBData& rData, bool bOnlyIfAvailable = false);
// Table modi.
- sal_Bool IsInsTblFormatNum(sal_Bool bHTML) const;
- sal_Bool IsInsTblChangeNumFormat(sal_Bool bHTML) const;
- sal_Bool IsInsTblAlignNum(sal_Bool bHTML) const;
+ bool IsInsTblFormatNum(bool bHTML) const;
+ bool IsInsTblChangeNumFormat(bool bHTML) const;
+ bool IsInsTblAlignNum(bool bHTML) const;
// Redlining.
sal_uInt16 GetRedlineAuthor();
@@ -202,19 +202,19 @@ public:
const Color& GetRedlineMarkColor();
SvxCompareMode GetCompareMode() const;
- sal_Bool IsUseRsid() const;
- sal_Bool IsIgnorePieces() const;
+ bool IsUseRsid() const;
+ bool IsIgnorePieces() const;
sal_uInt16 GetPieceLen() const;
// Return defined DocStat - WordDelimiter.
OUString GetDocStatWordDelim() const;
// Pass metric of ModuleConfig (for HTML-export).
- sal_uInt16 GetMetric( sal_Bool bWeb ) const;
+ sal_uInt16 GetMetric( bool bWeb ) const;
// Pass update-statuses.
- sal_uInt16 GetLinkUpdMode( sal_Bool bWeb ) const;
- SwFldUpdateFlags GetFldUpdateFlags( sal_Bool bWeb ) const;
+ sal_uInt16 GetLinkUpdMode( bool bWeb ) const;
+ SwFldUpdateFlags GetFldUpdateFlags( bool bWeb ) const;
// Virtual methods for options dialog.
virtual SfxItemSet* CreateItemSet( sal_uInt16 nId ) SAL_OVERRIDE;