summaryrefslogtreecommitdiff
path: root/fpicker/source/office/iodlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/office/iodlg.cxx')
-rw-r--r--fpicker/source/office/iodlg.cxx6
1 files changed, 3 insertions, 3 deletions
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);