Created private functions to avoid duplicated code in Document

2 jobs for !28 with gsoc2019_focusAction in 13 minutes and 50 seconds (queued for 5 seconds)
latest detached
Status Job ID Name Coverage
  Build
passed #15751
build_ubuntu_18_04

00:08:28

passed #15750
linux kf5-qt5 qt5.12

00:13:50

40.0%