gridwin.cxx (a206ee71) gridwin.cxx (52f1c2ee)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 4269 unchanged lines hidden (view full) ---

4278 }
4279 }
4280
4281 ScDocument* pThisDoc = pViewData->GetDocument();
4282 SdrObject* pHitObj = pThisDoc->GetObjectAtPoint( pViewData->GetTabNo(), PixelToLogic(aPos) );
4283 if ( pHitObj && bIsLink )
4284 {
4285 // dropped on drawing object
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 4269 unchanged lines hidden (view full) ---

4278 }
4279 }
4280
4281 ScDocument* pThisDoc = pViewData->GetDocument();
4282 SdrObject* pHitObj = pThisDoc->GetObjectAtPoint( pViewData->GetTabNo(), PixelToLogic(aPos) );
4283 if ( pHitObj && bIsLink )
4284 {
4285 // dropped on drawing object
4286 // PasteOnDrawObject checks for valid formats
4287 if ( pViewData->GetView()->PasteOnDrawObject( rEvt.maDropEvent.Transferable, pHitObj, sal_True ) )
4286 // PasteOnDrawObjectLinked checks for valid formats
4287 if ( pViewData->GetView()->PasteOnDrawObjectLinked( rEvt.maDropEvent.Transferable, *pHitObj ) )
4288 return rEvt.mnAction;
4289 }
4290
4291 sal_Bool bDone = sal_False;
4292
4293 sal_uLong nFormatId = bIsLink ?
4294 lcl_GetDropLinkId( rEvt.maDropEvent.Transferable ) :
4295 lcl_GetDropFormatId( rEvt.maDropEvent.Transferable );

--- 1501 unchanged lines hidden ---
4288 return rEvt.mnAction;
4289 }
4290
4291 sal_Bool bDone = sal_False;
4292
4293 sal_uLong nFormatId = bIsLink ?
4294 lcl_GetDropLinkId( rEvt.maDropEvent.Transferable ) :
4295 lcl_GetDropFormatId( rEvt.maDropEvent.Transferable );

--- 1501 unchanged lines hidden ---