diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2014-06-08 22:28:18 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-06-09 12:19:38 +0200 |
commit | 22c4461490fdafdb09ae61e0fa1d97e3b0e35c6f (patch) | |
tree | 03b1259a0ea1426f43e557f0b97779669e2da4f5 /sw | |
parent | 23e31ecf0d91029ae9d732ead8f8dc34f9512414 (diff) |
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>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unoframe.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |