fix fdo#40073 : look for translated frame styles

LO was looking for untranslated frame styles,
while at this step, the style list contains only the
translated ones.

Change-Id: I36173fc871582f974184fc95bb4d1a82cd3de783
Reviewed-on: https://gerrit.libreoffice.org/9683
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit 6f6673c5d1b4e6ea4982621f2817eb5d5dc10377)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit dc59f010248fbb95d7a67ccb914e86c457dcea3a)
Reviewed-on: https://gerrit.libreoffice.org/9692
Reviewed-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>