diff options
-rw-r--r-- | svtools/source/brwbox/brwbox3.cxx | 2 | ||||
-rw-r--r-- | svtools/source/contnr/svtabbx.cxx | 4 | ||||
-rw-r--r-- | svtools/source/control/inettbc.cxx | 2 | ||||
-rw-r--r-- | svtools/source/dialogs/PlaceEditDialog.cxx | 2 | ||||
-rw-r--r-- | svtools/source/dialogs/wizardmachine.cxx | 2 | ||||
-rw-r--r-- | svtools/source/misc/imagemgr.cxx | 2 | ||||
-rw-r--r-- | svtools/source/misc/transfer.cxx | 2 | ||||
-rw-r--r-- | svtools/source/uno/unoiface.cxx | 4 |
8 files changed, 10 insertions, 10 deletions
diff --git a/svtools/source/brwbox/brwbox3.cxx b/svtools/source/brwbox/brwbox3.cxx index 153f192e5bad..75d2086d3348 100644 --- a/svtools/source/brwbox/brwbox3.cxx +++ b/svtools/source/brwbox/brwbox3.cxx @@ -313,7 +313,7 @@ OUString BrowseBox::GetRowDescription( sal_Int32 ) const OUString BrowseBox::GetColumnDescription( sal_uInt16 _nColumn ) const { - return OUString( GetColumnTitle( GetColumnId( _nColumn ) ) ); + return GetColumnTitle( GetColumnId( _nColumn ) ); } diff --git a/svtools/source/contnr/svtabbx.cxx b/svtools/source/contnr/svtabbx.cxx index f0d823840e8b..e21a86435e37 100644 --- a/svtools/source/contnr/svtabbx.cxx +++ b/svtools/source/contnr/svtabbx.cxx @@ -693,12 +693,12 @@ sal_uInt16 SvHeaderTabListBox::GetCurrColumn() const OUString SvHeaderTabListBox::GetRowDescription( sal_Int32 _nRow ) const { - return OUString( GetEntryText( _nRow ) ); + return GetEntryText( _nRow ); } OUString SvHeaderTabListBox::GetColumnDescription( sal_uInt16 _nColumn ) const { - return OUString( m_pImpl->m_pHeaderBar->GetItemText( m_pImpl->m_pHeaderBar->GetItemId( _nColumn ) ) ); + return m_pImpl->m_pHeaderBar->GetItemText( m_pImpl->m_pHeaderBar->GetItemId( _nColumn ) ); } bool SvHeaderTabListBox::HasRowHeader() const diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 3341d8d0b6f4..2a91e98fb1e2 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -283,7 +283,7 @@ void SvtMatchContext_Impl::Insert( const OUString& rCompletion, if( !bForce ) { // avoid doubles - if(find(aCompletions.begin(), aCompletions.end(), OUString(rCompletion)) != aCompletions.end()) + if(find(aCompletions.begin(), aCompletions.end(), rCompletion) != aCompletions.end()) return; } 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"); diff --git a/svtools/source/misc/imagemgr.cxx b/svtools/source/misc/imagemgr.cxx index e72d6e0564bd..c41b8d25ecdd 100644 --- a/svtools/source/misc/imagemgr.cxx +++ b/svtools/source/misc/imagemgr.cxx @@ -243,7 +243,7 @@ static OUString GetImageExtensionByFactory_Impl( const OUString& rURL ) if ( ( rProp.Value >>= aExtensions ) && aExtensions.getLength() > 0 ) { const OUString* pExtensions = aExtensions.getConstArray(); - aExtension = OUString( pExtensions[0] ); + aExtension = pExtensions[0]; break; } } diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx index dd903daf47d2..e43534a12727 100644 --- a/svtools/source/misc/transfer.cxx +++ b/svtools/source/misc/transfer.cxx @@ -757,7 +757,7 @@ bool TransferableHelper::SetINetBookmark( const INetBookmark& rBmk, break; case SotClipboardFormatId::STRING: - maAny <<= OUString( rBmk.GetURL() ); + maAny <<= rBmk.GetURL(); break; case SotClipboardFormatId::UNIFORMRESOURCELOCATOR: diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx index 75a671c80e31..69c413493975 100644 --- a/svtools/source/uno/unoiface.cxx +++ b/svtools/source/uno/unoiface.cxx @@ -1204,7 +1204,7 @@ css::uno::Any SVTXFormattedField::GetDefaultValue() if (pField->TreatingAsNumber()) aReturn <<= pField->GetDefaultValue(); else - aReturn <<= OUString( pField->GetDefaultText() ); + aReturn <<= pField->GetDefaultText(); return aReturn; } @@ -2009,7 +2009,7 @@ css::uno::Any SVTXCurrencyField::getProperty( const OUString& PropertyName ) { case BASEPROPERTY_CURRENCYSYMBOL: { - aReturn <<= OUString( pField->getCurrencySymbol() ); + aReturn <<= pField->getCurrencySymbol(); } break; case BASEPROPERTY_CURSYM_POSITION: |