Kaydet (Commit) 590e44c8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:simplifyconstruct (clang-cl)

Change-Id: I7cae6b3f31b10efc72884bce4bda7bf6b380cbc2
Reviewed-on: https://gerrit.libreoffice.org/60597
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst f13c2ce1
......@@ -53,7 +53,6 @@ ODatabaseMetaDataResultSet::ODatabaseMetaDataResultSet(ADORecordset* _pRecordSet
,OPropertySetHelper(ODatabaseMetaDataResultSet_BASE::rBHelper)
,m_pRecordSet(_pRecordSet)
,m_aStatement(nullptr)
,m_xMetaData(nullptr)
,m_nRowPos(0)
,m_bWasNull(false)
,m_bEOF(false)
......
......@@ -215,7 +215,7 @@ Reference< XTablesSupplier > SAL_CALL ODriver::getDataDefinitionByConnection( co
}
Reference< XTablesSupplier > xTab = nullptr;
Reference< XTablesSupplier > xTab;
if(pConnection)
{
WpADOCatalog aCatalog;
......
......@@ -74,7 +74,6 @@ OResultSet::OResultSet(ADORecordset* _pRecordSet,OStatement_Base* pStmt) : ORes
,m_pRecordSet(_pRecordSet)
,m_pStmt(pStmt)
,m_xStatement(*pStmt)
,m_xMetaData(nullptr)
,m_nRowPos(0)
,m_bEOF(false)
,m_bOnFirstAfterOpen(false)
......@@ -85,8 +84,6 @@ OResultSet::OResultSet(ADORecordset* _pRecordSet) : OResultSet_BASE(m_aMutex)
,OPropertySetHelper(OResultSet_BASE::rBHelper)
,m_pRecordSet(_pRecordSet)
,m_pStmt(nullptr)
,m_xStatement(nullptr)
,m_xMetaData(nullptr)
,m_nRowPos(0)
,m_bEOF(false)
,m_bOnFirstAfterOpen(false)
......
......@@ -107,7 +107,6 @@ OleEmbeddedObject::OleEmbeddedObject( const uno::Reference< lang::XMultiServiceF
// this constructor let object be initialized from clipboard
OleEmbeddedObject::OleEmbeddedObject( const uno::Reference< lang::XMultiServiceFactory >& xFactory )
: m_pOleComponent( nullptr )
, m_pInterfaceContainer( nullptr )
, m_bReadOnly( false )
, m_bDisposed( false )
, m_nObjectState( -1 )
......
......@@ -1205,7 +1205,7 @@ css::uno::Reference< css::awt::XWindow> SAL_CALL DocumentHolder::getContainerWin
if(m_xContainerWindow.is())
return m_xContainerWindow;
uno::Reference<awt::XWindow> xWin(nullptr);
uno::Reference<awt::XWindow> xWin;
uno::Reference<awt::XToolkit2> xToolkit = awt::Toolkit::create( comphelper::getComponentContext(m_xFactory) );
......
......@@ -620,7 +620,6 @@ WinFontFace::WinFontFace( const FontAttributes& rDFS,
: PhysicalFontFace( rDFS ),
mnId( 0 ),
mbFontCapabilitiesRead( false ),
mxUnicodeMap( nullptr ),
meWinCharSet( eWinCharSet ),
mnPitchAndFamily( nPitchAndFamily ),
mbAliasSymbolsHigh( false ),
......
......@@ -45,8 +45,7 @@ class ATL_NO_VTABLE CEnumVariant :
public:
CEnumVariant()
:m_lLBound(0),
pUNOInterface(nullptr),
m_pXAccessibleSelection(nullptr)
pUNOInterface(nullptr)
{
m_lCurrent = m_lLBound;
}
......
......@@ -399,7 +399,7 @@ int AccObjectWinManager::UpdateAccSelection(XAccessible* pXAcc)
if(pAccObj==nullptr)
return 0;
Reference<XAccessible> pRChild = nullptr;
Reference<XAccessible> pRChild;
AccObject* pAccChildObj = nullptr;
int selectNum= pRSelection->getSelectedAccessibleChildCount();
......
......@@ -76,8 +76,6 @@ class XMLSecurityContext_MSCryptImpl : public ::cppu::WeakImplHelper<
};
XMLSecurityContext_MSCryptImpl::XMLSecurityContext_MSCryptImpl()
://m_pKeysMngr( NULL ) ,
m_xSecurityEnvironment( nullptr )
{
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment