summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/moduldlg.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-08-01 10:05:20 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-08-01 10:06:16 +0900
commit088915c36ba207591a3d97e94bcf1a395bfa69ed (patch)
tree0c5fd77fddcdbc5b5c593467e24f96a86f2d54cd /basctl/source/basicide/moduldlg.cxx
parent8df3fbe5249c3f4a1ea3d5586b5c073d5a756fb0 (diff)
sal_Bool -> bool
Change-Id: I82157e89d04eda35525c5a540504e6a8d18bc86c
Diffstat (limited to 'basctl/source/basicide/moduldlg.cxx')
-rw-r--r--basctl/source/basicide/moduldlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx
index e3ec443bf7b7..6a77b4942342 100644
--- a/basctl/source/basicide/moduldlg.cxx
+++ b/basctl/source/basicide/moduldlg.cxx
@@ -601,7 +601,7 @@ void ObjectPage::CheckButtons()
ScriptDocument aDocument( aDesc.GetDocument() );
::rtl::OUString aLibName( aDesc.GetLibName() );
::rtl::OUString aLibSubName( aDesc.GetLibSubName() );
- sal_Bool bVBAEnabled = aDocument.isInVBAMode();
+ bool bVBAEnabled = aDocument.isInVBAMode();
sal_uInt16 nMode = aBasicBox.GetMode();
sal_uInt16 nDepth = pCurEntry ? aBasicBox.GetModel()->GetDepth( pCurEntry ) : 0;
@@ -617,7 +617,7 @@ void ObjectPage::CheckButtons()
// enable/disable new module/dialog buttons
LibraryLocation eLocation( aDesc.GetLocation() );
- sal_Bool bReadOnly = sal_False;
+ bool bReadOnly = false;
if ( nDepth > 0 )
{
Reference< script::XLibraryContainer2 > xModLibContainer( aDocument.getLibraryContainer( E_SCRIPTS ), UNO_QUERY );
@@ -625,7 +625,7 @@ void ObjectPage::CheckButtons()
if ( ( xModLibContainer.is() && xModLibContainer->hasByName( aLibName ) && xModLibContainer->isLibraryReadOnly( aLibName ) ) ||
( xDlgLibContainer.is() && xDlgLibContainer->hasByName( aLibName ) && xDlgLibContainer->isLibraryReadOnly( aLibName ) ) )
{
- bReadOnly = sal_True;
+ bReadOnly = true;
}
}
if ( bReadOnly || eLocation == LIBRARY_LOCATION_SHARE )