diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx index ba49544f0fec..051ed782e38a 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx @@ -142,7 +142,7 @@ bool readArgument( { if (*pIndex < osl_getCommandArgCount()) { - OSL_ASSERT( pValue != nullptr ); + assert(pValue != nullptr); osl_getCommandArg( *pIndex, &pValue->pData ); dp_misc::TRACE(__FILE__ ": argument value: " + *pValue + "\n"); diff --git a/desktop/source/pkgchk/unopkg/unopkg_shared.h b/desktop/source/pkgchk/unopkg/unopkg_shared.h index 21d0f6a92856..ac8322629093 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_shared.h +++ b/desktop/source/pkgchk/unopkg/unopkg_shared.h @@ -67,7 +67,7 @@ inline bool readOption( bool * flag, OptionInfo const * option_info, sal_uInt32 * pIndex ) { if (isOption( option_info, pIndex )) { - OSL_ASSERT( flag != nullptr ); + assert(flag != nullptr); *flag = true; return true; }