Cleanup DocumentLoader C++ SDK example

* Remove unncessary C-style cast from DocumentLoader.cxx
* Remove trailing whitespaces from Makefile

Change-Id: I7cff589353d3e40301cf45ce0a76e0c75beddf13
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124115
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
Hossein
2021-10-24 16:03:58 +02:00
committed by Mike Kaganski
parent 39bffe9ba6
commit 4a8aed2940
2 changed files with 6 additions and 6 deletions

View File

@@ -62,7 +62,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
{
OUString sConnectionString("uno:socket,host=localhost,port=2083;urp;StarOffice.ServiceManager");
sal_Int32 nCount = (sal_Int32)rtl_getAppCommandArgCount();
sal_Int32 nCount = rtl_getAppCommandArgCount();
if (nCount < 1)
{