diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-20 09:26:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-24 08:12:08 +0200 |
commit | b1de52241c1c2045ceab4ea3526f51f145be2930 (patch) | |
tree | 29f016cdbb4b1e8742edca44f4adf8427b7e5e96 /include/svtools/ctrltool.hxx | |
parent | 1a1fe47731bed27e974094a86b16f91e768c6dc0 (diff) |
svtools: sal_Bool->bool
Change-Id: Iaa489318f25107e91fc8133523fbd9d724493314
Diffstat (limited to 'include/svtools/ctrltool.hxx')
-rw-r--r-- | include/svtools/ctrltool.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/svtools/ctrltool.hxx b/include/svtools/ctrltool.hxx index 0c830f3c121a..dd44b5066eb9 100644 --- a/include/svtools/ctrltool.hxx +++ b/include/svtools/ctrltool.hxx @@ -53,7 +53,7 @@ class FontNameMenu, class FontSizeMenu -------------------------------------------------------------------------- FontList::FontList( OutputDevice* pDevice, OutputDevice* pDevice2 = NULL, - sal_Bool bAll = sal_True ); + bool bAll = true ); Konstruktor der Klasse FontList. Vom uebergebenen OutputDevice werden die entsprechenden Fonts abgefragt. Das OutputDevice muss solange existieren, @@ -163,13 +163,13 @@ private: SVT_DLLPRIVATE ImplFontListNameInfo* ImplFind( const OUString& rSearchName, sal_uLong* pIndex ) const; SVT_DLLPRIVATE ImplFontListNameInfo* ImplFindByName( const OUString& rStr ) const; - SVT_DLLPRIVATE void ImplInsertFonts( OutputDevice* pDev, sal_Bool bAll, - sal_Bool bInsertData ); + SVT_DLLPRIVATE void ImplInsertFonts( OutputDevice* pDev, bool bAll, + bool bInsertData ); public: FontList( OutputDevice* pDevice, OutputDevice* pDevice2 = NULL, - sal_Bool bAll = sal_True ); + bool bAll = true ); ~FontList(); FontList* Clone() const; @@ -191,7 +191,7 @@ public: FontWeight eWeight, FontItalic eItalic ) const; - sal_Bool IsAvailable( const OUString& rName ) const; + bool IsAvailable( const OUString& rName ) const; sal_uInt16 GetFontNameCount() const { return (sal_uInt16)maEntries.size(); @@ -223,8 +223,8 @@ private: public: FontSizeNames( LanguageType eLanguage /* = LANGUAGE_DONTKNOW */ ); - sal_uLong Count() const { return mnElem; } - sal_Bool IsEmpty() const { return !mnElem; } + sal_uLong Count() const { return mnElem; } + bool IsEmpty() const { return !mnElem; } long Name2Size( const OUString& ) const; OUString Size2Name( long ) const; |