summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/qa/unit/tiledrendering.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/qa/unit/tiledrendering.cxx b/libreofficekit/qa/unit/tiledrendering.cxx
index 7d605e7a5839..d0c128fb3a34 100644
--- a/libreofficekit/qa/unit/tiledrendering.cxx
+++ b/libreofficekit/qa/unit/tiledrendering.cxx
@@ -270,7 +270,7 @@ void TiledRenderingTest::testDocumentLoadLanguage(Office* pOffice)
OString aResult = pDocument->getTextSelection("text/plain;charset=utf-8");
CPPUNIT_ASSERT_EQUAL(OString("3\n"), aResult);
- pDocument.reset(nullptr);
+ pDocument.reset();
// FIXME: LOK will fail when trying to open a locked file
remove(sLockFile.c_str());