diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-01 09:53:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-03 09:17:47 +0200 |
commit | 8d6a99f67edc3be61f1294f963c3bbbd2b7344f6 (patch) | |
tree | 821b205fa3e96d0f6478dbd3c8de6d36cad83a1d /dbaccess/source/ui/tabledesign/TableController.cxx | |
parent | 0a1cc7826beade023be930ac966a465c11819d55 (diff) |
dbaccess: sal_Bool->bool
Change-Id: Ida8ee14bb6350fad815d741ca7a2b7db04a8ed11
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TableController.cxx')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableController.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx index 8516fb92aa39..0bc7256c0921 100644 --- a/dbaccess/source/ui/tabledesign/TableController.cxx +++ b/dbaccess/source/ui/tabledesign/TableController.cxx @@ -186,7 +186,7 @@ FeatureState OTableController::GetState(sal_uInt16 _nId) const switch (_nId) { case ID_BROWSER_CLOSE: - aReturn.bEnabled = sal_True; + aReturn.bEnabled = true; break; case ID_BROWSER_EDITDOC: aReturn.bChecked = isEditable(); @@ -278,7 +278,7 @@ void OTableController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >& sal_Bool OTableController::doSaveDoc(sal_Bool _bSaveAs) { if (!isConnected()) - reconnect(sal_True); // ask the user for a new connection + reconnect(true); // ask the user for a new connection Reference<XTablesSupplier> xTablesSup(getConnection(),UNO_QUERY); if (!xTablesSup.is()) @@ -537,11 +537,11 @@ void OTableController::impl_initialize() } } -sal_Bool OTableController::Construct(Window* pParent) +bool OTableController::Construct(Window* pParent) { setView( * new OTableDesignView( pParent, getORB(), *this ) ); OTableController_BASE::Construct(pParent); - return sal_True; + return true; } sal_Bool SAL_CALL OTableController::suspend(sal_Bool /*_bSuspend*/) throw( RuntimeException, std::exception ) |