diff options
author | Michael Brauer <mib@openoffice.org> | 2000-10-27 12:52:45 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2000-10-27 12:52:45 +0000 |
commit | b43194dd8fe221893dd2a2a81e94a10077063201 (patch) | |
tree | 068f0b0a9e40cc0fc154a171e8285ff846a5f4b4 | |
parent | 527728d8ebc757dce395acccad4c29f5ec00c288 (diff) |
#79648#: Conversion to twip for crop property
-rw-r--r-- | sw/source/core/unocore/unoframe.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 82c2abf76eb5..63e157c640b6 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.5 $ + * $Revision: 1.6 $ * - * last change: $Author: os $ $Date: 2000-10-24 14:26:56 $ + * last change: $Author: mib $ $Date: 2000-10-27 13:52:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -831,10 +831,10 @@ sal_Bool SwGraphicProperties_Impl::AnyToItemSet( rGrSet.Put(aMirror); } uno::Any* pCrop; - if(GetProperty(C2S(UNO_NAME_GRAPHIC_CROP), pCrop)) + if(GetProperty(C2S(UNO_NAME_GRAPHIC_CROP), pCrop )) { SwCropGrf aCrop; - bRet &= ((SfxPoolItem&)aCrop).PutValue(*pCrop); + bRet &= ((SfxPoolItem&)aCrop).PutValue(*pCrop, CONVERT_TWIPS); rGrSet.Put(aCrop); } return bRet; @@ -2625,6 +2625,9 @@ sal_uInt16 SwXOLEListener::FindEntry( const EventObject& rEvent,SwOLENode** ppNd /*------------------------------------------------------------------------ $Log: not supported by cvs2svn $ + Revision 1.5 2000/10/24 14:26:56 os + #79738# new graphic property: ContourPolyPolygon + Revision 1.4 2000/10/24 10:11:48 os graphic mirror properties changed |