diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-27 08:55:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-28 11:13:21 +0100 |
commit | de6f36cc2fb359332205ba836f8396a1cdbe44c2 (patch) | |
tree | a7b4dfcd77bffe4ca90c2f5763aa5ef9b20a5c39 /libreofficekit | |
parent | 1d39c5aa7bd6419060ed10d9fbdc2a643000f363 (diff) |
simplify reset(nullptr) -> reset()
Change-Id: Iec5e93d9c59dde44571376e46fb98ea854e16b6c
Reviewed-on: https://gerrit.libreoffice.org/69784
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/qa/unit/tiledrendering.cxx | 2 |
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()); |