[Libreoffice-commits] .: Branch 'libreoffice-3-6' - extensions/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Aug 23 05:47:18 PDT 2012
extensions/source/propctrlr/formcomponenthandler.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 95cedcc822ec1faa88f74771e3d435da926850d4
Author: Joel Madero <jmadero.dev at gmail.com>
Date: Tue Aug 21 12:14:34 2012 -0700
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 at mamane.lu>
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index 4d13636..82baa8c 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -2788,7 +2788,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!");
More information about the Libreoffice-commits
mailing list