diff options
author | Mathias Bauer <mba@openoffice.org> | 2001-06-08 07:52:09 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2001-06-08 07:52:09 +0000 |
commit | 56ffd2bc85805ad920546bd946abda3eb3e675a1 (patch) | |
tree | 039d998aef68a8b766b235e135cbd99cdbe335a7 /sfx2/source/inet/inettbc.cxx | |
parent | c3764d30500535eb0844ce5d4dad3275ad466656 (diff) |
#86636#: don't autocomplete URLs with wildcards in GetURL
Diffstat (limited to 'sfx2/source/inet/inettbc.cxx')
-rw-r--r-- | sfx2/source/inet/inettbc.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sfx2/source/inet/inettbc.cxx b/sfx2/source/inet/inettbc.cxx index 46c8fb31e56a..5b2b156aa9e4 100644 --- a/sfx2/source/inet/inettbc.cxx +++ b/sfx2/source/inet/inettbc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: inettbc.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: mba $ $Date: 2001-05-21 12:22:43 $ + * last change: $Author: mba $ $Date: 2001-06-08 08:52:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1008,6 +1008,10 @@ String SfxURLBox::GetURL() } INetURLObject aObj( aText ); + if( aText.Search( '*' ) != STRING_NOTFOUND || aText.Search( '?' ) != STRING_NOTFOUND ) + // no autocompletion for wildcards + return aObj.GetMainURL(); + if ( aObj.GetProtocol() == INET_PROT_NOT_VALID ) { String aName = ParseSmart( GetText(), aBaseURL, SvtPathOptions().GetWorkPath() ); |