fdo#75757: remove inheritance to std::vector

Change-Id: I04a5832c86823718146c78238ea648be21bf1f53
Reviewed-on: https://gerrit.libreoffice.org/10811
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>