diff options
author | Philipp Lohmann <pl@openoffice.org> | 2001-05-14 08:08:00 +0000 |
---|---|---|
committer | Philipp Lohmann <pl@openoffice.org> | 2001-05-14 08:08:00 +0000 |
commit | b82cc20db0f51f496f366cb4e759092a6af8f849 (patch) | |
tree | ff5cfb51b6b5b17dc53fb6cf41c9d430a1776f4d | |
parent | 0bbb63915076b9413ab43e79e5b546ec3bd5e68e (diff) |
rtl string api changes
-rw-r--r-- | forms/source/component/Edit.cxx | 6 | ||||
-rw-r--r-- | forms/source/component/FormComponent.cxx | 6 | ||||
-rw-r--r-- | forms/source/component/ListBox.cxx | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx index e729ee9600c0..2e5f2c662e6a 100644 --- a/forms/source/component/Edit.cxx +++ b/forms/source/component/Edit.cxx @@ -2,9 +2,9 @@ * * $RCSfile: Edit.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: fs $ $Date: 2001-04-02 10:28:06 $ + * last change: $Author: pl $ $Date: 2001-05-14 09:08:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -611,7 +611,7 @@ sal_Bool OEditModel::_commit() m_xAggregateFastSet->getFastPropertyValue(OEditModel::nTextHandle) >>= sNewValue; if (sNewValue != m_aSaveValue) { - if (!sNewValue.len() && !m_bRequired && m_bEmptyIsNull) + if (!sNewValue.getLength() && !m_bRequired && m_bEmptyIsNull) m_xColumnUpdate->updateNull(); else { diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index 871274e38b66..34fa7ebded04 100644 --- a/forms/source/component/FormComponent.cxx +++ b/forms/source/component/FormComponent.cxx @@ -2,9 +2,9 @@ * * $RCSfile: FormComponent.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: fs $ $Date: 2001-04-26 12:36:04 $ + * last change: $Author: pl $ $Date: 2001-05-14 09:08:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -512,7 +512,7 @@ OControlModel::OControlModel( m_xAggregate = Reference<XAggregation>(_rxFactory->createInstance(_rUnoControlModelTypeName), UNO_QUERY); setAggregation(m_xAggregate); - if (m_xAggregateSet.is() && rDefault.len()) + if (m_xAggregateSet.is() && rDefault.getLength()) m_xAggregateSet->setPropertyValue(PROPERTY_DEFAULTCONTROL, makeAny(rDefault)); } diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index 1ddbc4824ad9..f4d6b6bf39ef 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ListBox.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: th $ $Date: 2001-05-11 09:46:00 $ + * last change: $Author: pl $ $Date: 2001-05-14 09:08:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -526,7 +526,7 @@ void SAL_CALL OListBoxModel::read(const Reference<stario::XObjectInputStream>& _ ::rtl::OUString sListSource; _rxInStream >> sListSource; - sal_int32 nTokens = 1; + sal_Int32 nTokens = 1; const sal_Unicode* pStr = sListSource.getStr(); while ( *pStr ) { |