From 22c4461490fdafdb09ae61e0fa1d97e3b0e35c6f Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sun, 8 Jun 2014 22:28:18 +0200 Subject: 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 Tested-by: Michael Stahl (cherry picked from commit 6f6673c5d1b4e6ea4982621f2817eb5d5dc10377) Signed-off-by: Michael Stahl --- sw/source/core/unocore/unoframe.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sw') diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 6a15f4e7a2d5..de2d5d8549bd 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -943,6 +943,7 @@ bool SwFrameProperties_Impl::AnyToItemSet(SwDoc *pDoc, SfxItemSet& rSet, SfxItem { OUString sStyle; *pStyleName >>= sStyle; + SwStyleNameMapper::FillUIName(sStyle, sStyle, nsSwGetPoolIdFromName::GET_POOLID_FRMFMT, true); pStyle = (SwDocStyleSheet*)pDoc->GetDocShell()->GetStyleSheetPool()->Find(sStyle, SFX_STYLE_FAMILY_FRAME); } -- cgit v1.2.3