summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r--dbaccess/source/ui/app/AppController.cxx20
-rw-r--r--dbaccess/source/ui/app/AppDetailPageHelper.cxx10
-rw-r--r--dbaccess/source/ui/app/subcomponentmanager.cxx4
-rw-r--r--dbaccess/source/ui/browser/brwctrlr.cxx20
-rw-r--r--dbaccess/source/ui/browser/brwview.cxx6
-rw-r--r--dbaccess/source/ui/browser/dbloader.cxx6
-rw-r--r--dbaccess/source/ui/browser/exsrcbrw.cxx2
-rw-r--r--dbaccess/source/ui/browser/formadapter.cxx40
-rw-r--r--dbaccess/source/ui/browser/genericcontroller.cxx4
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx4
-rw-r--r--dbaccess/source/ui/browser/unodatbr.cxx38
-rw-r--r--dbaccess/source/ui/control/FieldDescControl.cxx2
-rw-r--r--dbaccess/source/ui/control/sqledit.cxx2
-rw-r--r--dbaccess/source/ui/control/toolboxcontroller.cxx20
-rw-r--r--dbaccess/source/ui/dlg/DbAdminImpl.cxx10
-rw-r--r--dbaccess/source/ui/dlg/UserAdminDlg.cxx2
-rw-r--r--dbaccess/source/ui/dlg/tablespage.cxx2
-rw-r--r--dbaccess/source/ui/misc/DExport.cxx2
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx2
-rw-r--r--dbaccess/source/ui/misc/databaseobjectview.cxx10
-rw-r--r--dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx8
-rw-r--r--dbaccess/source/ui/misc/singledoccontroller.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/JoinController.cxx6
-rw-r--r--dbaccess/source/ui/querydesign/JoinTableView.cxx6
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignView.cxx6
-rw-r--r--dbaccess/source/ui/querydesign/QueryTableView.cxx8
-rw-r--r--dbaccess/source/ui/querydesign/QueryTextView.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx14
-rw-r--r--dbaccess/source/ui/querydesign/TableWindow.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/TableWindowTitle.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/querycontainerwindow.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/querycontroller.cxx20
-rw-r--r--dbaccess/source/ui/relationdesign/RelationController.cxx4
-rw-r--r--dbaccess/source/ui/tabledesign/TEditControl.cxx10
-rw-r--r--dbaccess/source/ui/tabledesign/TableController.cxx14
-rw-r--r--dbaccess/source/ui/tabledesign/TableUndo.cxx6
-rw-r--r--dbaccess/source/ui/uno/ColumnControl.cxx4
-rw-r--r--dbaccess/source/ui/uno/copytablewizard.cxx2
-rw-r--r--dbaccess/source/ui/uno/unosqlmessage.cxx2
39 files changed, 165 insertions, 165 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index 13a03c5e85d4..0edefc62da4f 100644
--- a/dbaccess/source/ui/app/AppController.cxx
+++ b/dbaccess/source/ui/app/AppController.cxx
@@ -512,14 +512,14 @@ sal_Bool SAL_CALL OApplicationController::suspend(sal_Bool bSuspend) throw( Runt
::osl::MutexGuard aGuard( getMutex() );
if ( getView() && getView()->IsInModalMode() )
- return sal_False;
+ return false;
bool bCanSuspend = true;
if ( m_bSuspended != bool(bSuspend) )
{
if ( bSuspend && !closeSubComponents() )
- return sal_False;
+ return false;
Reference<XModifiable> xModi(m_xModel,UNO_QUERY);
Reference<XStorable> xStor(getModel(),UNO_QUERY);
@@ -1213,7 +1213,7 @@ void OApplicationController::Execute(sal_uInt16 _nId, const Sequence< PropertyVa
eType = E_QUERY;
break;
case ID_NEW_QUERY_DESIGN:
- aCreationArgs.put( OUString(PROPERTY_GRAPHICAL_DESIGN), sal_True );
+ aCreationArgs.put( OUString(PROPERTY_GRAPHICAL_DESIGN), true );
// run through
case ID_NEW_QUERY_SQL:
eType = E_QUERY;
@@ -2584,7 +2584,7 @@ void OApplicationController::OnFirstControllerConnected()
// If the migration just happened, but was not successful, the document is reloaded.
// In this case, we should not show the warning, again.
::comphelper::NamedValueCollection aModelArgs( m_xModel->getArgs() );
- if ( aModelArgs.getOrDefault( "SuppressMigrationWarning", sal_False ) )
+ if ( aModelArgs.getOrDefault( "SuppressMigrationWarning", false ) )
return;
// also, if the document is read-only, then no migration is possible, and the
@@ -2626,14 +2626,14 @@ sal_Bool SAL_CALL OApplicationController::attachModel(const Reference< XModel >
if ( ( !xOfficeDoc.is() || !xDocModify.is() ) && _rxModel.is() )
{
OSL_FAIL( "OApplicationController::attachModel: invalid model!" );
- return sal_False;
+ return false;
}
if ( m_xModel.is() && ( m_xModel != _rxModel ) && ( _rxModel.is() ) )
{
OSL_ENSURE( false, "OApplicationController::attachModel: missing implementation: setting a new model while we have another one!" );
// we'd need to completely update our view here, close sub components, and the like
- return sal_False;
+ return false;
}
const OUString aPropertyNames[] =
@@ -2705,7 +2705,7 @@ sal_Bool SAL_CALL OApplicationController::attachModel(const Reference< XModel >
}
}
- return sal_True;
+ return true;
}
void OApplicationController::containerFound( const Reference< XContainer >& _xContainer)
@@ -2763,7 +2763,7 @@ sal_Bool SAL_CALL OApplicationController::select( const Any& _aSelection ) throw
if ( !_aSelection.hasValue() || !getView() )
{
getContainer()->selectElements(aSelection);
- return sal_True;
+ return true;
}
// BEGIN compatibility
@@ -2790,7 +2790,7 @@ sal_Bool SAL_CALL OApplicationController::select( const Any& _aSelection ) throw
m_aSelectContainerEvent.CancelCall(); // just in case the async select request was running
getContainer()->selectContainer(eType);
getContainer()->selectElements(aSelection);
- return sal_True;
+ return true;
}
// END compatibility
@@ -2871,7 +2871,7 @@ sal_Bool SAL_CALL OApplicationController::select( const Any& _aSelection ) throw
m_aSelectContainerEvent.CancelCall(); // just in case the async select request was running
getContainer()->selectContainer( eSelectedCategory );
- return sal_True;
+ return true;
}
Any SAL_CALL OApplicationController::getSelection( ) throw (RuntimeException, std::exception)
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
index 822ca0ce7bec..3c96e67237ec 100644
--- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx
+++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
@@ -228,7 +228,7 @@ void OAppDetailPageHelper::dispose()
{
Reference< ::util::XCloseable> xCloseable(m_xFrame,UNO_QUERY);
if ( xCloseable.is() )
- xCloseable->close(sal_True);
+ xCloseable->close(true);
}
catch(const Exception&)
{
@@ -1110,10 +1110,10 @@ void OAppDetailPageHelper::showPreview( const OUString& _sDataSourceName,
pDispatcher->setTargetFrame( Reference<XFrame>(m_xFrame,UNO_QUERY_THROW) );
::comphelper::NamedValueCollection aArgs;
- aArgs.put( "Preview", sal_True );
- aArgs.put( "ReadOnly", sal_True );
- aArgs.put( "AsTemplate", sal_False );
- aArgs.put( OUString(PROPERTY_SHOWMENU), sal_False );
+ aArgs.put( "Preview", true );
+ aArgs.put( "ReadOnly", true );
+ aArgs.put( "AsTemplate", false );
+ aArgs.put( OUString(PROPERTY_SHOWMENU), false );
Reference< XController > xPreview( pDispatcher->openExisting( makeAny( _sDataSourceName ), _sName, aArgs ), UNO_QUERY );
bool bClearPreview = !xPreview.is();
diff --git a/dbaccess/source/ui/app/subcomponentmanager.cxx b/dbaccess/source/ui/app/subcomponentmanager.cxx
index 9bcbc5c715ea..64d58c2c0a60 100644
--- a/dbaccess/source/ui/app/subcomponentmanager.cxx
+++ b/dbaccess/source/ui/app/subcomponentmanager.cxx
@@ -294,14 +294,14 @@ namespace dbaui
// suspend the controller in the document
if ( xController.is() )
- if ( !xController->suspend( sal_True ) )
+ if ( !xController->suspend( true ) )
return false;
bool bSuccess = false;
try
{
Reference< XCloseable > xCloseable( _rComponent.xFrame, UNO_QUERY_THROW );
- xCloseable->close( sal_True );
+ xCloseable->close( true );
bSuccess = true;
}
catch( const Exception& )
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index 302ae2fca9c2..b1367fcfe201 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -1300,7 +1300,7 @@ sal_Bool SbaXDataBrowserController::approveParameter(const css::form::DatabasePa
{
// not my data source -> allow anything
SAL_WARN("dbaccess.ui","SbaXDataBrowserController::approveParameter : invalid event source !");
- return sal_True;
+ return true;
}
Reference< css::container::XIndexAccess > xParameters = aEvent.Parameters;
@@ -1329,7 +1329,7 @@ sal_Bool SbaXDataBrowserController::approveParameter(const css::form::DatabasePa
if (!pParamValues->wasSelected())
{ // canceled
setLoadingCancelled();
- return sal_False;
+ return false;
}
// transfer the values into the parameter supplier
@@ -1338,7 +1338,7 @@ sal_Bool SbaXDataBrowserController::approveParameter(const css::form::DatabasePa
{
SAL_WARN("dbaccess.ui","SbaXDataBrowserController::approveParameter: the InteractionHandler returned nonsense!");
setLoadingCancelled();
- return sal_False;
+ return false;
}
const PropertyValue* pFinalValues = aFinalValues.getConstArray();
for (sal_Int32 i=0; i<aFinalValues.getLength(); ++i, ++pFinalValues)
@@ -1366,12 +1366,12 @@ sal_Bool SbaXDataBrowserController::approveParameter(const css::form::DatabasePa
DBG_UNHANDLED_EXCEPTION();
}
- return sal_True;
+ return true;
}
sal_Bool SbaXDataBrowserController::approveReset(const css::lang::EventObject& /*rEvent*/) throw( RuntimeException, std::exception )
{
- return sal_True;
+ return true;
}
void SbaXDataBrowserController::resetted(const css::lang::EventObject& rEvent) throw( RuntimeException, std::exception )
@@ -1384,9 +1384,9 @@ void SbaXDataBrowserController::resetted(const css::lang::EventObject& rEvent) t
sal_Bool SbaXDataBrowserController::confirmDelete(const css::sdb::RowChangeEvent& /*aEvent*/) throw( RuntimeException, std::exception )
{
if (ScopedVclPtrInstance<MessageDialog>::Create(getBrowserView(), ModuleRes(STR_QUERY_BRW_DELETE_ROWS), VCL_MESSAGE_QUESTION, VCL_BUTTONS_YES_NO)->Execute() != RET_YES)
- return sal_False;
+ return false;
- return sal_True;
+ return true;
}
FeatureState SbaXDataBrowserController::GetState(sal_uInt16 nId) const
@@ -2053,7 +2053,7 @@ void SbaXDataBrowserController::Execute(sal_uInt16 nId, const Sequence< Property
if ( bHaving )
{
HANDLE_SQL_ERRORS(
- xParser->appendHavingClauseByColumn(xField,sal_True,nOp),
+ xParser->appendHavingClauseByColumn(xField,true,nOp),
bParserSuccess,
ModuleRes(SBA_BROWSER_SETTING_FILTER).toString(),
"SbaXDataBrowserController::Execute : caught an exception while composing the new filter !"
@@ -2062,7 +2062,7 @@ void SbaXDataBrowserController::Execute(sal_uInt16 nId, const Sequence< Property
else
{
HANDLE_SQL_ERRORS(
- xParser->appendFilterByColumn(xField,sal_True,nOp),
+ xParser->appendFilterByColumn(xField,true,nOp),
bParserSuccess,
ModuleRes(SBA_BROWSER_SETTING_FILTER).toString(),
"SbaXDataBrowserController::Execute : caught an exception while composing the new filter !"
@@ -2461,7 +2461,7 @@ void SbaXDataBrowserController::LoadFinished(bool /*bWasSynch*/)
}
// switch the control to alive mode
- getBrowserView()->getGridControl()->setDesignMode(sal_False);
+ getBrowserView()->getGridControl()->setDesignMode(false);
initializeParser();
diff --git a/dbaccess/source/ui/browser/brwview.cxx b/dbaccess/source/ui/browser/brwview.cxx
index 148e428bc170..dec8db487258 100644
--- a/dbaccess/source/ui/browser/brwview.cxx
+++ b/dbaccess/source/ui/browser/brwview.cxx
@@ -89,11 +89,11 @@ void UnoDataBrowserView::Construct(const Reference< css::awt::XControlModel >& x
m_xGrid = new SbaXGridControl( getORB() );
OSL_ENSURE(m_xGrid.is(), "UnoDataBrowserView::Construct : could not create a grid control !");
// in design mode (for the moment)
- m_xGrid->setDesignMode(sal_True);
+ m_xGrid->setDesignMode(true);
Reference< css::awt::XWindow > xGridWindow(m_xGrid, UNO_QUERY);
- xGridWindow->setVisible(sal_True);
- xGridWindow->setEnable(sal_True);
+ xGridWindow->setVisible(true);
+ xGridWindow->setEnable(true);
// introduce the model to the grid
m_xGrid->setModel(xModel);
diff --git a/dbaccess/source/ui/browser/dbloader.cxx b/dbaccess/source/ui/browser/dbloader.cxx
index 72f27a2d5a3a..2d74d33f3945 100644
--- a/dbaccess/source/ui/browser/dbloader.cxx
+++ b/dbaccess/source/ui/browser/dbloader.cxx
@@ -191,8 +191,8 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OU
if ( sComponentURL == URL_COMPONENT_DATASOURCEBROWSER )
{
- bool bDisableBrowser = !aLoadArgs.getOrDefault( "ShowTreeViewButton", sal_True ) // compatibility name
- || !aLoadArgs.getOrDefault( PROPERTY_ENABLE_BROWSER, sal_True );
+ bool bDisableBrowser = !aLoadArgs.getOrDefault( "ShowTreeViewButton", true ) // compatibility name
+ || !aLoadArgs.getOrDefault( PROPERTY_ENABLE_BROWSER, true );
if ( bDisableBrowser )
{
@@ -210,7 +210,7 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OU
if ( sComponentURL == URL_COMPONENT_REPORTDESIGN )
{
- bool bPreview = aLoadArgs.getOrDefault( "Preview", sal_False );
+ bool bPreview = aLoadArgs.getOrDefault( "Preview", false );
if ( bPreview )
{ // report designs cannot be previewed
if ( rListener.is() )
diff --git a/dbaccess/source/ui/browser/exsrcbrw.cxx b/dbaccess/source/ui/browser/exsrcbrw.cxx
index e840504dcf34..2773e27f878b 100644
--- a/dbaccess/source/ui/browser/exsrcbrw.cxx
+++ b/dbaccess/source/ui/browser/exsrcbrw.cxx
@@ -335,7 +335,7 @@ void SbaExternalSourceBrowser::Attach(const Reference< XRowSet > & xMaster)
{
// switch the control to design mode
if (getBrowserView() && getBrowserView()->getGridControl().is())
- getBrowserView()->getGridControl()->setDesignMode(sal_True);
+ getBrowserView()->getGridControl()->setDesignMode(true);
// the grid will move the form's cursor to the first record, but we want the form to remain unchanged
// restore the old position
diff --git a/dbaccess/source/ui/browser/formadapter.cxx b/dbaccess/source/ui/browser/formadapter.cxx
index 48bd33bf13dd..2ba33e9a4b85 100644
--- a/dbaccess/source/ui/browser/formadapter.cxx
+++ b/dbaccess/source/ui/browser/formadapter.cxx
@@ -239,7 +239,7 @@ sal_Bool SAL_CALL SbaXFormAdapter::wasNull() throw( css::sdbc::SQLException, Run
Reference< css::sdbc::XRow > xIface(m_xMainForm, UNO_QUERY);
if (xIface.is())
return xIface->wasNull();
- return sal_True;
+ return true;
}
OUString SAL_CALL SbaXFormAdapter::getString(sal_Int32 columnIndex) throw( css::sdbc::SQLException, RuntimeException, std::exception )
@@ -255,7 +255,7 @@ sal_Bool SAL_CALL SbaXFormAdapter::getBoolean(sal_Int32 columnIndex) throw( css:
Reference< css::sdbc::XRow > xIface(m_xMainForm, UNO_QUERY);
if (xIface.is())
return xIface->getBoolean(columnIndex);
- return sal_False;
+ return false;
}
sal_Int8 SAL_CALL SbaXFormAdapter::getByte(sal_Int32 columnIndex) throw( css::sdbc::SQLException, RuntimeException, std::exception )
@@ -409,7 +409,7 @@ sal_Bool SAL_CALL SbaXFormAdapter::moveToBookmark(const Any& bookmark) throw( cs
Reference< css::sdbcx::XRowLocate > xIface(m_xMainForm, UNO_QUERY);
if (xIface.is())
return xIface->moveToBookmark(bookmark);
- return sal_False;
+ return false;
}
sal_Bool SAL_CALL SbaXFormAdapter::moveRelativeToBookmark(const Any& bookmark, sal_Int32 rows) throw( css::sdbc::SQLException, RuntimeException, std::exception )
@@ -417,7 +417,7 @@ sal_Bool SAL_CALL SbaXFormAdapter::moveRelativeToBookmark(const Any& bookmark, s
Reference< css::sdbcx::XRowLocate > xIface(m_xMainForm, UNO_QUERY);
if (xIface.is())
return xIface->moveRelativeToBookmark(bookmark,rows);
- return sal_False;
+ return false;
}
sal_Int32 SAL_CALL SbaXFormAdapter::compareBookmarks(const Any& _first, const Any& _second) throw( css::sdbc::SQLException, RuntimeException, std::exception )
@@ -433,7 +433,7 @@ sal_Bool SAL_CALL SbaXFormAdapter::hasOrderedBookmarks() throw( css::sdbc::SQLEx
Reference< css::sdbcx::XRowLocate > xIface(m_xMainForm, UNO_QUERY);
if (xIface.is())
return xIface->hasOrderedBookmarks();
- return sal_False;
+ return false;
}
sal_Int32 SAL_CALL SbaXFormAdapter::hashBookmark(const Any& bookmark) throw( css::sdbc::SQLException, RuntimeException, std::exception )
@@ -569,35 +569,35 @@ sal_Bool SAL_CALL SbaXFormAdapter::next() throw( css::sdbc::SQLException, Runtim
{
if (m_xMainForm.is())
return m_xMainForm->next();
- return sal_False;
+ return false;
}
sal_Bool SAL_CALL SbaXFormAdapter::isBeforeFirst() throw( css::sdbc::SQLException, RuntimeException, std::exception )
{
if (m_xMainForm.is())
return m_xMainForm->isBeforeFirst();
- return sal_False;
+ return false;
}
sal_Bool SAL_CALL SbaXFormAdapter::isAfterLast() throw( css::sdbc::SQLException, RuntimeException, std::exception )
{
if (m_xMainForm.is())
return m_xMainForm->isAfterLast();
- return sal_False;
+ return false;
}
sal_Bool SAL_CALL SbaXFormAdapter::isFirst() throw( css::sdbc::SQLException, RuntimeException, std::exception )
{
if (m_xMainForm.is())
return m_xMainForm->isFirst();
- return sal_False;
+ return false;
}
sal_Bool SAL_CALL SbaXFormAdapter::isLast() throw( css::sdbc::SQLException, RuntimeException, std::exception )
{
if (m_xMainForm.is())
return m_xMainForm->isLast();
- return sal_False;
+ return false;
}
void SAL_CALL SbaXFormAdapter::beforeFirst() throw( css::sdbc::SQLException, RuntimeException, std::exception )
@@ -616,14 +616,14 @@ sal_Bool SAL_CALL SbaXFormAdapter::first() throw( css::sdbc::SQLException, Runti
{
if (m_xMainForm.is())
return m_xMainForm->first();
- return sal_False;
+ return false;
}
sal_Bool SAL_CALL SbaXFormAdapter::last() throw( css::sdbc::SQLException, RuntimeException, std::exception )
{
if (m_xMainForm.is())
return m_xMainForm->last();
- return sal_False;
+ return false;
}
sal_Int32 SAL_CALL SbaXFormAdapter::getRow() throw( css::sdbc::SQLException, RuntimeException, std::exception )
@@ -637,21 +637,21 @@ sal_Bool SAL_CALL SbaXFormAdapter::absolute(sal_Int32 row) throw( css::sdbc::SQL
{
if (m_xMainForm.is())
return m_xMainForm->absolute(row);
- return sal_False;
+ return false;
}
sal_Bool SAL_CALL SbaXFormAdapter::relative(sal_Int32 rows) throw( css::sdbc::SQLException, RuntimeException, std::exception )
{
if (m_xMainForm.is())
return m_xMainForm->relative(rows);
- return sal_False;
+ return false;
}
sal_Bool SAL_CALL SbaXFormAdapter::previous() throw( css::sdbc::SQLException, RuntimeException, std::exception )
{
if (m_xMainForm.is())
return m_xMainForm->previous();
- return sal_False;
+ return false;
}
void SAL_CALL SbaXFormAdapter::refreshRow() throw( css::sdbc::SQLException, RuntimeException, std::exception )
@@ -664,21 +664,21 @@ sal_Bool SAL_CALL SbaXFormAdapter::rowUpdated() throw( css::sdbc::SQLException,
{
if (m_xMainForm.is())
return m_xMainForm->rowUpdated();
- return sal_False;
+ return false;
}
sal_Bool SAL_CALL SbaXFormAdapter::rowInserted() throw( css::sdbc::SQLException, RuntimeException, std::exception )
{
if (m_xMainForm.is())
return m_xMainForm->rowInserted();
- return sal_False;
+ return false;
}
sal_Bool SAL_CALL SbaXFormAdapter::rowDeleted() throw( css::sdbc::SQLException, RuntimeException, std::exception )
{
if (m_xMainForm.is())
return m_xMainForm->rowDeleted();
- return sal_False;
+ return false;
}
Reference< XInterface > SAL_CALL SbaXFormAdapter::getStatement() throw( css::sdbc::SQLException, RuntimeException, std::exception )
@@ -807,7 +807,7 @@ sal_Bool SAL_CALL SbaXFormAdapter::isLoaded() throw( RuntimeException, std::exce
Reference< css::form::XLoadable > xIface(m_xMainForm, UNO_QUERY);
if (xIface.is())
return xIface->isLoaded();
- return sal_False;
+ return false;
}
IMPLEMENT_LISTENER_ADMINISTRATION(SbaXFormAdapter, form, LoadListener, m_aLoadListeners, css::form::XLoadable, m_xMainForm)
@@ -1022,7 +1022,7 @@ IMPLEMENT_LISTENER_ADMINISTRATION(SbaXFormAdapter, form, SubmitListener, m_aSubm
sal_Bool SAL_CALL SbaXFormAdapter::getGroupControl() throw( RuntimeException, std::exception )
{
OSL_FAIL("SAL_CALL SbaXFormAdapter::getGroupControl : not supported !");
- return sal_False;
+ return false;
}
void SAL_CALL SbaXFormAdapter::setGroupControl(sal_Bool /*GroupControl*/) throw( RuntimeException, std::exception )
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index 19d51528df6a..633e94ac61bf 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -1036,7 +1036,7 @@ IMPL_LINK_NOARG_TYPED(OGenericUnoController, OnAsyncCloseTask, void*, void)
try
{
Reference< util::XCloseable > xCloseable( m_aCurrentFrame.getFrame(), UNO_QUERY_THROW );
- xCloseable->close( sal_False ); // false - holds the owner ship for this frame inside this object!
+ xCloseable->close( false ); // false - holds the owner ship for this frame inside this object!
}
catch( const Exception& )
{
@@ -1068,7 +1068,7 @@ Reference< XFrame > SAL_CALL OGenericUnoController::getFrame() throw( RuntimeExc
sal_Bool SAL_CALL OGenericUnoController::attachModel(const Reference< XModel > & /*xModel*/) throw( RuntimeException, std::exception )
{
SAL_WARN("dbaccess.ui", "OGenericUnoController::attachModel: not supported!" );
- return sal_False;
+ return false;
}
void OGenericUnoController::executeUnChecked(sal_uInt16 _nCommandId, const Sequence< PropertyValue >& aArgs)
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 8edf4b21ffd2..6871c170eeef 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -324,7 +324,7 @@ void SbaXGridPeer::NotifyStatusChanged(const css::util::URL& _rUrl, const Refere
if ( m_aDispatchStates.end() != aURLStatePos )
aEvt.State <<= aURLStatePos->second;
else
- aEvt.State <<= sal_False;
+ aEvt.State <<= false;
if (xControl.is())
xControl->statusChanged(aEvt);
@@ -452,7 +452,7 @@ void SAL_CALL SbaXGridPeer::dispatch(const URL& aURL, const Sequence< PropertyVa
if ( dtUnknown != eURLType )
{
// notify any status listeners that the dialog is now active (well, about to be active)
- MapDispatchToBool::const_iterator aThisURLState = m_aDispatchStates.insert( MapDispatchToBool::value_type( eURLType, sal_True ) ).first;
+ MapDispatchToBool::const_iterator aThisURLState = m_aDispatchStates.insert( MapDispatchToBool::value_type( eURLType, true ) ).first;
NotifyStatusChanged( aURL, nullptr );
// execute the dialog
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index 297dd921eecd..361ffecbf4e1 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -581,9 +581,9 @@ void SbaTableQueryBrowser::initializePreviewMode()
Reference< XPropertySet > xDataSourceSet(getRowSet(), UNO_QUERY);
if ( xDataSourceSet.is() )
{
- xDataSourceSet->setPropertyValue("AllowInserts",makeAny(sal_False));
- xDataSourceSet->setPropertyValue("AllowUpdates",makeAny(sal_False));
- xDataSourceSet->setPropertyValue("AllowDeletes",makeAny(sal_False));
+ xDataSourceSet->setPropertyValue("AllowInserts",makeAny(false));
+ xDataSourceSet->setPropertyValue("AllowUpdates",makeAny(false));
+ xDataSourceSet->setPropertyValue("AllowDeletes",makeAny(false));
}
}
@@ -617,7 +617,7 @@ bool SbaTableQueryBrowser::InitializeGridModel(const Reference< css::form::XForm
if ( m_bPreview )
{
*pStringIter++ = "AlwaysShowCursor";
- *pValueIter++ <<= sal_False;
+ *pValueIter++ <<= false;
*pStringIter++ = PROPERTY_BORDER;
*pValueIter++ <<= sal_Int16(0);
}
@@ -631,16 +631,16 @@ bool SbaTableQueryBrowser::InitializeGridModel(const Reference< css::form::XForm
if ( m_bPreview )
{
*pStringIter++ = "HasNavigationBar";
- *pValueIter++ <<= sal_False;
+ *pValueIter++ <<= false;
*pStringIter++ = "HasRecordMarker";
- *pValueIter++ <<= sal_False;
+ *pValueIter++ <<= false;
}
*pStringIter++ = PROPERTY_ROW_HEIGHT;
*pValueIter++ = pData->xObjectProperties->getPropertyValue(PROPERTY_ROW_HEIGHT);
if ( m_bPreview )
{
*pStringIter++ = "Tabstop";
- *pValueIter++ <<= sal_False;
+ *pValueIter++ <<= false;
}
*pStringIter++ = PROPERTY_TEXTCOLOR;
*pValueIter++ = pData->xObjectProperties->getPropertyValue(PROPERTY_TEXTCOLOR);
@@ -963,7 +963,7 @@ sal_Bool SbaTableQueryBrowser::suspend(sal_Bool bSuspend) throw( RuntimeExceptio
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getMutex() );
if ( getView() && getView()->IsInModalMode() )
- return sal_False;
+ return false;
bool bRet = false;
if ( !m_bInSuspend )
{
@@ -1986,7 +1986,7 @@ void SbaTableQueryBrowser::Execute(sal_uInt16 nId, const Sequence< PropertyValue
if ( aSelection.getLength() )
{
aDescriptor[daSelection] <<= aSelection;
- aDescriptor[daBookmarkSelection] <<= sal_False;
+ aDescriptor[daBookmarkSelection] <<= false;
// these are selection indices
// before we change this, all clients have to be adjusted
// so that they recognize the new BookmarkSelection property!
@@ -2381,7 +2381,7 @@ bool SbaTableQueryBrowser::implLoadAnything(const OUString& _rDataSourceName, co
initFormatter();
// switch the grid to design mode while loading
- getBrowserView()->getGridControl()->setDesignMode(sal_True);
+ getBrowserView()->getGridControl()->setDesignMode(true);
InitializeForm( xProp );
bool bSuccess = true;
@@ -3102,16 +3102,16 @@ void SbaTableQueryBrowser::impl_initialize()
// disable the browser if either of ShowTreeViewButton (compatibility name) or EnableBrowser
// is present and set to FALSE
- bool bDisableBrowser = !rArguments.getOrDefault( "ShowTreeViewButton", sal_True ) // compatibility name
- || !rArguments.getOrDefault( PROPERTY_ENABLE_BROWSER, sal_True );
+ bool bDisableBrowser = !rArguments.getOrDefault( "ShowTreeViewButton", true ) // compatibility name
+ || !rArguments.getOrDefault( PROPERTY_ENABLE_BROWSER, true );
OSL_ENSURE( !rArguments.has( "ShowTreeViewButton" ),
"SbaTableQueryBrowser::impl_initialize: ShowTreeViewButton is superseded by EnableBrowser!" );
m_bEnableBrowser = !bDisableBrowser;
// hide the tree view it is disabled in general, or if the settings tell to hide it initially
bool bHideTreeView = ( !m_bEnableBrowser )
- || !rArguments.getOrDefault( "ShowTreeView", sal_True ) // compatibility name
- || !rArguments.getOrDefault( PROPERTY_SHOW_BROWSER, sal_True );
+ || !rArguments.getOrDefault( "ShowTreeView", true ) // compatibility name
+ || !rArguments.getOrDefault( PROPERTY_SHOW_BROWSER, true );
OSL_ENSURE( !rArguments.has( "ShowTreeView" ),
"SbaTableQueryBrowser::impl_initialize: ShowTreeView is superseded by ShowBrowser!" );
@@ -3130,17 +3130,17 @@ void SbaTableQueryBrowser::impl_initialize()
OUString* pStringIter = aProperties.getArray();
Any* pValueIter = aValues.getArray();
*pStringIter++ = "AlwaysShowCursor";
- *pValueIter++ <<= sal_False;
+ *pValueIter++ <<= false;
*pStringIter++ = PROPERTY_BORDER;
*pValueIter++ <<= sal_Int16(0);
*pStringIter++ = "HasNavigationBar";
- *pValueIter++ <<= sal_False;
+ *pValueIter++ <<= false;
*pStringIter++ = "HasRecordMarker";
- *pValueIter++ <<= sal_False;
+ *pValueIter++ <<= false;
*pStringIter++ = "Tabstop";
- *pValueIter++ <<= sal_False;
+ *pValueIter++ <<= false;
Reference< XMultiPropertySet > xFormMultiSet(getFormComponent(), UNO_QUERY);
if ( xFormMultiSet.is() )
@@ -3662,7 +3662,7 @@ bool SbaTableQueryBrowser::preReloadForm()
if ( !m_pCurrentlyDisplayed )
{
// switch the grid to design mode while loading
- getBrowserView()->getGridControl()->setDesignMode(sal_True);
+ getBrowserView()->getGridControl()->setDesignMode(true);
// we had an invalid statement so we need to connect the column models
Reference<XPropertySet> xRowSetProps(getRowSet(),UNO_QUERY);
svx::ODataAccessDescriptor aDesc(xRowSetProps);
diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx
index 1065ace7d514..20e1d9180969 100644
--- a/dbaccess/source/ui/control/FieldDescControl.cxx
+++ b/dbaccess/source/ui/control/FieldDescControl.cxx
@@ -1670,7 +1670,7 @@ OUString OFieldDescControl::getControlDefault( const OFieldDescription* _pFieldD
Reference< css::util::XNumberFormatPreviewer> xPreviewer(xNumberFormatter,UNO_QUERY);
OSL_ENSURE(xPreviewer.is(),"XNumberFormatPreviewer is null!");
- sDefault = xPreviewer->convertNumberToPreviewString(sFormat,nValue,aLocale,sal_True);
+ sDefault = xPreviewer->convertNumberToPreviewString(sFormat,nValue,aLocale,true);
}
else if ( !(_bCheck && sDefault.isEmpty()) )
sDefault = xNumberFormatter->formatString(nFormatKey, sDefault.isEmpty() ? sFormat : sDefault);
diff --git a/dbaccess/source/ui/control/sqledit.cxx b/dbaccess/source/ui/control/sqledit.cxx
index db4db5197c0a..f22a2fdbd800 100644
--- a/dbaccess/source/ui/control/sqledit.cxx
+++ b/dbaccess/source/ui/control/sqledit.cxx
@@ -186,7 +186,7 @@ IMPL_LINK_NOARG_TYPED(OSqlEdit, ModifyHdl, Edit&, void)
OJoinController& rController = m_pView->getContainerWindow()->getDesignView()->getController();
if (!rController.isModified())
- rController.setModified( sal_True );
+ rController.setModified( true );
rController.InvalidateFeature(SID_SBA_QRY_EXECUTE);
rController.InvalidateFeature(SID_CUT);
diff --git a/dbaccess/source/ui/control/toolboxcontroller.cxx b/dbaccess/source/ui/control/toolboxcontroller.cxx
index ddf92545512b..2f8816e16aec 100644
--- a/dbaccess/source/ui/control/toolboxcontroller.cxx
+++ b/dbaccess/source/ui/control/toolboxcontroller.cxx
@@ -111,19 +111,19 @@ namespace dbaui
if ( m_aCommandURL == ".uno:DBNewForm" )
{
- m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewForm") ,sal_True));
- m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewView") ,sal_True));
- m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewViewSQL") ,sal_True));
- m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewQuery") ,sal_True));
- m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewQuerySql") ,sal_True));
- m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewReport") ,sal_True));
- m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewReportAutoPilot"),sal_True));
- m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewTable") ,sal_True));
+ m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewForm") ,true));
+ m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewView") ,true));
+ m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewViewSQL") ,true));
+ m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewQuery") ,true));
+ m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewQuerySql") ,true));
+ m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewReport") ,true));
+ m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewReportAutoPilot"),true));
+ m_aStates.insert(TCommandState::value_type(OUString(".uno:DBNewTable") ,true));
}
else
{
- m_aStates.insert(TCommandState::value_type(OUString(".uno:Refresh") ,sal_True));
- m_aStates.insert(TCommandState::value_type(OUString(".uno:DBRebuildData") ,sal_True));
+ m_aStates.insert(TCommandState::value_type(OUString(".uno:Refresh") ,true));
+ m_aStates.insert(TCommandState::value_type(OUString(".uno:DBRebuildData") ,true));
}
TCommandState::const_iterator aIter = m_aStates.begin();
diff --git a/dbaccess/source/ui/dlg/DbAdminImpl.cxx b/dbaccess/source/ui/dlg/DbAdminImpl.cxx
index fe14de024b91..6c80b1cccbe6 100644
--- a/dbaccess/source/ui/dlg/DbAdminImpl.cxx
+++ b/dbaccess/source/ui/dlg/DbAdminImpl.cxx
@@ -266,13 +266,13 @@ bool ODbDataSourceAdministrationHelper::getCurrentSettings(Sequence< PropertyVal
AuthenticationRequest aRequest;
aRequest.ServerName = sName;
aRequest.Diagnostic = sLoginRequest;
- aRequest.HasRealm = aRequest.HasAccount = sal_False;
+ aRequest.HasRealm = aRequest.HasAccount = false;
// aRequest.Realm
aRequest.HasUserName = pUser != nullptr;
aRequest.UserName = pUser ? OUString(pUser->GetValue()) : OUString();
- aRequest.HasPassword = sal_True;
+ aRequest.HasPassword = true;
//aRequest.Password
- aRequest.HasAccount = sal_False;
+ aRequest.HasAccount = false;
// aRequest.Account
comphelper::OInteractionRequest* pRequest = new comphelper::OInteractionRequest(makeAny(aRequest));
@@ -351,7 +351,7 @@ void ODbDataSourceAdministrationHelper::clearPassword()
::std::pair< Reference<XConnection>,sal_Bool> ODbDataSourceAdministrationHelper::createConnection()
{
::std::pair< Reference<XConnection>,sal_Bool> aRet;
- aRet.second = sal_False;
+ aRet.second = false;
Sequence< PropertyValue > aConnectionParams;
if ( getCurrentSettings(aConnectionParams) )
{
@@ -362,7 +362,7 @@ void ODbDataSourceAdministrationHelper::clearPassword()
{
WaitObject aWaitCursor(m_pParent);
aRet.first = getDriver()->connect(getConnectionURL(), aConnectionParams);
- aRet.second = sal_True;
+ aRet.second = true;
}
catch (const SQLContext& e) { aErrorInfo = SQLExceptionInfo(e); }
catch (const SQLWarning& e) { aErrorInfo = SQLExceptionInfo(e); }
diff --git a/dbaccess/source/ui/dlg/UserAdminDlg.cxx b/dbaccess/source/ui/dlg/UserAdminDlg.cxx
index a2bf8d096c21..f4224c789eb1 100644
--- a/dbaccess/source/ui/dlg/UserAdminDlg.cxx
+++ b/dbaccess/source/ui/dlg/UserAdminDlg.cxx
@@ -146,7 +146,7 @@ namespace dbaui
m_xConnection = m_pImpl->createConnection().first;
m_bOwnConnection = m_xConnection.is();
}
- return ::std::pair< Reference<XConnection>,sal_Bool> (m_xConnection,sal_False);
+ return ::std::pair< Reference<XConnection>,sal_Bool> (m_xConnection,false);
}
Reference< XComponentContext > OUserAdminDlg::getORB() const
{
diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx
index 7c1686c62450..e8051d859d75 100644
--- a/dbaccess/source/ui/dlg/tablespage.cxx
+++ b/dbaccess/source/ui/dlg/tablespage.cxx
@@ -295,7 +295,7 @@ namespace dbaui
xProp->setPropertyValue(PROPERTY_TABLETYPEFILTER,aTableTypeFilter);
if ( xModi.is() && !bModified )
- xModi->setModified(sal_False);
+ xModi->setModified(false);
}
diff --git a/dbaccess/source/ui/misc/DExport.cxx b/dbaccess/source/ui/misc/DExport.cxx
index 0278118472c9..09740afd0a51 100644
--- a/dbaccess/source/ui/misc/DExport.cxx
+++ b/dbaccess/source/ui/misc/DExport.cxx
@@ -196,7 +196,7 @@ ODatabaseExport::ODatabaseExport(const SharedConnection& _rxConnection,
aTypes.reserve(nCount+1);
aNullable.reserve(nCount+1);
aTypes.push_back(-1);
- aNullable.push_back(sal_False);
+ aNullable.push_back(false);
for (sal_Int32 j = 1; j <= nCount ; ++j)
{
aNullable.push_back(xResultSetMetaData->isNullable(j) != ColumnValue::NO_NULLS );
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index c178dfb22a81..cf4cabdec2ab 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -454,7 +454,7 @@ void fillTypeInfo( const Reference< css::sdbc::XConnection>& _rxConnection,
nCount = 18;
aTypes.reserve(nCount+1);
aTypes.push_back(-1);
- aNullable.push_back(sal_False);
+ aNullable.push_back(false);
for (sal_Int32 j = 1; j <= nCount ; ++j)
{
aTypes.push_back(xResultSetMetaData->getColumnType(j));
diff --git a/dbaccess/source/ui/misc/databaseobjectview.cxx b/dbaccess/source/ui/misc/databaseobjectview.cxx
index f0045aba106f..6b91673a704a 100644
--- a/dbaccess/source/ui/misc/databaseobjectview.cxx
+++ b/dbaccess/source/ui/misc/databaseobjectview.cxx
@@ -119,11 +119,11 @@ namespace dbaui
lArgs[nArg++] <<= aProp;
aProp.Name = "TopWindow";
- aProp.Value <<= sal_True;
+ aProp.Value <<= true;
lArgs[nArg++] <<= aProp;
aProp.Name = "SupportPersistentWindowState";
- aProp.Value <<= sal_True;
+ aProp.Value <<= true;
lArgs[nArg++] <<= aProp;
m_xFrameLoader.set(xFact->createInstanceWithArguments(lArgs), UNO_QUERY_THROW);
@@ -188,7 +188,7 @@ namespace dbaui
DatabaseObjectView::fillDispatchArgs( i_rDispatchArgs, _aDataSource, _rObjectName );
const bool bIncludeQueryName = !_rObjectName.isEmpty();
- const bool bGraphicalDesign = i_rDispatchArgs.getOrDefault( PROPERTY_GRAPHICAL_DESIGN, sal_True );
+ const bool bGraphicalDesign = i_rDispatchArgs.getOrDefault( PROPERTY_GRAPHICAL_DESIGN, true );
const bool bEditViewAsSQLCommand = ( m_nCommandType == CommandType::TABLE ) && !bGraphicalDesign;
i_rDispatchArgs.put( OUString(PROPERTY_COMMAND_TYPE), m_nCommandType );
@@ -200,7 +200,7 @@ namespace dbaui
if ( bEditViewAsSQLCommand )
{
- i_rDispatchArgs.put( OUString(PROPERTY_ESCAPE_PROCESSING), sal_False );
+ i_rDispatchArgs.put( OUString(PROPERTY_ESCAPE_PROCESSING), false );
}
}
@@ -285,7 +285,7 @@ namespace dbaui
i_rDispatchArgs.put( OUString(PROPERTY_COMMAND_TYPE), (m_bTable ? CommandType::TABLE : CommandType::QUERY) );
i_rDispatchArgs.put( OUString(PROPERTY_COMMAND), _rQualifiedName );
- i_rDispatchArgs.put( OUString(PROPERTY_ENABLE_BROWSER), sal_False );
+ i_rDispatchArgs.put( OUString(PROPERTY_ENABLE_BROWSER), false );
if ( m_bTable )
{
diff --git a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
index 1d00252ebc0e..26fce195d51d 100644
--- a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
+++ b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
@@ -403,15 +403,15 @@ namespace dbaui
if ( !bSuspend && !isConnected() )
reconnect(true);
- return sal_True;
+ return true;
}
sal_Bool SAL_CALL DBSubComponentController::attachModel( const Reference< XModel > & _rxModel) throw( RuntimeException, std::exception )
{
if ( !_rxModel.is() )
- return sal_False;
+ return false;
if ( !DBSubComponentController_Base::attachModel( _rxModel ) )
- return sal_False;
+ return false;
m_pImpl->m_bNotAttached = false;
if ( m_pImpl->m_nDocStartNumber == 1 )
@@ -422,7 +422,7 @@ namespace dbaui
if ( xUntitledProvider.is() )
m_pImpl->m_nDocStartNumber = xUntitledProvider->leaseNumber( static_cast< XWeak* >( this ) );
- return sal_True;
+ return true;
}
void DBSubComponentController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >& _rArgs)
diff --git a/dbaccess/source/ui/misc/singledoccontroller.cxx b/dbaccess/source/ui/misc/singledoccontroller.cxx
index 4487b9d2b369..4db5a73faedb 100644
--- a/dbaccess/source/ui/misc/singledoccontroller.cxx
+++ b/dbaccess/source/ui/misc/singledoccontroller.cxx
@@ -90,7 +90,7 @@ namespace dbaui
GetUndoManager().AddUndoAction( _pAction );
// when we add an undo action the controller was modified
- setModified( sal_True );
+ setModified( true );
// now inform me that or states changed
InvalidateFeature( ID_BROWSER_UNDO );
diff --git a/dbaccess/source/ui/querydesign/JoinController.cxx b/dbaccess/source/ui/querydesign/JoinController.cxx
index c1dd52ed7715..31dfbee43ba5 100644
--- a/dbaccess/source/ui/querydesign/JoinController.cxx
+++ b/dbaccess/source/ui/querydesign/JoinController.cxx
@@ -254,7 +254,7 @@ void OJoinController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >&
return;
case RET_NO:
reset();
- setModified(sal_False); // and we are not modified yet
+ setModified(false); // and we are not modified yet
break;
default:
break;
@@ -322,12 +322,12 @@ void OJoinController::describeSupportedFeatures()
sal_Bool SAL_CALL OJoinController::suspend(sal_Bool _bSuspend) throw( RuntimeException, std::exception )
{
if ( getBroadcastHelper().bInDispose || getBroadcastHelper().bDisposed )
- return sal_True;
+ return true;
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getMutex() );
if ( getView() && getView()->IsInModalMode() )
- return sal_False;
+ return false;
bool bCheck = true;
if ( _bSuspend )
{
diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx
index 8b2bd210178c..c57676d67b5b 100644
--- a/dbaccess/source/ui/querydesign/JoinTableView.cxx
+++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx
@@ -386,7 +386,7 @@ void OJoinTableView::RemoveTabWin( OTableWindow* pTabWin )
if(aFind != rController.getTableWindowData().end())
{
rController.getTableWindowData().erase(aFind);
- rController.setModified(sal_True);
+ rController.setModified(true);
}
if ( !m_aTableMap.erase( pTabWin->GetWinName() ) )
@@ -1500,7 +1500,7 @@ void OJoinTableView::HideTabWins()
for(;aIter != aEnd;++aIter)
RemoveTabWin(aIter->second);
- m_pView->getController().setModified(sal_True);
+ m_pView->getController().setModified(true);
SetUpdateMode(true);
@@ -1569,7 +1569,7 @@ Reference< XAccessible > OJoinTableView::CreateAccessible()
void OJoinTableView::modified()
{
OJoinController& rController = m_pView->getController();
- rController.setModified( sal_True );
+ rController.setModified( true );
rController.InvalidateFeature(ID_BROWSER_ADDTABLE);
rController.InvalidateFeature(SID_RELATION_ADD_RELATION);
}
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
index 3c2123a58b56..c86de1d8dfc2 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
@@ -2529,7 +2529,7 @@ IMPL_LINK_NOARG_TYPED( OQueryDesignView, SplitHdl, Splitter*, void )
m_bInSplitHandler = true;
m_aSplitter->SetPosPixel( Point( m_aSplitter->GetPosPixel().X(),m_aSplitter->GetSplitPosPixel() ) );
static_cast<OQueryController&>(getController()).setSplitPos(m_aSplitter->GetSplitPosPixel());
- static_cast<OQueryController&>(getController()).setModified( sal_True );
+ static_cast<OQueryController&>(getController()).setModified( true );
Resize();
m_bInSplitHandler = true;
}
@@ -2684,7 +2684,7 @@ void OQueryDesignView::cut()
if( m_eChildFocus == SELECTION)
{
m_pSelectionBox->cut();
- static_cast<OQueryController&>(getController()).setModified(sal_True);
+ static_cast<OQueryController&>(getController()).setModified(true);
}
}
@@ -2693,7 +2693,7 @@ void OQueryDesignView::paste()
if( m_eChildFocus == SELECTION)
{
m_pSelectionBox->paste();
- static_cast<OQueryController&>(getController()).setModified(sal_True);
+ static_cast<OQueryController&>(getController()).setModified(true);
}
}
diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx
index cbbbeeb9bed5..8a36b91642b4 100644
--- a/dbaccess/source/ui/querydesign/QueryTableView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx
@@ -123,7 +123,7 @@ namespace
if( bOk )
{
pData->SetJoinType(aDlg->GetJoinType());
- _pView->getDesignView()->getController().setModified(sal_True);
+ _pView->getDesignView()->getController().setModified(true);
}
return bOk;
@@ -315,7 +315,7 @@ void OQueryTableView::ClearAll()
OJoinTableView::ClearAll();
SetUpdateMode(true);
- m_pView->getController().setModified(sal_True);
+ m_pView->getController().setModified(true);
}
VclPtr<OTableWindow> OQueryTableView::createWindow(const TTableWindowData::value_type& _pData)
@@ -853,7 +853,7 @@ void OQueryTableView::HideTabWin( OQueryTableWindow* pTabWin, OQueryTabWinUndoAc
pUndoAction->SetOwnership(true);
// by doing so, we have modified the document
- m_pView->getController().setModified( sal_True );
+ m_pView->getController().setModified( true );
m_pView->getController().InvalidateFeature(SID_BROWSER_CLEAR_QUERY);
}
@@ -920,7 +920,7 @@ bool OQueryTableView::ShowTabWin( OQueryTableWindow* pTabWin, OQueryTabWinUndoAc
// show that I have changed the document
if(!m_pView->getController().isReadOnly())
- m_pView->getController().setModified( sal_True );
+ m_pView->getController().setModified( true );
m_pView->getController().InvalidateFeature(SID_BROWSER_CLEAR_QUERY);
diff --git a/dbaccess/source/ui/querydesign/QueryTextView.cxx b/dbaccess/source/ui/querydesign/QueryTextView.cxx
index ff58450ff0ba..6090b28014a3 100644
--- a/dbaccess/source/ui/querydesign/QueryTextView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTextView.cxx
@@ -107,14 +107,14 @@ void OQueryTextView::cut()
{
if(!m_pEdit->IsInAccelAct() )
m_pEdit->Cut();
- getContainerWindow()->getDesignView()->getController().setModified(sal_True);
+ getContainerWindow()->getDesignView()->getController().setModified(true);
}
void OQueryTextView::paste()
{
if(!m_pEdit->IsInAccelAct() )
m_pEdit->Paste();
- getContainerWindow()->getDesignView()->getController().setModified(sal_True);
+ getContainerWindow()->getDesignView()->getController().setModified(true);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index ae0e953233de..ed085e4a5099 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -1269,7 +1269,7 @@ void OSelectionBrowseBox::RemoveColumn(sal_uInt16 _nColumnId)
ActivateCell( nCurrentRow, nCurCol );
- rController.setModified( sal_True );
+ rController.setModified( true );
invalidateUndoRedo();
}
@@ -1529,7 +1529,7 @@ void OSelectionBrowseBox::InsertColumn(const OTableFieldDescRef& pEntry, sal_uIn
Invalidate( aInvalidRect );
ActivateCell( nCurrentRow, nCurCol );
- static_cast<OQueryController&>(getDesignView()->getController()).setModified( sal_True );
+ static_cast<OQueryController&>(getDesignView()->getController()).setModified( true );
invalidateUndoRedo();
}
@@ -1890,7 +1890,7 @@ void OSelectionBrowseBox::CellModified()
}
break;
}
- static_cast<OQueryController&>(getDesignView()->getController()).setModified( sal_True );
+ static_cast<OQueryController&>(getDesignView()->getController()).setModified( true );
}
void OSelectionBrowseBox::Fill()
@@ -1990,12 +1990,12 @@ void OSelectionBrowseBox::Command(const CommandEvent& rEvt)
break;
case ID_QUERY_DISTINCT:
static_cast<OQueryController&>(getDesignView()->getController()).setDistinct(!static_cast<OQueryController&>(getDesignView()->getController()).isDistinct());
- static_cast<OQueryController&>(getDesignView()->getController()).setModified( sal_True );
+ static_cast<OQueryController&>(getDesignView()->getController()).setModified( true );
static_cast<OQueryController&>(getDesignView()->getController()).InvalidateFeature( SID_QUERY_DISTINCT_VALUES );
break;
}
- static_cast<OQueryController&>(getDesignView()->getController()).setModified( sal_True );
+ static_cast<OQueryController&>(getDesignView()->getController()).setModified( true );
}
}
else
@@ -2314,7 +2314,7 @@ void OSelectionBrowseBox::SetCellContents(sal_Int32 nRow, sal_uInt16 nColId, con
if (bWasEditing)
ActivateCell(nCellIndex, nColId);
- static_cast<OQueryController&>(getDesignView()->getController()).setModified( sal_True );
+ static_cast<OQueryController&>(getDesignView()->getController()).setModified( true );
}
void OSelectionBrowseBox::ColumnResized(sal_uInt16 nColId)
@@ -2329,7 +2329,7 @@ void OSelectionBrowseBox::ColumnResized(sal_uInt16 nColId)
OSL_ENSURE(nPos <= getFields().size(),"ColumnResized:: nColId sollte nicht groesser als List::count sein!");
OTableFieldDescRef pEntry = getEntry(nPos-1);
OSL_ENSURE(pEntry.is(), "OSelectionBrowseBox::ColumnResized : keine FieldDescription !");
- static_cast<OQueryController&>(getDesignView()->getController()).setModified( sal_True );
+ static_cast<OQueryController&>(getDesignView()->getController()).setModified( true );
EditBrowseBox::ColumnResized(nColId);
if ( pEntry.is())
diff --git a/dbaccess/source/ui/querydesign/TableWindow.cxx b/dbaccess/source/ui/querydesign/TableWindow.cxx
index 903337bba807..d7dbc5eef76c 100644
--- a/dbaccess/source/ui/querydesign/TableWindow.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindow.cxx
@@ -704,7 +704,7 @@ bool OTableWindow::PreNotify(NotifyEvent& rNEvt)
pView->EnsureVisible(GetData()->GetPosition(), GetData()->GetSize());
pView->TabWinMoved(this,aOldDataPoint);
Invalidate(InvalidateFlags::NoChildren);
- getDesignView()->getController().setModified( sal_True );
+ getDesignView()->getController().setModified( true );
}
else
{
diff --git a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx
index 8da722265150..da22b9c813cc 100644
--- a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx
@@ -146,7 +146,7 @@ void OTableWindowTitle::MouseButtonDown( const MouseEvent& rEvt )
conn->RecalcLines();
pView->InvalidateConnections();
- pView->getDesignView()->getController().setModified(sal_True);
+ pView->getDesignView()->getController().setModified(true);
pView->Invalidate(InvalidateFlags::NoChildren);
}
}
diff --git a/dbaccess/source/ui/querydesign/querycontainerwindow.cxx b/dbaccess/source/ui/querydesign/querycontainerwindow.cxx
index 1b8a39f75b62..686963571c27 100644
--- a/dbaccess/source/ui/querydesign/querycontainerwindow.cxx
+++ b/dbaccess/source/ui/querydesign/querycontainerwindow.cxx
@@ -72,7 +72,7 @@ namespace dbaui
Reference< css::util::XCloseable > xCloseable(m_xBeamer,UNO_QUERY);
m_xBeamer = nullptr;
if(xCloseable.is())
- xCloseable->close(sal_False); // false - holds the ownership of this frame
+ xCloseable->close(false); // false - holds the ownership of this frame
}
m_pSplitter.disposeAndClear();
@@ -186,7 +186,7 @@ namespace dbaui
if ( xLMPropSet.is() )
{
const OUString aAutomaticToolbars( "AutomaticToolbars" );
- xLMPropSet->setPropertyValue( aAutomaticToolbars, Any( sal_False ));
+ xLMPropSet->setPropertyValue( aAutomaticToolbars, Any( false ));
}
}
catch( Exception& )
diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx
index 286ab7ee9aab..42a62c6093b5 100644
--- a/dbaccess/source/ui/querydesign/querycontroller.cxx
+++ b/dbaccess/source/ui/querydesign/querycontroller.cxx
@@ -568,7 +568,7 @@ void OQueryController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >&
case ID_BROWSER_ESCAPEPROCESSING:
setEscapeProcessing_fireEvent( !m_bEscapeProcessing );
if ( !editingView() )
- setModified(sal_True);
+ setModified(true);
InvalidateFeature(ID_BROWSER_SQL);
break;
case ID_BROWSER_SAVEASDOC:
@@ -697,17 +697,17 @@ void OQueryController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >&
case SID_QUERY_VIEW_TABLES:
case SID_QUERY_VIEW_ALIASES:
getContainer()->setSlotEnabled(_nId,!getContainer()->isSlotEnabled(_nId));
- setModified(sal_True);
+ setModified(true);
break;
case SID_QUERY_DISTINCT_VALUES:
m_bDistinct = !m_bDistinct;
- setModified(sal_True);
+ setModified(true);
break;
case SID_QUERY_LIMIT:
if ( aArgs.getLength() >= 1 && aArgs[0].Name == "DBLimit.Value" )
{
aArgs[0].Value >>= m_nLimit;
- setModified(sal_True);
+ setModified(true);
}
break;
case SID_QUERY_PROP_DLG:
@@ -727,7 +727,7 @@ void OQueryController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >&
{
try
{
- xCloseFrame->close( sal_True );
+ xCloseFrame->close( true );
}
catch(const Exception&)
{
@@ -1042,7 +1042,7 @@ void OQueryController::impl_initialize()
Application::PostUserEvent( LINK( this, OQueryController, OnExecuteAddTable ) );
}
- setModified(sal_False);
+ setModified(false);
}
catch(const SQLException& e)
{
@@ -1418,7 +1418,7 @@ bool OQueryController::doSaveAsDoc(bool _bSaveAs)
OUString sTranslatedStmt = translateStatement();
if ( editingCommand() )
{
- setModified( sal_False );
+ setModified( false );
// this is all we need to do here. translateStatement implicitly set our m_sStatement, and
// notified it, and that's all
return true;
@@ -1546,7 +1546,7 @@ bool OQueryController::doSaveAsDoc(bool _bSaveAs)
releaseNumberForComponent();
}
- setModified( sal_False );
+ setModified( false );
bSuccess = true;
}
@@ -1929,7 +1929,7 @@ void OQueryController::setStatement_fireEvent( const OUString& _rNewStatement, b
sal_Int32 nHandle = PROPERTY_ID_ACTIVECOMMAND;
if ( _bFireStatementChange )
- fire( &nHandle, &aNewValue, &aOldValue, 1, sal_False );
+ fire( &nHandle, &aNewValue, &aOldValue, 1, false );
}
void OQueryController::setEscapeProcessing_fireEvent( const bool _bEscapeProcessing )
@@ -1942,7 +1942,7 @@ void OQueryController::setEscapeProcessing_fireEvent( const bool _bEscapeProcess
Any aNewValue = makeAny( m_bEscapeProcessing );
sal_Int32 nHandle = PROPERTY_ID_ESCAPE_PROCESSING;
- fire( &nHandle, &aNewValue, &aOldValue, 1, sal_False );
+ fire( &nHandle, &aNewValue, &aOldValue, 1, false );
}
IMPL_LINK_NOARG_TYPED( OQueryController, OnExecuteAddTable, void*, void )
diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx
index f884dccd4c7c..1478ee781d54 100644
--- a/dbaccess/source/ui/relationdesign/RelationController.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationController.cxx
@@ -173,7 +173,7 @@ void ORelationController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue
::comphelper::NamedValueCollection aWindowsData;
saveTableWindows( aWindowsData );
getDataSource()->setPropertyValue( PROPERTY_LAYOUTINFORMATION, makeAny( aWindowsData.getPropertyValues() ) );
- setModified(sal_False);
+ setModified(false);
}
}
catch ( const Exception& )
@@ -474,7 +474,7 @@ IMPL_LINK_NOARG_TYPED( ORelationController, OnThreadFinished, void*, void )
getView()->initialize(); // show the windows and fill with our information
getView()->Invalidate(InvalidateFlags::NoErase);
ClearUndoManager();
- setModified(sal_False); // and we are not modified yet
+ setModified(false); // and we are not modified yet
if(m_vTableData.empty())
Execute(ID_BROWSER_ADDTABLE,Sequence<PropertyValue>());
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx
index f784108e4719..55e8042767e8 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx
@@ -688,7 +688,7 @@ void OTableEditorCtrl::CellModified( long nRow, sal_uInt16 nColId )
xController->SetModified();
// Set the Modify flag
- GetView()->getController().setModified( sal_True );
+ GetView()->getController().setModified( true );
InvalidateFeatures();
}
@@ -815,7 +815,7 @@ void OTableEditorCtrl::InsertRows( long nRow )
// Create the Undo-Action
GetUndoManager().AddUndoAction( new OTableEditorInsUndoAct(this, nRow,vInsertedUndoRedoRows) );
- GetView()->getController().setModified( sal_True );
+ GetView()->getController().setModified( true );
InvalidateFeatures();
}
@@ -852,7 +852,7 @@ void OTableEditorCtrl::DeleteRows()
SetDataPtr( m_nDataPos );
ActivateCell();
pDescrWin->DisplayData( pActRow->GetActFieldDescr() );
- GetView()->getController().setModified( sal_True );
+ GetView()->getController().setModified( true );
InvalidateFeatures();
}
@@ -869,7 +869,7 @@ void OTableEditorCtrl::InsertNewRows( long nRow )
m_pRowList->insert( m_pRowList->begin()+i ,std::shared_ptr<OTableRow>(new OTableRow()));
RowInserted( nRow, nInsertRows );
- GetView()->getController().setModified( sal_True );
+ GetView()->getController().setModified( true );
InvalidateFeatures();
}
@@ -1555,7 +1555,7 @@ void OTableEditorCtrl::SetPrimaryKey( bool bSet )
InvalidateHandleColumn();
// Set the TableDocSh's ModifyFlag
- GetView()->getController().setModified( sal_True );
+ GetView()->getController().setModified( true );
InvalidateFeatures();
}
diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx
index d987f6a0ceb8..1f0f3d1a9797 100644
--- a/dbaccess/source/ui/tabledesign/TableController.cxx
+++ b/dbaccess/source/ui/tabledesign/TableController.cxx
@@ -519,7 +519,7 @@ void OTableController::impl_initialize()
loadData(); // fill the column information from the table
getView()->initialize(); // show the windows and fill with our information
ClearUndoManager();
- setModified(sal_False); // and we are not modified yet
+ setModified(false); // and we are not modified yet
}
catch( const Exception& )
{
@@ -537,12 +537,12 @@ bool OTableController::Construct(vcl::Window* pParent)
sal_Bool SAL_CALL OTableController::suspend(sal_Bool /*_bSuspend*/) throw( RuntimeException, std::exception )
{
if ( getBroadcastHelper().bInDispose || getBroadcastHelper().bDisposed )
- return sal_True;
+ return true;
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getMutex() );
if ( getView() && getView()->IsInModalMode() )
- return sal_False;
+ return false;
if ( getView() )
static_cast<OTableDesignView*>(getView())->GrabFocus();
bool bCheck = true;
@@ -625,7 +625,7 @@ void SAL_CALL OTableController::disposing( const EventObject& _rSource ) throw(R
stopTableListening();
m_xTable = nullptr;
m_bNew = true;
- setModified(sal_True);
+ setModified(true);
}
else
OTableController_BASE::disposing( _rSource );
@@ -649,7 +649,7 @@ void OTableController::losingConnection( )
if(!m_xTable.is())
{
m_bNew = true;
- setModified(sal_True);
+ setModified(true);
}
InvalidateAll();
}
@@ -1448,7 +1448,7 @@ void OTableController::reSyncRows()
static_cast<OTableDesignView*>(getView())->reSync(); // show the windows and fill with our information
ClearUndoManager();
- setModified(sal_False); // and we are not modified yet
+ setModified(false); // and we are not modified yet
}
OUString OTableController::createUniqueName(const OUString& _rName)
@@ -1504,7 +1504,7 @@ void OTableController::reload()
loadData(); // fill the column information from the table
static_cast<OTableDesignView*>(getView())->reSync(); // show the windows and fill with our information
ClearUndoManager();
- setModified(sal_False); // and we are not modified yet
+ setModified(false); // and we are not modified yet
static_cast<OTableDesignView*>(getView())->Invalidate();
}
diff --git a/dbaccess/source/ui/tabledesign/TableUndo.cxx b/dbaccess/source/ui/tabledesign/TableUndo.cxx
index f14ee645b472..51e394db73ca 100644
--- a/dbaccess/source/ui/tabledesign/TableUndo.cxx
+++ b/dbaccess/source/ui/tabledesign/TableUndo.cxx
@@ -49,7 +49,7 @@ void OTableDesignUndoAct::Undo()
// doc has not been modified if first undo was reverted
if( m_pTabDgnCtrl->m_nCurUndoActId == 0 )
{
- m_pTabDgnCtrl->GetView()->getController().setModified(sal_False);
+ m_pTabDgnCtrl->GetView()->getController().setModified(false);
m_pTabDgnCtrl->GetView()->getController().InvalidateFeature(SID_SAVEDOC);
}
}
@@ -61,7 +61,7 @@ void OTableDesignUndoAct::Redo()
// restore Modified-flag after Redo of first Undo-action
if( m_pTabDgnCtrl->m_nCurUndoActId > 0 )
{
- m_pTabDgnCtrl->GetView()->getController().setModified(sal_True);
+ m_pTabDgnCtrl->GetView()->getController().setModified(true);
m_pTabDgnCtrl->GetView()->getController().InvalidateFeature(SID_SAVEDOC);
}
}
@@ -92,7 +92,7 @@ void OTableDesignCellUndoAct::Undo()
CellControllerRef xController = m_pTabDgnCtrl->Controller();
if ( xController.Is() )
xController->ClearModified();
- m_pTabDgnCtrl->GetView()->getController().setModified(sal_False);
+ m_pTabDgnCtrl->GetView()->getController().setModified(false);
}
diff --git a/dbaccess/source/ui/uno/ColumnControl.cxx b/dbaccess/source/ui/uno/ColumnControl.cxx
index 8a19477eebed..580dc1ca6ec8 100644
--- a/dbaccess/source/ui/uno/ColumnControl.cxx
+++ b/dbaccess/source/ui/uno/ColumnControl.cxx
@@ -102,10 +102,10 @@ void SAL_CALL OColumnControl::createPeer(const Reference< XToolkit >& /*rToolkit
}
if (aComponentInfos.bVisible)
- xW->setVisible(sal_True);
+ xW->setVisible(true);
if (!aComponentInfos.bEnable)
- xW->setEnable(sal_False);
+ xW->setEnable(false);
if (maWindowListeners.getLength())
xW->addWindowListener( &maWindowListeners );
diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index 144df8b397e2..b708ebc0fbae 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -373,7 +373,7 @@ CopyTableWizard::CopyTableWizard( const Reference< XComponentContext >& _rxORB )
,m_xContext( _rxORB )
,m_nOperation( CopyTableOperation::CopyDefinitionAndData )
,m_sDestinationTable()
- ,m_aPrimaryKeyName( sal_False, "ID" )
+ ,m_aPrimaryKeyName( false, "ID" )
,m_bUseHeaderLineAsColumnNames( true )
,m_xSourceConnection()
,m_nCommandType( CommandType::COMMAND )
diff --git a/dbaccess/source/ui/uno/unosqlmessage.cxx b/dbaccess/source/ui/uno/unosqlmessage.cxx
index 554a12ae83ad..a2d01a7e3c67 100644
--- a/dbaccess/source/ui/uno/unosqlmessage.cxx
+++ b/dbaccess/source/ui/uno/unosqlmessage.cxx
@@ -114,7 +114,7 @@ sal_Bool SAL_CALL OSQLMessageDialog::convertFastPropertyValue( Any& _rConvertedV
_rOldValue = m_aException;
_rConvertedValue = aInfo.get();
- return sal_True;
+ return true;
// always assume "modified", don't bother with comparing the two values
}
default: