summaryrefslogtreecommitdiff
path: root/svtools/source/dialogs
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-19 17:16:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-05-19 17:16:53 +0200
commit74dfe42baf962818a3933b1d8fb6184f6210dae1 (patch)
tree5fd856cf4f6f82e686ae38aa4ea6b9c8c9c173d6 /svtools/source/dialogs
parentdd44fd294cfb5eabe4c8382acdd82d323d8e8dd1 (diff)
loplugin:stringcopy: svtools
Change-Id: Ib731495da942fdd8bf0fb6f75d8697c10155886a
Diffstat (limited to 'svtools/source/dialogs')
-rw-r--r--svtools/source/dialogs/PlaceEditDialog.cxx2
-rw-r--r--svtools/source/dialogs/wizardmachine.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx
index c60df5fd7ed5..8305ea557b94 100644
--- a/svtools/source/dialogs/PlaceEditDialog.cxx
+++ b/svtools/source/dialogs/PlaceEditDialog.cxx
@@ -308,7 +308,7 @@ IMPL_LINK_NOARG( PlaceEditDialog, EditUsernameHdl, Edit&, void )
for ( std::vector< std::shared_ptr< DetailsContainer > >::iterator it = m_aDetailsContainers.begin( );
it != m_aDetailsContainers.end( ); ++it )
{
- ( *it )->setUsername( OUString( m_pEDUsername->GetText() ) );
+ ( *it )->setUsername( m_pEDUsername->GetText() );
( *it )->setPassword( m_pEDPassword->GetText() );
}
diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx
index 3a4f5a750531..1859e9f007db 100644
--- a/svtools/source/dialogs/wizardmachine.cxx
+++ b/svtools/source/dialogs/wizardmachine.cxx
@@ -154,7 +154,7 @@ namespace svt
m_pNextPage = VclPtr<PushButton>::Create(this, WB_TABSTOP);
m_pNextPage->SetHelpId( HID_WIZARD_NEXT );
m_pNextPage->SetSizePixel( LogicToPixel( Size( 50, 14 ), MapUnit::MapAppFont ) );
- m_pNextPage->SetText(OUString(SvtResId(STR_WIZDLG_NEXT)));
+ m_pNextPage->SetText(SvtResId(STR_WIZDLG_NEXT));
m_pNextPage->Show();
m_pNextPage->set_id("next");