diff options
author | Armin Weiss <aw@openoffice.org> | 2001-01-26 13:14:13 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2001-01-26 13:14:13 +0000 |
commit | f278c9af68ab9f4251e950caf288e7f96e3cac6b (patch) | |
tree | e6f3d9f019cef6299f152f56bc8774f928fce879 /sd/source/ui/view/drviewsi.cxx | |
parent | #81986# now setting the last view (slideview, handout, slidesorter...) (diff) | |
download | core-f278c9af68ab9f4251e950caf288e7f96e3cac6b.tar.gz core-f278c9af68ab9f4251e950caf288e7f96e3cac6b.zip |
ITEMSET: Further ItemSet changes to allow blocking of setting items and
to allow editing or replacing the item before it is set.
Diffstat (limited to 'sd/source/ui/view/drviewsi.cxx')
-rw-r--r-- | sd/source/ui/view/drviewsi.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviewsi.cxx b/sd/source/ui/view/drviewsi.cxx index 1fd2f24c69e2..20ac88377a84 100644 --- a/sd/source/ui/view/drviewsi.cxx +++ b/sd/source/ui/view/drviewsi.cxx @@ -2,9 +2,9 @@ * * $RCSfile: drviewsi.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: aw $ $Date: 2001-01-12 16:38:23 $ + * last change: $Author: aw $ $Date: 2001-01-26 14:14:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1245,6 +1245,13 @@ void SdDrawViewShell::AssignFrom3DWindow() XFillStyle eFillStyle = ITEMVALUE( aSet, XATTR_FILLSTYLE, XFillStyleItem ); if(eFillStyle == XFILL_NONE) aSet.Put(XFillStyleItem (XFILL_SOLID)); + + // remove some 3DSCENE attributes since these were + // created by convert to 3D and may not be changed + // to the defaults again. + aSet.ClearItem(SDRATTR_3DSCENE_DISTANCE); + aSet.ClearItem(SDRATTR_3DSCENE_FOCAL_LENGTH); + aSet.ClearItem(SDRATTR_3DOBJ_DEPTH); } // Attribute zuweisen |