summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/swmodule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/app/swmodule.cxx')
-rw-r--r--sw/source/uibase/app/swmodule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/app/swmodule.cxx b/sw/source/uibase/app/swmodule.cxx
index e8bb17f37f79..3d351cf492e1 100644
--- a/sw/source/uibase/app/swmodule.cxx
+++ b/sw/source/uibase/app/swmodule.cxx
@@ -135,7 +135,7 @@ SwModule::SwModule( SfxObjectFactory* pWebFact,
m_pDragDrop( nullptr ),
m_pXSelection( nullptr )
{
- SetName( "StarWriter" );
+ SetName( u"StarWriter"_ustr );
SvxErrorHandler::ensure();
m_pErrorHandler.reset( new SfxErrorHandler( RID_SW_ERRHDL,
ErrCodeArea::Sw,
@@ -202,7 +202,7 @@ uno::Reference< linguistic2::XLanguageGuessing > const & SwModule::GetLanguageGu
SwModule::~SwModule()
{
css::uno::Sequence< css::uno::Any > aArgs;
- CallAutomationApplicationEventSinks( "Quit", aArgs );
+ CallAutomationApplicationEventSinks( u"Quit"_ustr, aArgs );
m_pErrorHandler.reset();
EndListening( *SfxGetpApp() );
}