Related: #i125072# map given style name to corresponding UI name...

before searching for it.

(cherry picked from commit 4a76d7f700da112a553ec9d9811731e645581a7f)

Conflicts:
	sw/source/core/unocore/unoframe.cxx

Change-Id: I294bd7f21ec0acee0f7b8e7be067e04b5a785e43