summaryrefslogtreecommitdiff
path: root/toolkit/source/hatchwindow/documentcloser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/hatchwindow/documentcloser.cxx')
-rw-r--r--toolkit/source/hatchwindow/documentcloser.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/hatchwindow/documentcloser.cxx b/toolkit/source/hatchwindow/documentcloser.cxx
index 70171d7308e8..b11a71df3124 100644
--- a/toolkit/source/hatchwindow/documentcloser.cxx
+++ b/toolkit/source/hatchwindow/documentcloser.cxx
@@ -113,7 +113,7 @@ IMPL_STATIC_LINK( MainThreadFrameCloserRequest, worker, void*, p, void )
xWindow->setVisible( false );
// reparent the window
- xWinPeer->setProperty( "PluginParent", uno::Any( sal_Int64(0) ) );
+ xWinPeer->setProperty( u"PluginParent"_ustr, uno::Any( sal_Int64(0) ) );
VclPtr<vcl::Window> pWindow = VCLUnoHelper::GetWindow( xWindow );
if (pWindow)
@@ -148,13 +148,13 @@ ODocumentCloser::ODocumentCloser(const css::uno::Sequence< css::uno::Any >& aArg
sal_Int32 nLen = aArguments.getLength();
if ( nLen != 1 )
throw lang::IllegalArgumentException(
- "Wrong count of parameters!",
+ u"Wrong count of parameters!"_ustr,
uno::Reference< uno::XInterface >(),
0 );
if ( !( aArguments[0] >>= m_xFrame ) || !m_xFrame.is() )
throw lang::IllegalArgumentException(
- "Nonempty reference is expected as the first argument!",
+ u"Nonempty reference is expected as the first argument!"_ustr,
uno::Reference< uno::XInterface >(),
0 );
}
@@ -203,7 +203,7 @@ void SAL_CALL ODocumentCloser::removeEventListener( const uno::Reference< lang::
// XServiceInfo
OUString SAL_CALL ODocumentCloser::getImplementationName( )
{
- return "com.sun.star.comp.embed.DocumentCloser";
+ return u"com.sun.star.comp.embed.DocumentCloser"_ustr;
}
sal_Bool SAL_CALL ODocumentCloser::supportsService( const OUString& ServiceName )
@@ -213,7 +213,7 @@ sal_Bool SAL_CALL ODocumentCloser::supportsService( const OUString& ServiceName
uno::Sequence< OUString > SAL_CALL ODocumentCloser::getSupportedServiceNames()
{
- return { "com.sun.star.embed.DocumentCloser" };
+ return { u"com.sun.star.embed.DocumentCloser"_ustr };
}
}