summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoframe.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2000-12-09 13:49:18 +0000
committerOliver Specht <os@openoffice.org>2000-12-09 13:49:18 +0000
commit3e6e90048dc783c9472d5323c030ce5b08a1734d (patch)
treec338277753b83bc25b2ea172b472fda43a1878db /sw/source/core/unocore/unoframe.cxx
parentf55a1db1df7e7008c5bb228602e0d01b1eac60f4 (diff)
#81553# frame style applied in attachToRange
Diffstat (limited to 'sw/source/core/unocore/unoframe.cxx')
-rw-r--r--sw/source/core/unocore/unoframe.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index 142260670cbe..64da4c3680ef 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoframe.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: mib $ $Date: 2000-12-08 08:32:02 $
+ * last change: $Author: os $ $Date: 2000-12-09 14:49:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1910,6 +1910,9 @@ void SwXFrame::attachToRange(const uno::Reference< XTextRange > & xTextRange)
{
setPropertyValue(C2U(UNO_NAME_Z_ORDER), *pOrder);
}
+ uno::Any* pStyle;
+ if(pProps->GetProperty(C2S(UNO_NAME_FRAME_STYLE_NAME), pStyle))
+ setPropertyValue(C2U(UNO_NAME_FRAME_STYLE_NAME), *pStyle);
}
else