summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Madero <jmadero.dev@gmail.com>2012-08-21 12:14:34 -0700
committerLionel Elie Mamane <lionel@mamane.lu>2012-08-23 14:48:38 +0200
commite4b0ce8887a743d30a0107bc7b8f652b0e3b074c (patch)
treebab0e0cb1f4aee66f3adf3f221bf24a986bb5829
parent86a60b36552d5785a33bc9eed1e082bd5c54100f (diff)
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: Lionel Elie Mamane <lionel@mamane.lu>
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index f757ca79ed5f..813bd93ce98b 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -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!");