Kaydet (Commit) e4b0ce88 authored tarafından Joel Madero's avatar Joel Madero Kaydeden (comit) Lionel Elie Mamane

fdo#53001 disable unlink graphics in image control dialog in base report builder

Embedding graphics in a report builder report is not implemented,
so do not propose it to the user.
It already was not proposed the dialog raised by
"Insert->Picture->From File"
This commit disables embedding the UI when selecting
an image for an already existing Graphic control
(as opposed to inserting a new graphic control).

Change-Id: I107bc59bef8bb29a75140542cc5c2779a37ed113
Signed-off-by: 's avatarLionel Elie Mamane <lionel@mamane.lu>
üst 86a60b36
......@@ -2786,7 +2786,7 @@ namespace pcr
// non-linked images ( e.g. those located in the document
// stream ) only if document is available
Reference< XModel > xModel( impl_getContextDocument_nothrow() );
bool bHandleNonLink = xModel.is();
bool bHandleNonLink = false;
Reference< XFilePickerControlAccess > xController(aFileDlg.GetFilePicker(), UNO_QUERY);
DBG_ASSERT(xController.is(), "FormComponentPropertyHandler::impl_browseForImage_nothrow: missing the controller interface on the file picker!");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment