diff options
-rw-r--r-- | fpicker/source/office/OfficeControlAccess.cxx | 4 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx index fbecfc328921..9f2f0f70813d 100644 --- a/fpicker/source/office/OfficeControlAccess.cxx +++ b/fpicker/source/office/OfficeControlAccess.cxx @@ -416,7 +416,7 @@ namespace svt case LISTBOX_FILTER: if ( ControlActions::GET_SELECTED_ITEM == _nControlAction ) { - aRet <<= OUString( m_pFilePickerController->getCurFilter() ); + aRet <<= m_pFilePickerController->getCurFilter(); } else { @@ -690,7 +690,7 @@ namespace svt switch ( _nProperty ) { case PropFlags::Text: - aReturn <<= OUString( _pControl->GetText() ); + aReturn <<= _pControl->GetText(); break; case PropFlags::Enabled: diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index 2f0e5225906e..21195cda7b8f 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -1268,7 +1268,7 @@ IMPL_LINK_NOARG ( SvtFileDialog, AddPlacePressed_Hdl, Button*, void ) INetURLObject aURLObj( _pFileView->GetViewURL() ); PlacePtr newPlace( new Place( aURLObj.GetLastName(INetURLObject::DecodeMechanism::WithCharset), - OUString(_pFileView->GetViewURL()), true)); + _pFileView->GetViewURL(), true)); pImpl->_pPlaces->AppendPlace(newPlace); } @@ -1800,8 +1800,8 @@ short SvtFileDialog::PrepareExecute() try { INetURLObject aStdDir( GetStandardDir() ); - ::ucbhelper::Content aCnt( OUString( aStdDir.GetMainURL( - INetURLObject::DecodeMechanism::NONE ) ), + ::ucbhelper::Content aCnt( aStdDir.GetMainURL( + INetURLObject::DecodeMechanism::NONE ), Reference< XCommandEnvironment >(), comphelper::getProcessComponentContext() ); Sequence< OUString > aProps(2); |