diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 19:57:30 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:24:40 +0100 |
commit | bd9581d46d78c5742fbb50f1b4a9ff2fc1dae7e8 (patch) | |
tree | a62544334e8f6a22c66c07cae1b560e826fabc82 /svtools/source/dialogs | |
parent | 9d29f9913faaefe350d7e056330368b3dfa26d49 (diff) |
bool improvements
Change-Id: I23e29995bc7af791067de4996923b6279f7f8892
Diffstat (limited to 'svtools/source/dialogs')
-rw-r--r-- | svtools/source/dialogs/PlaceEditDialog.cxx | 2 | ||||
-rw-r--r-- | svtools/source/dialogs/addresstemplate.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx index c2f44e936a91..ec4328fb006b 100644 --- a/svtools/source/dialogs/PlaceEditDialog.cxx +++ b/svtools/source/dialogs/PlaceEditDialog.cxx @@ -28,7 +28,7 @@ PlaceEditDialog::PlaceEditDialog( Window* pParent ) : get( m_pBTDelete, "delete" ); m_pBTOk->SetClickHdl( LINK( this, PlaceEditDialog, OKHdl) ); - m_pBTOk->Enable( sal_False ); + m_pBTOk->Enable( false ); m_pEDServerName->SetModifyHdl( LINK( this, PlaceEditDialog, EditHdl) ); diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 6176fe09e350..597c741e4995 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -789,7 +789,7 @@ void AssignmentPersistentData::Commit() if (!m_xDatabaseContext.is()) { const OUString sContextServiceName("com.sun.star.sdb.DatabaseContext"); - ShowServiceNotAvailableError( this, sContextServiceName, sal_False); + ShowServiceNotAvailableError( this, sContextServiceName, false); return; } } @@ -841,7 +841,7 @@ void AssignmentPersistentData::Commit() if (!xHandler.is()) { const OUString sInteractionHandlerServiceName("com.sun.star.task.InteractionHandler"); - ShowServiceNotAvailableError(this, sInteractionHandlerServiceName, sal_True); + ShowServiceNotAvailableError(this, sInteractionHandlerServiceName, true); return; } @@ -1216,7 +1216,7 @@ void AssignmentPersistentData::Commit() catch(const Exception&) { } if (!xAdminDialog.is()) { - ShowServiceNotAvailableError(this, OUString("com.sun.star.ui.dialogs.AddressBookSourcePilot"), sal_True); + ShowServiceNotAvailableError(this, OUString("com.sun.star.ui.dialogs.AddressBookSourcePilot"), true); return 1L; } |