summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/app/AppControllerDnD.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:13:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:22 +0100
commit89c4edc13f203db1641c63e22774262bbe61f36f (patch)
tree0aa28439045c19140ff51cd6cf1593d8cf515d89 /dbaccess/source/ui/app/AppControllerDnD.cxx
parentb58d56c5109f4cf6cacfc8e9c424b179a65bf1f1 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I2bba104b1bff30910864e45b5b032533099742ff
Diffstat (limited to 'dbaccess/source/ui/app/AppControllerDnD.cxx')
-rw-r--r--dbaccess/source/ui/app/AppControllerDnD.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/app/AppControllerDnD.cxx b/dbaccess/source/ui/app/AppControllerDnD.cxx
index 484acf870e8d..cc71d6b679c1 100644
--- a/dbaccess/source/ui/app/AppControllerDnD.cxx
+++ b/dbaccess/source/ui/app/AppControllerDnD.cxx
@@ -520,7 +520,7 @@ TransferableHelper* OApplicationController::copyObject()
::osl::MutexGuard aGuard( getMutex() );
ElementType eType = getContainer()->getElementType();
- TransferableHelper* pData = NULL;
+ TransferableHelper* pData = nullptr;
switch( eType )
{
case E_TABLE:
@@ -531,7 +531,7 @@ TransferableHelper* OApplicationController::copyObject()
if ( xConnection.is() )
xMetaData = xConnection->getMetaData();
- OUString sName = getContainer()->getQualifiedName( NULL );
+ OUString sName = getContainer()->getQualifiedName( nullptr );
if ( !sName.isEmpty() )
{
OUString sDataSource = getDatabaseName();
@@ -575,7 +575,7 @@ TransferableHelper* OApplicationController::copyObject()
{
DBG_UNHANDLED_EXCEPTION();
}
- return NULL;
+ return nullptr;
}
bool OApplicationController::paste( ElementType _eType, const svx::ODataAccessDescriptor& _rPasteData, const OUString& _sParentFolder, bool _bMove)
@@ -642,7 +642,7 @@ bool OApplicationController::paste( ElementType _eType, const svx::ODataAccessDe
{
// the concrete query
Reference< XQueryDefinitionsSupplier > xSourceQuerySup(
- getDataSourceByName( sDataSourceName, getView(), getORB(), NULL ),
+ getDataSourceByName( sDataSourceName, getView(), getORB(), nullptr ),
UNO_QUERY_THROW );
Reference< XNameAccess > xQueries( xSourceQuerySup->getQueryDefinitions(), UNO_SET_THROW );
if ( xQueries->hasByName( sCommand ) )
@@ -798,7 +798,7 @@ bool OApplicationController::isTableFormat() const
IMPL_LINK_NOARG_TYPED( OApplicationController, OnAsyncDrop, void*, void )
{
- m_nAsyncDrop = 0;
+ m_nAsyncDrop = nullptr;
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getMutex() );