summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/moduldlg.hxx
diff options
context:
space:
mode:
authorUray M. János <uray.janos@gmail.com>2012-08-07 08:36:40 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-08-07 11:01:01 +0300
commit13b9c0513319623fd56a5a0ead5bdddecf90a10f (patch)
tree0e20a62643c2c44023222bcc63b451c7c4b6947a /basctl/source/basicide/moduldlg.hxx
parent67f688b97aa5afde455674dbe28297a89d817503 (diff)
IDE: sal_Bool to bool
Convert all occurences of sal_Bool, sal_True and sal_False in basctl to bool, true and false -- except in prototypes of virtual function overrides. (The virtual functions that are internal to basctl can be and was converted.) Note that since sal_Bool and bool are implicitly convertible to each other, for functions that take a sal_Bool (by value), true and false can be given too. Change-Id: Ie44740fa87f89e9fedd913840ca2b38e95e6b957
Diffstat (limited to 'basctl/source/basicide/moduldlg.hxx')
-rw-r--r--basctl/source/basicide/moduldlg.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/basctl/source/basicide/moduldlg.hxx b/basctl/source/basicide/moduldlg.hxx
index 21329676bd31..a86f94bfd6e1 100644
--- a/basctl/source/basicide/moduldlg.hxx
+++ b/basctl/source/basicide/moduldlg.hxx
@@ -81,7 +81,7 @@ private:
OKButton maOKButton;
CancelButton maCancelButton;
- sal_Bool mbExportAsPackage;
+ bool mbExportAsPackage;
DECL_LINK(OkButtonHandler, void *);
@@ -89,7 +89,7 @@ public:
ExportDialog( Window * pParent );
~ExportDialog();
- sal_Bool isExportAsPackage( void ) { return mbExportAsPackage; }
+ bool isExportAsPackage () { return mbExportAsPackage; }
};
@@ -132,8 +132,8 @@ public:
SvLBoxEntry* DoInsertEntry( const String& rStr, sal_uLong nPos = LISTBOX_APPEND );
SvLBoxEntry* FindEntry( const String& rName );
- void CheckEntryPos( sal_uLong nPos, sal_Bool bCheck = sal_True );
- sal_Bool IsChecked( sal_uLong nPos ) const;
+ void CheckEntryPos( sal_uLong nPos, bool bCheck = true );
+ bool IsChecked( sal_uLong nPos ) const;
virtual void InitEntry( SvLBoxEntry*, const XubString&, const Image&, const Image&, SvLBoxButtonKind eButtonKind );
virtual sal_Bool EditingEntry( SvLBoxEntry* pEntry, Selection& rSel );
@@ -163,11 +163,11 @@ public:
void SetStorageName( const ::rtl::OUString& rName );
BasicCheckBox& GetLibBox() { return aLibBox; }
- sal_Bool IsReference() const { return aReferenceBox.IsChecked(); }
- sal_Bool IsReplace() const { return aReplaceBox.IsChecked(); }
+ bool IsReference() const { return aReferenceBox.IsChecked(); }
+ bool IsReplace() const { return aReplaceBox.IsChecked(); }
- void EnableReference( sal_Bool b ) { aReferenceBox.Enable( b ); }
- void EnableReplace( sal_Bool b ) { aReplaceBox.Enable( b ); }
+ void EnableReference (bool b) { aReferenceBox.Enable(b); }
+ void EnableReplace (bool b) { aReplaceBox.Enable(b); }
};