fdo#46808 - [Easy Hack] Adapt UNO services to new-style
Michael Stahl
mstahl at redhat.com
Thu Mar 22 05:32:00 PDT 2012
On 22/03/12 13:11, Noel Grandin wrote:
> Hi
>
> Diff attached.
>
> OK, I've switched to using the new simplest example,
> CachedDynamicResultSetStubFactory, and I've got "make offapi" working.
by the way in case you have to change the reference type RDB it would be
neat to put in the exact error message from the compare tool for your
change into the commit message (the binary blob is impossible to review).
> However, converting the only usage I can find, in resultsethelper.cxx,
> results in the compiler not finding the correct header file.
>
> I think I need to modify some part of the build to copy header files
> around, because CachedDynamicResultSetStubFactory.hpp is only found in:
> But I have no idea where to start. Any ideas?
ah yes, that's because for new-style services a header is created, while
for old-style services that is not the case (the IDL file for these is
really pure documentation).
you need to adapt the UnoApiTarget makefile, and move the file you
changed from the gb_UnoApiTarget_add_idlfiles_noheader where it is
currently listed to a gb_UnoApiTarget_add_idlfiles_nohdl list for the
same directory (create the latter if it doesn't exist yet).
More information about the LibreOffice
mailing list