diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-03 16:01:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-06 05:59:56 +0000 |
commit | aadf790bbceb1cde94c2a6fe8edfb9951edca0a0 (patch) | |
tree | f48bea8591e2def6579c5095989ea425211a0063 /reportdesign | |
parent | 6b58caf0597fed21c78fd806e5f2cef6fc43c502 (diff) |
remove some unnecessary use of OUString constructor
found with
git grep -nP '<<= OUString\(\w*[A-Za-z]+'
Change-Id: I43354842f1e0418fb292f2e8e0cb30f1229d1c67
Reviewed-on: https://gerrit.libreoffice.org/34864
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/report/ReportController.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index 3fdf00a39a6d..dcb41e3b9512 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -3026,7 +3026,7 @@ void OReportController::insertGraphic() xController->getValue( ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_LINK, 0) >>= bLink; uno::Sequence<beans::PropertyValue> aArgs(2); aArgs[0].Name = PROPERTY_IMAGEURL; - aArgs[0].Value <<= OUString(aDialog.GetPath()); + aArgs[0].Value <<= aDialog.GetPath(); aArgs[1].Name = PROPERTY_PRESERVEIRI; aArgs[1].Value <<= bLink; createControl(aArgs,xSection,OUString(),OBJ_DLG_IMAGECONTROL); |