summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-12-13 11:27:01 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-12-13 11:27:01 +0000
commitb029d44d79a21c4258198c6f2592ecc00b681f06 (patch)
treebba2f03fcc1b7cf6853e735dba8640bc93d7a5a4 /framework
parentbbb455a88ad7d48ae18638969969d898f095c1f8 (diff)
INTEGRATION: CWS ineturl1 (1.4.18); FILE MERGED
2004/10/28 12:55:11 cmc 1.4.18.1: #i34006# update to SRC680_m58
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/generictoolbarcontroller.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uielement/generictoolbarcontroller.cxx b/framework/source/uielement/generictoolbarcontroller.cxx
index a832c531ac9b..7224cde92150 100644
--- a/framework/source/uielement/generictoolbarcontroller.cxx
+++ b/framework/source/uielement/generictoolbarcontroller.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: generictoolbarcontroller.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: obo $ $Date: 2004-11-17 12:54:10 $
+ * last change: $Author: hr $ $Date: 2004-12-13 12:27:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -129,7 +129,7 @@ static sal_Bool isEnumCommand( const rtl::OUString& rCommand )
INetURLObject aURL( rCommand );
if (( aURL.GetProtocol() == INET_PROT_UNO ) &&
- ( aURL.GetURLPath().Search( '.' ) != STRING_NOTFOUND ))
+ ( aURL.GetURLPath().indexOf( '.' ) != -1))
return sal_True;
return sal_False;