/io/source/

pia/zeta-7-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/FirstSteps/FirstLoadComponent/cxx
AgeCommit message (Collapse)Author
2024-03-13Use UNO_QUERY_THROW instead of UNO_QUERYHossein
Previously, in SDK examples, de-referencing was done unconditionally after obtaining a reference using UNO_QUERY. Now, we use UNO_QUERY_THROW instead, to make sure cases where exceptions may occure can be handled correctly. Change-Id: Ic73ba3cfcad914dabb7ae3736ad1ae2bd6cc15bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164682 Tested-by: Hossein <hossein@libreoffice.org> Reviewed-by: Hossein <hossein@libreoffice.org>
2023-11-21Cleanup make files for Java/C++ SDK examplesHossein
This fixes some minor issues with the make files for Java/C++ SDK examples in DevelopersGuide/FirstSteps. For Java examples, an exatra "-f Example_Java.mk" was a leftover from a previous change. For C++ examples, 'make clean' was not working correctly, because of a leftover from a previous change. Both should be fixed now. Change-Id: Id936824675a9bfd43674ca526bc97a998ed9daf8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159777 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2023-11-21tdf#143122 Port FirstLoadComponent example to C++Hossein
Port DevelopersGuide/FirstSteps/FirstLoadComponent Java SDK example to C++ and add a GNU Makefile for the build. Change-Id: I24da0422014e42f844cae21863d54301dd902f0e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159740 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>