[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sw/source
Oliver-Rainer Wittmann
orw at apache.org
Wed Jun 11 04:50:59 PDT 2014
sw/source/core/unocore/unoframe.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 49940766a52f5eccb1d5f4392304a9437bad0c49
Author: Oliver-Rainer Wittmann <orw at apache.org>
Date: Tue Jun 10 14:49:06 2014 +0000
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
(cherry picked from commit 3a72f4ba07458ee9c4c726486304f31900d89044)
Reviewed-on: https://gerrit.libreoffice.org/9736
Reviewed-by: Michael Stahl <mstahl at redhat.com>
Tested-by: Michael Stahl <mstahl at redhat.com>
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index e2093aa..c7f0a44 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -693,6 +693,7 @@ bool SwGraphicProperties_Impl::AnyToItemSet(
{
OUString sStyle;
*pStyleName >>= sStyle;
+ SwStyleNameMapper::FillUIName(sStyle, sStyle, nsSwGetPoolIdFromName::GET_POOLID_FRMFMT, true);
pStyle = (SwDocStyleSheet*)pDoc->GetDocShell()->GetStyleSheetPool()->Find(sStyle,
SFX_STYLE_FAMILY_FRAME);
}
More information about the Libreoffice-commits
mailing list