summaryrefslogtreecommitdiffstats
path: root/svtools/source/contnr/templwin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-31 17:40:05 +0200
committerNoel Grandin <noel@peralex.com>2013-11-08 08:44:34 +0200
commit81f5c65f7556bf0c08ce8a0d7029a9cc72319025 (patch)
tree1661cf1181d2618f325261ffeffc7b00a1309162 /svtools/source/contnr/templwin.cxx
parentremove unnecessary use of OUString constructor in SVX module (diff)
downloadcore-81f5c65f7556bf0c08ce8a0d7029a9cc72319025.tar.gz
core-81f5c65f7556bf0c08ce8a0d7029a9cc72319025.zip
remove unnecessary use of OUString constructor in SVTOOLS module
Change-Id: Iad58b125f16226cc6afa9d88d2c792065bbc244f
Diffstat (limited to 'svtools/source/contnr/templwin.cxx')
-rw-r--r--svtools/source/contnr/templwin.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/contnr/templwin.cxx b/svtools/source/contnr/templwin.cxx
index a187e8b445ae..a57a15a76b21 100644
--- a/svtools/source/contnr/templwin.cxx
+++ b/svtools/source/contnr/templwin.cxx
@@ -647,7 +647,7 @@ void SvtFrameWindow_Impl::ShowDocInfo( const OUString& rURL )
uno::Reference < task::XInteractionHandler2 > xInteractionHandler(
task::InteractionHandler::createWithParent(::comphelper::getProcessComponentContext(), 0) );
uno::Sequence < beans::PropertyValue> aProps(1);
- aProps[0].Name = OUString( "InteractionHandler" );
+ aProps[0].Name = "InteractionHandler";
aProps[0].Value <<= xInteractionHandler;
m_xDocProps->loadFromMedium( rURL, aProps );
pEditWin->fill( m_xDocProps, rURL );
@@ -728,7 +728,7 @@ void SvtFrameWindow_Impl::OpenFile( const OUString& rURL, sal_Bool bPreview, sal
uno::Reference < task::XInteractionHandler2 > xInteractionHandler(
task::InteractionHandler::createWithParent(::comphelper::getProcessComponentContext(), 0) );
- aArgs[3].Name = OUString( "InteractionHandler" );
+ aArgs[3].Name = "InteractionHandler";
aArgs[3].Value <<= xInteractionHandler;
b = sal_False;
@@ -748,7 +748,7 @@ void SvtFrameWindow_Impl::OpenFile( const OUString& rURL, sal_Bool bPreview, sal
{
m_xFrame->setComponent( Reference < com::sun::star::awt::XWindow >(), Reference < XController >() );
ViewEmptyWin();
- m_aOpenURL = OUString();
+ m_aOpenURL = "";
}
else
m_aOpenURL = aDispURL;
@@ -761,13 +761,13 @@ void SvtFrameWindow_Impl::OpenFile( const OUString& rURL, sal_Bool bPreview, sal
aArgs[0].Name = "AsTemplate";
aArgs[0].Value <<= bAsTemplate;
xDisp->dispatch( aURL, aArgs );
- m_aOpenURL = OUString();
+ m_aOpenURL = "";
}
else
{
Sequence < PropertyValue > aArgs;
xDisp->dispatch( aURL, aArgs );
- m_aOpenURL = OUString();
+ m_aOpenURL = "";
}
}
}