diff options
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKit.hxx | 2 | ||||
-rw-r--r-- | libreofficekit/qa/tilebench/tilebench.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index 47983e68fa27..64aac1b361c5 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -188,7 +188,7 @@ public: * * @param nWindowid */ - void postWindow(unsigned nWindowId, int nAction, const char* pData) + void postWindow(unsigned nWindowId, int nAction, const char* pData = nullptr) { return mpDoc->pClass->postWindow(mpDoc, nWindowId, nAction, pData); } diff --git a/libreofficekit/qa/tilebench/tilebench.cxx b/libreofficekit/qa/tilebench/tilebench.cxx index d0fc87283d35..61d337f6c518 100644 --- a/libreofficekit/qa/tilebench/tilebench.cxx +++ b/libreofficekit/qa/tilebench/tilebench.cxx @@ -286,7 +286,7 @@ static void testDialog( Document *pDocument, const char *uno_cmd ) } aTimes.emplace_back("post close dialog"); - pDocument->postWindow(nDialogId, LOK_WINDOW_CLOSE, nullptr); + pDocument->postWindow(nDialogId, LOK_WINDOW_CLOSE); aTimes.emplace_back(); pDocument->destroyView(view); |