summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <thb@openoffice.org>2010-08-25 23:20:11 +0200
committerJan Holesovsky <kendy@suse.cz>2010-08-25 23:20:11 +0200
commitd0ac8f1e7866c637be15f081b59ef456aacb954a (patch)
treedebfc5a39fb32e3e01ecb120f166cbc3d38e88d7
parentdd5adf0cd9e1a39795c062f90e87cc60c7e51d34 (diff)
linkwarn-sd-no-dnd-links.diff: Do not link on drag and drop.
n#348149
Notes
Notes: split repo tag: impress_OOO_BUILD_3_2_98_0
-rwxr-xr-xsd/source/ui/view/sdview4.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sd/source/ui/view/sdview4.cxx b/sd/source/ui/view/sdview4.cxx
index 9fbe223c276a..70f276227899 100755
--- a/sd/source/ui/view/sdview4.cxx
+++ b/sd/source/ui/view/sdview4.cxx
@@ -395,12 +395,8 @@ IMPL_LINK( View, DropInsertFileHdl, Timer*, EMPTYARG )
if( !pGraphicFilter->ImportGraphic( aGraphic, aURL ) )
{
sal_Int8 nTempAction = ( aIter == maDropFileVector.begin() ) ? mnAction : 0;
- const bool bLink = ( ( nTempAction & DND_ACTION_LINK ) != 0 );
SdrGrafObj* pGrafObj = InsertGraphic( aGraphic, nTempAction, maDropPos, NULL, NULL );
- if( pGrafObj && bLink )
- pGrafObj->SetGraphicLink( aCurrentDropFile, String() );
-
// return action from first inserted graphic
if( aIter == maDropFileVector.begin() )
mnAction = nTempAction;