diff options
author | th <th@openoffice.org> | 2001-05-11 09:26:36 +0000 |
---|---|---|
committer | th <th@openoffice.org> | 2001-05-11 09:26:36 +0000 |
commit | 225c28f735fd7d310b2466c0c4d0bea5d0853576 (patch) | |
tree | f7d7dd18fb620de5c15ad15ae9b5644df7b20385 | |
parent | 4c8300e4d81ae2a79c2d0679d70c04a06bd52ee1 (diff) |
rtl-string-changes
-rw-r--r-- | extensions/source/bibliography/bibload.cxx | 10 | ||||
-rw-r--r-- | extensions/source/bibliography/datman.cxx | 10 | ||||
-rw-r--r-- | extensions/source/bibliography/framectr.cxx | 10 | ||||
-rw-r--r-- | extensions/source/bibliography/toolbar.cxx | 6 | ||||
-rw-r--r-- | extensions/source/plugin/base/xplugin.cxx | 14 |
5 files changed, 25 insertions, 25 deletions
diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index 4e7364487d6b..5517df0e0589 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -2,9 +2,9 @@ * * $RCSfile: bibload.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: os $ $Date: 2001-04-05 15:46:20 $ + * last change: $Author: th $ $Date: 2001-05-11 10:24:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -641,7 +641,7 @@ rtl::OUString lcl_AddProperty(Reference< container::XNameAccess > xColumns, { if(pMapping->aColumnPairs[nEntry].sLogicalColumnName == OUString(rColumnName)) { - sColumnName = pMapping->aColumnPairs[nEntry].sRealColumnName; + sColumnName = pMapping->aColumnPairs[nEntry].sRealColumnName; break; } } @@ -728,7 +728,7 @@ Sequence< rtl::OUString > BibliographyLoader::getElementNames(void) throw ( Runt do { rtl::OUString sTemp = xIdColumn->getString(); - if (sTemp.len() && !xIdColumn->wasNull()) + if (sTemp.getLength() && !xIdColumn->wasNull()) { int nLen = aRet.getLength(); if (nLen = nRealNameCount) @@ -819,7 +819,7 @@ Reference< XPropertySetInfo > BibliographyLoader::getPropertySetInfo(void) thro void BibliographyLoader::setPropertyValue(const rtl::OUString& PropertyName, const Any& aValue) throw( UnknownPropertyException, PropertyVetoException, - IllegalArgumentException, WrappedTargetException, RuntimeException) + IllegalArgumentException, WrappedTargetException, RuntimeException) { throw UnknownPropertyException(); //no changeable properties diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index bf9f2cecd289..8bba8debba6d 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -2,9 +2,9 @@ * * $RCSfile: datman.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: os $ $Date: 2001-05-04 13:57:24 $ + * last change: $Author: th $ $Date: 2001-05-11 10:25:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1195,7 +1195,7 @@ void BibDataManager::startQueryWith(const OUString& rQuery) pConfig->setQueryText( rQuery ); rtl::OUString aQueryString; - if(rQuery.len()>0) + if(rQuery.getLength()>0) { aQueryString=aQuoteChar; aQueryString+=getQueryField(); @@ -1636,7 +1636,7 @@ try } } - if(theFieldName.len()>0) + if(theFieldName.getLength()>0) { Reference< XPropertySet > xPropSet; Any aElement; @@ -1685,7 +1685,7 @@ try } } - if(theFieldName.len()>0) + if(theFieldName.getLength()>0) { Reference< XPropertySet > xPropSet; Any aElement; diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index 85e7aee50d7b..91bb3f8e6dbe 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: framectr.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: os $ $Date: 2001-04-05 15:49:29 $ + * last change: $Author: th $ $Date: 2001-05-11 10:26:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -277,7 +277,7 @@ void BibFrameController_Impl::dispose() pImp->aLC.disposeAndClear(aObject); xDatman = 0; pDatMan = 0; - aStatusListeners.DeleteAndDestroy( 0, aStatusListeners.Count() ); + aStatusListeners.DeleteAndDestroy( 0, aStatusListeners.Count() ); } void BibFrameController_Impl::addEventListener( const uno::Reference< lang::XEventListener > & aListener ) @@ -467,7 +467,7 @@ void BibFrameController_Impl::addStatusListener( rtl::OUString aFilterStr=pDatMan->getFilter(); FeatureStateEvent aEvent; aEvent.FeatureURL = aURL; - aEvent.IsEnabled = (aFilterStr.len() > 0); + aEvent.IsEnabled = (aFilterStr.getLength() > 0); aEvent.Requery = sal_False; aEvent.Source = (XDispatch *) this; aListener->statusChanged( aEvent ); @@ -498,7 +498,7 @@ void BibFrameController_Impl::removeStatusListener( BibStatusDispatch *pObj = aStatusListeners[n]; sal_Bool bFlag=pObj->xListener.is(); if (!bFlag || (pObj->xListener == aObject && - ( !aURL.Complete.len() || pObj->aURL.Path == aURL.Path ))) + ( !aURL.Complete.getLength() || pObj->aURL.Path == aURL.Path ))) { aStatusListeners.DeleteAndDestroy( n ); break; diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx index d764335fa2f2..3d3ca857c653 100644 --- a/extensions/source/bibliography/toolbar.cxx +++ b/extensions/source/bibliography/toolbar.cxx @@ -2,9 +2,9 @@ * * $RCSfile: toolbar.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: os $ $Date: 2000-11-20 12:23:38 $ + * last change: $Author: th $ $Date: 2001-05-11 10:26:36 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -381,7 +381,7 @@ void BibToolBar::SendDispatch(sal_uInt16 nId, const Sequence< PropertyValue >& r uno::Reference< frame::XDispatchProvider > xDSP( xController, UNO_QUERY ); - if( xDSP.is() && aCommand.len()) + if( xDSP.is() && aCommand.getLength()) { uno::Reference< lang::XMultiServiceFactory > xMgr = comphelper::getProcessServiceFactory(); diff --git a/extensions/source/plugin/base/xplugin.cxx b/extensions/source/plugin/base/xplugin.cxx index 1493e05495a4..429f9ce5028b 100644 --- a/extensions/source/plugin/base/xplugin.cxx +++ b/extensions/source/plugin/base/xplugin.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xplugin.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hr $ $Date: 2000-12-08 12:12:54 $ + * last change: $Author: th $ $Date: 2001-05-11 10:22:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -339,12 +339,12 @@ void XPlugin_Impl::modelChanged() ::rtl::OUString aURL = getCreationURL(); int nPos = aURL.lastIndexOf( (sal_Unicode)'.' ); - ::rtl::OUString aExt = aURL.copy( nPos ).toLowerCase(); + ::rtl::OUString aExt = aURL.copy( nPos ).toAsciiLowerCase(); if( nPos != -1 ) { for( int i = 0; i < aDescrs.getLength(); i++ ) { - ::rtl::OUString aThisExt = pDescrs[ i ].Extension.toLowerCase(); + ::rtl::OUString aThisExt = pDescrs[ i ].Extension.toAsciiLowerCase(); if( aThisExt.indexOf( aExt ) != -1 ) { nDescr = i; @@ -541,7 +541,7 @@ sal_Bool XPlugin_Impl::provideNewStream(const ::rtl::OUString& mimetype, loadPlugin(); ::rtl::OString aMIME; - if( mimetype.len() ) + if( mimetype.getLength() ) aMIME = ::rtl::OUStringToOString( mimetype, m_aEncoding ); else // Notnagel @@ -884,8 +884,8 @@ void PluginInputStream::writeBytes( const Sequence<sal_Int8>& Buffer ) } m_pPlugin->getPluginComm()-> - NPP_SetWindow( m_pPlugin->getNPPInstance(), - m_pPlugin->getNPWindow()); + NPP_SetWindow( m_pPlugin->getNPPInstance(), + m_pPlugin->getNPWindow()); } void PluginInputStream::closeOutput() |