aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-1.1-devel/files/patch-sch_setLogicRectHack
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2004-05-15 15:49:17 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2004-05-15 15:49:17 +0000
commit6f316ce2e89f972a4f22e1b97e1dda5e9d58cefa (patch)
treefb8d61358190cc429db453d54fb9920ccfde716f /editors/openoffice.org-1.1-devel/files/patch-sch_setLogicRectHack
parentea16706c62b542adc8f3b887256bf215bf914db6 (diff)
downloadports-release/4.10.0.tar.gz
ports-release/4.10.0.zip
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_10_0'.release/4.10.0
Diffstat (limited to 'editors/openoffice.org-1.1-devel/files/patch-sch_setLogicRectHack')
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-sch_setLogicRectHack67
1 files changed, 0 insertions, 67 deletions
diff --git a/editors/openoffice.org-1.1-devel/files/patch-sch_setLogicRectHack b/editors/openoffice.org-1.1-devel/files/patch-sch_setLogicRectHack
deleted file mode 100644
index 34b26e9cfc39..000000000000
--- a/editors/openoffice.org-1.1-devel/files/patch-sch_setLogicRectHack
+++ /dev/null
@@ -1,67 +0,0 @@
---- ../sch/source/ui/unoidl/ChXChartObject.cxx 7 Aug 2002 16:01:42 -0000 1.34
-+++ ../sch/source/ui/unoidl/ChXChartObject.cxx 20 Feb 2004 00:43:10 -0000
-@@ -161,9 +161,11 @@
- // XShape
-
- // the following 'Hack' methods are copied from svx/unodraw/unoshape.cxx
--// they are needed as long as the drawing layer requires this
-+// they are needed as long as the drawing layer requires this. Must
-+// prefix these with 'sch' to make sure the symbols don't conflict with
-+// those in svx and cause Bad Things To Happen (TM) #i9462#
-
--sal_Bool needLogicRectHack( SdrObject* pObj )
-+static sal_Bool sch_needLogicRectHack( SdrObject* pObj )
- {
- if( pObj->GetObjInventor() == SdrInventor)
- {
-@@ -189,9 +191,9 @@
- return sal_False;
- }
-
--Rectangle getLogicRectHack( SdrObject* pObj )
-+static Rectangle sch_getLogicRectHack( SdrObject* pObj )
- {
-- if(needLogicRectHack(pObj))
-+ if(sch_needLogicRectHack(pObj))
- {
- return pObj->GetSnapRect();
- }
-@@ -201,9 +203,9 @@
- }
- }
-
--void setLogicRectHack( SdrObject* pObj, const Rectangle& rRect )
-+static void sch_setLogicRectHack( SdrObject* pObj, const Rectangle& rRect )
- {
-- if(needLogicRectHack(pObj))
-+ if(sch_needLogicRectHack(pObj))
- {
- pObj->SetSnapRect( rRect );
- }
-@@ -244,7 +246,7 @@
- SdrObject* pObj = GetCurrentSdrObject();
- if( pObj )
- {
-- Rectangle aRect( getLogicRectHack( pObj ));
-+ Rectangle aRect( sch_getLogicRectHack( pObj ));
- Point aPt( aRect.Left(), aRect.Top() );
-
- // Position is relative to anchor - calculate absoulte position
-@@ -277,7 +279,7 @@
- SdrObject* pObj = GetCurrentSdrObject();
- if( pObj )
- {
-- Rectangle aRect( getLogicRectHack( pObj ) );
-+ Rectangle aRect( sch_getLogicRectHack( pObj ) );
- Point aLocalPos( aPosition.X, aPosition.Y );
-
- // Position is absolute - position relative to anchor is required
-@@ -309,7 +311,7 @@
- SdrObject* pObj = GetCurrentSdrObject();
- if( pObj )
- {
-- Rectangle aRect( getLogicRectHack( pObj ));
-+ Rectangle aRect( sch_getLogicRectHack( pObj ));
- Size aObjSize( aRect.GetWidth(), aRect.GetHeight() );
- return awt::Size( aObjSize.getWidth(), aObjSize.getHeight() );
- }