diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-08 11:58:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-08 17:18:51 +0200 |
commit | 4f5f24a4a3dac22e0f2c0d4832e0cbdd566263b9 (patch) | |
tree | 9a6078551b0d89df314cc384336d94178b8c459f /framework/source/fwi | |
parent | 22dd422f7ccf7a1ce4dc7fe5b274263a55e464c7 (diff) |
loplugin:ostr in framework
Change-Id: I2fdc32aa5de6a1315fe69997f9b531259aa78605
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167339
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/fwi')
-rw-r--r-- | framework/source/fwi/threadhelp/transactionmanager.cxx | 4 | ||||
-rw-r--r-- | framework/source/fwi/uielement/constitemcontainer.cxx | 2 | ||||
-rw-r--r-- | framework/source/fwi/uielement/rootitemcontainer.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/fwi/threadhelp/transactionmanager.cxx b/framework/source/fwi/threadhelp/transactionmanager.cxx index 86d5b354a064..0d63c84df0c5 100644 --- a/framework/source/fwi/threadhelp/transactionmanager.cxx +++ b/framework/source/fwi/threadhelp/transactionmanager.cxx @@ -173,13 +173,13 @@ void TransactionManager::registerTransaction( EExceptionMode eMode ) { // Help programmer to find out, why this exception is thrown! SAL_WARN( "fwk", "TransactionManager...: Owner instance stand in close method. Call was rejected!" ); - throw css::lang::DisposedException( "TransactionManager: Owner instance stand in close method. Call was rejected!" ); + throw css::lang::DisposedException( u"TransactionManager: Owner instance stand in close method. Call was rejected!"_ustr ); } break; case E_CLOSE: // Help programmer to find out, why this exception is thrown! SAL_WARN( "fwk", "TransactionManager...: Owner instance already closed. Call was rejected!" ); - throw css::lang::DisposedException( "TransactionManager: Owner instance already closed. Call was rejected!" ); + throw css::lang::DisposedException( u"TransactionManager: Owner instance already closed. Call was rejected!"_ustr ); } // Register this new transaction. diff --git a/framework/source/fwi/uielement/constitemcontainer.cxx b/framework/source/fwi/uielement/constitemcontainer.cxx index 40865c8f1b81..4dec6fec43ff 100644 --- a/framework/source/fwi/uielement/constitemcontainer.cxx +++ b/framework/source/fwi/uielement/constitemcontainer.cxx @@ -57,7 +57,7 @@ ConstItemContainer::ConstItemContainer( const Reference< XIndexAccess >& rSource Reference< XPropertySet > xPropSet( rSourceContainer, UNO_QUERY ); if ( xPropSet.is() ) { - xPropSet->getPropertyValue("UIName") >>= m_aUIName; + xPropSet->getPropertyValue(u"UIName"_ustr) >>= m_aUIName; } } catch ( const Exception& ) diff --git a/framework/source/fwi/uielement/rootitemcontainer.cxx b/framework/source/fwi/uielement/rootitemcontainer.cxx index 652f0dd8029f..c153d71c716d 100644 --- a/framework/source/fwi/uielement/rootitemcontainer.cxx +++ b/framework/source/fwi/uielement/rootitemcontainer.cxx @@ -59,7 +59,7 @@ RootItemContainer::RootItemContainer( const Reference< XIndexAccess >& rSourceCo Reference< XPropertySet > xPropSet( rSourceContainer, UNO_QUERY ); if ( xPropSet.is() ) { - xPropSet->getPropertyValue("UIName") >>= m_aUIName; + xPropSet->getPropertyValue(u"UIName"_ustr) >>= m_aUIName; } } catch ( const Exception& ) |