summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <orw@apache.org>2014-06-10 14:49:06 +0000
committerMichael Stahl <mstahl@redhat.com>2014-06-11 11:50:35 +0000
commit49940766a52f5eccb1d5f4392304a9437bad0c49 (patch)
treeb1c50261bb665c8ba5bf563d293929b2d4ad5abd /sw
parentf2ba5e290b6b751995427b7610ef75d67e674d75 (diff)
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@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unoframe.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index e2093aa7be3d..c7f0a4472582 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);
}