diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2014-06-08 22:28:18 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 08:20:12 +0000 |
commit | f62c625c96bcff3694ceeeab989a4080f6d0982c (patch) | |
tree | c00b1ef9ccc5d27152ce0b2f524116366a9e4f4f | |
parent | 44f2556c13b128374c1f350977cc893e8c1a1e80 (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>
(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>
-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 43520a7a3007..e2093aa7be3d 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -616,6 +616,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); } |