summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <orw@apache.org>2014-06-10 14:49:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-06-11 11:29:48 +0100
commit3a72f4ba07458ee9c4c726486304f31900d89044 (patch)
treedddab7d6fef1a7af013567e0057bb275d2281a18
parent0e7ca4fad0405200f12041ac11f3ac0289709a6f (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
-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 7e21aa03ddc4..58e46f323f0f 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -1019,6 +1019,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);
}