connectivity/source/drivers/macab/MacabDriver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 72890bd3b96dc235b77102a396322fe72ed72a85 Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Tue Nov 5 12:22:27 2024 +0100 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Wed Nov 6 08:23:54 2024 +0100 loplugin:staticconstexpr (macOS) Change-Id: I294b9476413a0d7b12daef9f26881241afcbde29 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176051 Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> Tested-by: Jenkins diff --git a/connectivity/source/drivers/macab/MacabDriver.cxx b/connectivity/source/drivers/macab/MacabDriver.cxx index 9c68e48f12a7..04caae0609a9 100644 --- a/connectivity/source/drivers/macab/MacabDriver.cxx +++ b/connectivity/source/drivers/macab/MacabDriver.cxx @@ -115,7 +115,7 @@ bool MacabImplModule::impl_loadModule() OSL_ENSURE( !m_hConnectorModule && !m_pConnectionFactoryFunc, "MacabImplModule::impl_loadModule: inconsistence: inconsistency (never attempted load before, but some values already set)!"); - constexpr OUString sModuleName( u"" SAL_MODULENAME( "macabdrv1" ) ""_ustr ); + static constexpr OUString sModuleName( u"" SAL_MODULENAME( "macabdrv1" ) ""_ustr ); m_hConnectorModule = osl_loadModuleRelative( &thisModule, sModuleName.pData, SAL_LOADMODULE_NOW ); // LAZY! #i61335# OSL_ENSURE( m_hConnectorModule, "MacabImplModule::impl_loadModule: could not load the implementation library!" ); if ( !m_hConnectorModule )