sw/source/core/unocore/unoframe.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 22c4461490fdafdb09ae61e0fa1d97e3b0e35c6f
Author: Elie Roux <elie.r...@telecom-bretagne.eu>
Date:   Sun Jun 8 22:28:18 2014 +0200

    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 <mst...@redhat.com>
    Tested-by: Michael Stahl <mst...@redhat.com>
    (cherry picked from commit 6f6673c5d1b4e6ea4982621f2817eb5d5dc10377)
    Signed-off-by: Michael Stahl <mst...@redhat.com>

diff --git a/sw/source/core/unocore/unoframe.cxx 
b/sw/source/core/unocore/unoframe.cxx
index 6a15f4e..de2d5d8 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);
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to