[Libreoffice-commits] core.git: libreofficekit/qa

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Oct 5 18:39:57 UTC 2018


 libreofficekit/qa/tilebench/tilebench.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7f1c085e72f80f087c7077bd377d100ff06b7a3d
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Oct 5 21:29:45 2018 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Oct 5 21:29:45 2018 +0300

    s/0/nullptr/
    
    Change-Id: Id1b75435134da830130ebe725d86ad4e273d1f06

diff --git a/libreofficekit/qa/tilebench/tilebench.cxx b/libreofficekit/qa/tilebench/tilebench.cxx
index 0b999f2994c7..47d468f01773 100644
--- a/libreofficekit/qa/tilebench/tilebench.cxx
+++ b/libreofficekit/qa/tilebench/tilebench.cxx
@@ -390,7 +390,7 @@ int main( int argc, char* argv[] )
     if (pDocument)
     {
         pDocument->initializeForRendering("{\".uno:Author\":{\"type\":\"string\",\"value\":\"Local Host #0\"}}");
-        pDocument->registerCallback(documentCallback, 0);
+        pDocument->registerCallback(documentCallback, nullptr);
         if (!strcmp(mode, "--tile"))
         {
             const int max_parts = (argc > arg ? atoi(argv[arg++]) : -1);


More information about the Libreoffice-commits mailing list