summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:45:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:45:11 +0200
commit28ecf843463bafdb873cf28e32ba173b7fe466d8 (patch)
tree5decc0ce0bbd4f0a89d995c126eaaa6ef5e8e225 /dbaccess
parentd35f403d80c03aa944f4888036dd200e3360f1ef (diff)
loplugin:defaultparams
Change-Id: I9dccf0538389063648e97575ff4c3765f0b1256b
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/SingleSelectQueryComposer.cxx4
-rw-r--r--dbaccess/source/core/dataaccess/databaseregistrations.cxx2
-rw-r--r--dbaccess/source/ui/app/AppDetailView.cxx2
-rw-r--r--dbaccess/source/ui/browser/unodatbr.cxx2
-rw-r--r--dbaccess/source/ui/control/listviewitems.cxx4
-rw-r--r--dbaccess/source/ui/dlg/dbwizsetup.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/TableWindowListBox.cxx2
8 files changed, 11 insertions, 11 deletions
diff --git a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
index 9504d74670ac..fe064d70a9c3 100644
--- a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
+++ b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
@@ -1029,8 +1029,8 @@ bool OSingleSelectQueryComposer::setANDCriteria( OSQLParseNode * pCondition,
OUString aValue;
OUString aColumnName;
- pCondition->parseNodeToStr( aValue, m_xConnection, NULL );
- pCondition->getChild(0)->parseNodeToStr( aColumnName, m_xConnection, NULL );
+ pCondition->parseNodeToStr( aValue, m_xConnection );
+ pCondition->getChild(0)->parseNodeToStr( aColumnName, m_xConnection );
// don't display the column name
aValue = aValue.copy(aColumnName.getLength());
diff --git a/dbaccess/source/core/dataaccess/databaseregistrations.cxx b/dbaccess/source/core/dataaccess/databaseregistrations.cxx
index a9a536d24728..e132fbe786b8 100644
--- a/dbaccess/source/core/dataaccess/databaseregistrations.cxx
+++ b/dbaccess/source/core/dataaccess/databaseregistrations.cxx
@@ -144,7 +144,7 @@ namespace dbaccess
,m_aRegistrationListeners( m_aMutex )
{
m_aConfigurationRoot = ::utl::OConfigurationTreeRoot::createWithComponentContext(
- m_aContext, getConfigurationRootPath(), -1, ::utl::OConfigurationTreeRoot::CM_UPDATABLE );
+ m_aContext, getConfigurationRootPath() );
}
DatabaseRegistrations::~DatabaseRegistrations()
diff --git a/dbaccess/source/ui/app/AppDetailView.cxx b/dbaccess/source/ui/app/AppDetailView.cxx
index 7e2cdf6d46a3..7fe7874a8a47 100644
--- a/dbaccess/source/ui/app/AppDetailView.cxx
+++ b/dbaccess/source/ui/app/AppDetailView.cxx
@@ -572,7 +572,7 @@ OApplicationDetailView::~OApplicationDetailView()
void OApplicationDetailView::dispose()
{
- set(NULL,NULL);
+ set(NULL);
setSplitter(NULL);
m_aHorzSplitter.disposeAndClear();
m_aTasks.disposeAndClear();
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index 2568c738f750..60d7342e74c8 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -2061,7 +2061,7 @@ void SbaTableQueryBrowser::implAddDatasource(const OUString& _rDbName, Image& _r
OUString sDSDisplayName, sDataSourceId;
getDataSourceDisplayName_isURL( _rDbName, sDSDisplayName, sDataSourceId );
- SvTreeListEntry* pDatasourceEntry = m_pTreeView->getListBox().InsertEntry( sDSDisplayName, _rDbImage, _rDbImage, NULL );
+ SvTreeListEntry* pDatasourceEntry = m_pTreeView->getListBox().InsertEntry( sDSDisplayName, _rDbImage, _rDbImage );
DBTreeListUserData* pDSData = new DBTreeListUserData;
pDSData->eType = etDatasource;
pDSData->sAccessor = sDataSourceId;
diff --git a/dbaccess/source/ui/control/listviewitems.cxx b/dbaccess/source/ui/control/listviewitems.cxx
index 5f4d28de944b..d1d6deedf4db 100644
--- a/dbaccess/source/ui/control/listviewitems.cxx
+++ b/dbaccess/source/ui/control/listviewitems.cxx
@@ -31,7 +31,7 @@ namespace dbaui
return;
if (!_pViewData)
_pViewData = pView->GetViewDataItem( pEntry, this );
- pView->Push(PushFlags::ALL);
+ pView->Push();
vcl::Font aFont( pView->GetFont());
aFont.SetWeight(WEIGHT_BOLD);
pView->Control::SetFont( aFont );
@@ -49,7 +49,7 @@ namespace dbaui
{
if (m_bEmphasized)
{
- rRenderContext.Push(PushFlags::ALL);
+ rRenderContext.Push();
vcl::Font aFont(rRenderContext.GetFont());
aFont.SetWeight(WEIGHT_BOLD);
rRenderContext.SetFont(aFont);
diff --git a/dbaccess/source/ui/dlg/dbwizsetup.cxx b/dbaccess/source/ui/dlg/dbwizsetup.cxx
index 3a3cb7ab054d..976b30336369 100644
--- a/dbaccess/source/ui/dlg/dbwizsetup.cxx
+++ b/dbaccess/source/ui/dlg/dbwizsetup.cxx
@@ -927,7 +927,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument()
}
catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); }
- m_aAsyncCaller.Call( NULL );
+ m_aAsyncCaller.Call();
}
IMPL_LINK_NOARG_TYPED( AsyncLoader, OnOpenDocument, void*, void )
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index ba82e525204f..006257f68f9f 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -1261,7 +1261,7 @@ void OSelectionBrowseBox::RemoveColumn(sal_uInt16 _nColumnId)
getFields().push_back(pEntry);
EditBrowseBox::RemoveColumn( _nColumnId );
- InsertDataColumn( _nColumnId , OUString(), DEFAULT_SIZE, HeaderBarItemBits::STDSTYLE);
+ InsertDataColumn( _nColumnId , OUString(), DEFAULT_SIZE );
// Neuzeichnen
Rectangle aInvalidRect = GetInvalidRect( _nColumnId );
@@ -1408,7 +1408,7 @@ OTableFieldDescRef OSelectionBrowseBox::AppendNewCol( sal_uInt16 nCnt)
sal_uInt16 nColumnId = sal::static_int_cast< sal_uInt16 >(getFields().size());
pEmptyEntry->SetColumnId( nColumnId );
- InsertDataColumn( nColumnId , OUString(), DEFAULT_SIZE, HeaderBarItemBits::STDSTYLE);
+ InsertDataColumn( nColumnId , OUString(), DEFAULT_SIZE );
}
return getFields()[nCount];
diff --git a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
index 76ed893dd1b5..0de7e8330992 100644
--- a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx
@@ -217,7 +217,7 @@ sal_Int8 OTableWindowListBox::AcceptDrop( const AcceptDropEvent& _rEvt )
sal_Int8 nDND_Action = DND_ACTION_NONE;
// check the format
if ( !OJoinExchObj::isFormatAvailable(GetDataFlavorExVector(),SotClipboardFormatId::SBA_TABID) // this means that the first entry is to be draged
- && OJoinExchObj::isFormatAvailable(GetDataFlavorExVector(),SotClipboardFormatId::SBA_JOIN) )
+ && OJoinExchObj::isFormatAvailable(GetDataFlavorExVector()) )
{ // don't drop into the window if it's the drag source itself
// remove the selection if the dragging operation is leaving the window