diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
commit | e8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch) | |
tree | dae18a3acbf29c192118e7c003f80df8da8e21ae /include/vcl/txtattr.hxx | |
parent | 1c8402465cfd4df862409dc310f5f099d044c4d8 (diff) |
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'include/vcl/txtattr.hxx')
-rw-r--r-- | include/vcl/txtattr.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/txtattr.hxx b/include/vcl/txtattr.hxx index e2bf0ec9c1f7..be0d3bd0024e 100644 --- a/include/vcl/txtattr.hxx +++ b/include/vcl/txtattr.hxx @@ -169,9 +169,9 @@ public: inline void Expand( sal_uInt16 nDiff ); inline void Collaps( sal_uInt16 nDiff ); - inline sal_Bool IsIn( sal_uInt16 nIndex ); - inline sal_Bool IsInside( sal_uInt16 nIndex ); - inline sal_Bool IsEmpty(); + inline bool IsIn( sal_uInt16 nIndex ); + inline bool IsInside( sal_uInt16 nIndex ); + inline bool IsEmpty(); }; @@ -207,17 +207,17 @@ inline void TextCharAttrib::Collaps( sal_uInt16 nDiff ) mnEnd = mnEnd - nDiff; } -inline sal_Bool TextCharAttrib::IsIn( sal_uInt16 nIndex ) +inline bool TextCharAttrib::IsIn( sal_uInt16 nIndex ) { return ( ( mnStart <= nIndex ) && ( mnEnd >= nIndex ) ); } -inline sal_Bool TextCharAttrib::IsInside( sal_uInt16 nIndex ) +inline bool TextCharAttrib::IsInside( sal_uInt16 nIndex ) { return ( ( mnStart < nIndex ) && ( mnEnd > nIndex ) ); } -inline sal_Bool TextCharAttrib::IsEmpty() +inline bool TextCharAttrib::IsEmpty() { return mnStart == mnEnd; } |