diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 12:54:03 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 12:54:03 +1000 |
commit | fbea669c74f686f5a75aa80384bbfeff98680f8d (patch) | |
tree | 53a8106ad6bf3d9fe9e16224e62936a498db0a40 /desktop/source/deployment/gui/dp_gui_theextmgr.cxx | |
parent | 2b1737f648024328390bf44c4f2c614e748a92fd (diff) |
tdf#43157: convert desktop module away from OSL_ASSERT to assert
Change-Id: I521042a79cf93a51d84b72554d04715b321dd942
Diffstat (limited to 'desktop/source/deployment/gui/dp_gui_theextmgr.cxx')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_theextmgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx index 3170f8192d14..cbf6268e4811 100644 --- a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx +++ b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx @@ -214,7 +214,7 @@ void TheExtensionManager::checkUpdates( bool /* bShowUpdateOnly */, bool /*bPare for ( sal_Int32 i = 0; i < xAllPackages.getLength(); ++i ) { uno::Reference< deployment::XPackage > xPackage = dp_misc::getExtensionWithHighestVersion(xAllPackages[i]); - OSL_ASSERT(xPackage.is()); + assert(xPackage.is()); if ( xPackage.is() ) { vEntries.push_back( xPackage ); @@ -373,7 +373,7 @@ bool TheExtensionManager::supportsOptions( const uno::Reference< deployment::XPa beans::Optional< OUString > aId = xPackage->getIdentifier(); //a bundle must always have an id - OSL_ASSERT( aId.IsPresent ); + assert( aId.IsPresent ); //iterate over all available nodes uno::Sequence< OUString > seqNames = m_xNameAccessNodes->getElementNames(); |