https://bugs.documentfoundation.org/show_bug.cgi?id=96246
Bug ID: 96246
Summary: Incorrect annotation for lok_doc_view_open_document()
Product: LibreOffice
Version: 5.1.0.0.beta1
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: sdk
Assignee: [email protected]
Reporter: [email protected]
In:
https://raw.githubusercontent.com/LibreOffice/core/master/include/LibreOfficeKit/LibreOfficeKitGtk.h
you'll see those annotations for the open_document() method:
/**
* lok_doc_view_open_document:
* @pDocView: The #LOKDocView instance
* @pPath: (transfer full): The path of the document that #LOKDocView widget
should try to open
* @pRenderingArguments: lok::Document::initializeForRendering() arguments.
But passing "null" (in JavaScript") for pRenderingArguments fails, as it
expects a valid (non-null) utf-8 string instead.
The pRenderingArguments line should read:
* @pRenderingArguments: (nullable): lok::Document::initializeForRendering()
arguments.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs