From d7ebade74f407930b4e2511230487d5e375ac1a4 Mon Sep 17 00:00:00 2001 From: Mathias Bauer Date: Mon, 18 Jun 2001 09:19:57 +0000 Subject: TF_SVDATA --- sfx2/source/inet/inettbc.cxx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'sfx2/source/inet/inettbc.cxx') diff --git a/sfx2/source/inet/inettbc.cxx b/sfx2/source/inet/inettbc.cxx index bb335f0507ad..032e15e9d82e 100644 --- a/sfx2/source/inet/inettbc.cxx +++ b/sfx2/source/inet/inettbc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: inettbc.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: mba $ $Date: 2001-06-14 11:30:19 $ + * last change: $Author: mba $ $Date: 2001-06-18 10:18:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -617,7 +617,7 @@ SfxURLBox::SfxURLBox( Window* pParent, INetProtocol eSmart ) pImp->pCompletions = NULL; SetHelpId( SID_OPENURL ); EnableAutocomplete( FALSE ); - EnableDrop(); +// EnableDrop(); if ( GetDesktopRectPixel().GetWidth() > 800 ) SetSizePixel( Size( 300, 240 ) ); else @@ -643,7 +643,7 @@ SfxURLBox::SfxURLBox( Window* pParent, const ResId& _rResId, INetProtocol eSmart pImp->pCompletions = NULL; SetHelpId( SID_OPENURL ); EnableAutocomplete( FALSE ); - EnableDrop(); +// EnableDrop(); // no automatic sizing if loaded from a resource (the size should be specified therein) SetText( String() ); @@ -691,19 +691,21 @@ void SfxURLBox::UpdatePicklistForSmartProtocol_Impl() } // ************************************************************************** - +#ifndef TF_SVDATA BOOL SfxURLBox::QueryDrop( DropEvent &rEvt ) { - return SFX_APP()->QueryDrop( rEvt ); +// return SFX_APP()->QueryDrop( rEvt ); + return FALSE; } // ************************************************************************** BOOL SfxURLBox::Drop( const DropEvent &rEvt ) { - return SFX_APP()->Drop( (DropEvent&) rEvt ); +// return SFX_APP()->Drop( (DropEvent&) rEvt ); + return FALSE; } - +#endif // ************************************************************************** void SfxURLBox::OpenURL( const String& rName, BOOL bNew ) const -- cgit