summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-24 12:22:08 +0200
committerNoel Grandin <noel@peralex.com>2014-04-30 08:43:41 +0200
commit4c73963171b1a7a837e4bfc75ae4e0303af7d117 (patch)
tree1a78e9dd12dc66c28865500dc24ae72bbfaab461 /starmath/inc
parent7e9bb77c356e3888e4bf697f4ecd69e642211c75 (diff)
starmath: sal_Bool->bool
Change-Id: I09e833765294937a75feb5cdd92cce4aa8373c24
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/document.hxx4
-rw-r--r--starmath/inc/types.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index eba196d161e1..6da42996121b 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -125,7 +125,7 @@ class SmDocShell : public SfxObjectShell, public SfxListener
sal_Int32 nFileFormat,
bool bTemplate = false ) const SAL_OVERRIDE;
- virtual sal_Bool SetData( const OUString& rData );
+ virtual bool SetData( const OUString& rData );
virtual sal_uLong GetMiscStatus() const SAL_OVERRIDE;
virtual void OnDocumentPrinterChanged( Printer * ) SAL_OVERRIDE;
virtual bool InitNew( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage ) SAL_OVERRIDE;
@@ -183,7 +183,7 @@ public:
const OUString GetComment() const;
// to replace chars that can not be saved with the document...
- sal_Bool ReplaceBadChars();
+ bool ReplaceBadChars();
void UpdateText();
void SetText(const OUString& rBuffer);
diff --git a/starmath/inc/types.hxx b/starmath/inc/types.hxx
index b15fd46cee5b..7ab5b07cd849 100644
--- a/starmath/inc/types.hxx
+++ b/starmath/inc/types.hxx
@@ -29,10 +29,10 @@ enum SmPrintSize { PRINT_SIZE_NORMAL, PRINT_SIZE_SCALED, PRINT_SIZE_ZOOMED };
-inline sal_Bool IsInPrivateUseArea( sal_Unicode cChar ) { return 0xE000 <= cChar && cChar <= 0xF8FF; }
+inline bool IsInPrivateUseArea( sal_Unicode cChar ) { return 0xE000 <= cChar && cChar <= 0xF8FF; }
// Greek char range as seen in svx/.../charmap.cxx RID_SUBSETSTR_BASIC_GREEK
-inline sal_Bool IsGreekChar( sal_Unicode cChar ) { return 0x0370 <= cChar && cChar <= 0x03FF; }
+inline bool IsGreekChar( sal_Unicode cChar ) { return 0x0370 <= cChar && cChar <= 0x03FF; }
sal_Unicode ConvertMathToMathML( sal_Unicode cChar );