Switch the parameter from a pointer to a reference. The only 2 callers in SfxChildWindow::CreateChildWindow always pass a non-null param. Using a reference makes clear that the param is always non-null, allows dropping some null checks and makes clear that those implementations previously unconditionally dereferencing the pointer were unproblematic. Change-Id: I6734dfe6fe4fa1cb6aa80f4e67eb69603e8d86fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208300 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Formula Editor Code for LibreOffice Writer
Good overview from the original developer:
http://www.mail-archive.com/dev@sw.openoffice.org/msg00200.html