From df0b31641237470028437efd959c355dc0f32953 Mon Sep 17 00:00:00 2001 From: Carsten Driesner Date: Thu, 13 Jan 2011 11:41:05 +0100 Subject: removetooltypes01: #i112600# Exchange misleading sal_uIntPtr with sal_uLong in accessibility --- .../extended/accessibleiconchoicectrlentry.hxx | 2 +- .../extended/textwindowaccessibility.hxx | 2 +- .../source/extended/accessibleiconchoicectrl.cxx | 2 +- .../extended/accessibleiconchoicectrlentry.cxx | 2 +- .../source/extended/accessibletablistboxtable.cxx | 2 +- .../source/extended/textwindowaccessibility.cxx | 48 +++++++++++----------- .../standard/accessiblemenuitemcomponent.cxx | 2 +- 7 files changed, 30 insertions(+), 30 deletions(-) (limited to 'accessibility') diff --git a/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx b/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx index 06dbd20f665a..ccea420a1cff 100644 --- a/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx +++ b/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx @@ -128,7 +128,7 @@ namespace accessibility is our parent accessible object */ AccessibleIconChoiceCtrlEntry( SvtIconChoiceCtrl& _rIconCtrl, - sal_uIntPtr _nPos, + sal_uLong _nPos, const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& _xParent ); // XTypeProvider diff --git a/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx b/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx index f8da1321586a..be6cffc22e8b 100644 --- a/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx +++ b/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx @@ -624,7 +624,7 @@ private: // Must be called with both the external (Solar) and internal mutex // locked, and after init has been called: - void changeParagraphText(::sal_uIntPtr nNumber, ::sal_uInt16 nBegin, ::sal_uInt16 nEnd, + void changeParagraphText(::sal_uLong nNumber, ::sal_uInt16 nBegin, ::sal_uInt16 nEnd, bool bCut, bool bPaste, ::rtl::OUString const & rText); diff --git a/accessibility/source/extended/accessibleiconchoicectrl.cxx b/accessibility/source/extended/accessibleiconchoicectrl.cxx index d59383365c5a..3a98169c620a 100644 --- a/accessibility/source/extended/accessibleiconchoicectrl.cxx +++ b/accessibility/source/extended/accessibleiconchoicectrl.cxx @@ -90,7 +90,7 @@ namespace accessibility SvxIconChoiceCtrlEntry* pEntry = static_cast< SvxIconChoiceCtrlEntry* >( rVclWindowEvent.GetData() ); if ( pEntry ) { - sal_uIntPtr nPos = pCtrl->GetEntryListPos( pEntry ); + sal_uLong nPos = pCtrl->GetEntryListPos( pEntry ); Reference< XAccessible > xChild = new AccessibleIconChoiceCtrlEntry( *pCtrl, nPos, this ); uno::Any aOldValue, aNewValue; aNewValue <<= xChild; diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx index 40183eb7feb4..e910b503ad1c 100644 --- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx +++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx @@ -87,7 +87,7 @@ namespace accessibility // Ctor() and Dtor() // ----------------------------------------------------------------------------- AccessibleIconChoiceCtrlEntry::AccessibleIconChoiceCtrlEntry( SvtIconChoiceCtrl& _rIconCtrl, - sal_uIntPtr _nPos, + sal_uLong _nPos, const Reference< XAccessible >& _xParent ) : AccessibleIconChoiceCtrlEntry_BASE ( m_aMutex ), diff --git a/accessibility/source/extended/accessibletablistboxtable.cxx b/accessibility/source/extended/accessibletablistboxtable.cxx index 77f2e74b4f89..a87ba9586098 100644 --- a/accessibility/source/extended/accessibletablistboxtable.cxx +++ b/accessibility/source/extended/accessibletablistboxtable.cxx @@ -92,7 +92,7 @@ namespace accessibility { if ( isAlive() ) { - sal_uIntPtr nEventId = rVclWindowEvent.GetId(); + sal_uLong nEventId = rVclWindowEvent.GetId(); switch ( nEventId ) { case VCLEVENT_OBJECT_DYING : diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index e46412cf2310..5b669033fcfd 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -898,7 +898,7 @@ Document::retrieveParagraphText(ParagraphImpl const * pParagraph) { ::osl::Guard< ::comphelper::IMutex > aExternalGuard(getExternalLock()); ::osl::MutexGuard aInternalGuard(GetMutex()); - return m_rEngine.GetText(static_cast< ::sal_uIntPtr >(pParagraph->getNumber())); + return m_rEngine.GetText(static_cast< ::sal_uLong >(pParagraph->getNumber())); // numeric overflow cannot happen here } @@ -922,7 +922,7 @@ void Document::retrieveParagraphSelection(ParagraphImpl const * pParagraph, : static_cast< ::sal_Int32 >( aMinPaM.GetIndex() ); // XXX numeric overflow *pEnd = nNumber < aMaxPaM.GetPara() - ? static_cast< ::sal_Int32 >( m_rEngine.GetText(static_cast< ::sal_uIntPtr >(nNumber)).Len() ) + ? static_cast< ::sal_Int32 >( m_rEngine.GetText(static_cast< ::sal_uLong >(nNumber)).Len() ) : static_cast< ::sal_Int32 >( aMaxPaM.GetIndex() ); // XXX numeric overflow (3x) @@ -954,7 +954,7 @@ Document::retrieveCharacterBounds(ParagraphImpl const * pParagraph, { ::osl::Guard< ::comphelper::IMutex > aExternalGuard(getExternalLock()); ::osl::MutexGuard aInternalGuard(GetMutex()); - ::sal_uIntPtr nNumber = static_cast< ::sal_uIntPtr >(pParagraph->getNumber()); + ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); sal_Int32 nLength = m_rEngine.GetText(nNumber).Len(); // XXX numeric overflow if (nIndex < 0 || nIndex > nLength) @@ -1006,7 +1006,7 @@ Document::retrieveCharacterBounds(ParagraphImpl const * pParagraph, { ::osl::Guard< ::comphelper::IMutex > aExternalGuard(getExternalLock()); ::osl::MutexGuard aInternalGuard(GetMutex()); - ::sal_uIntPtr nNumber = static_cast< ::sal_uIntPtr >(pParagraph->getNumber()); + ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); // XXX numeric overflow ::TextPaM aPaM(m_rEngine.GetPaM(::Point(static_cast< long >(rPoint.X), static_cast< long >(rPoint.Y)))); @@ -1023,7 +1023,7 @@ Document::retrieveCharacterAttributes( { ::osl::Guard< ::comphelper::IMutex > aExternalGuard(getExternalLock()); ::osl::MutexGuard aInternalGuard(GetMutex()); - ::sal_uIntPtr nNumber = static_cast< ::sal_uIntPtr >(pParagraph->getNumber()); + ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); // XXX numeric overflow if (nIndex < 0 || nIndex >= m_rEngine.GetText(nNumber).Len()) throw ::css::lang::IndexOutOfBoundsException( @@ -1098,7 +1098,7 @@ void Document::retrieveRunAttributesImpl( const ::css::uno::Sequence< ::rtl::OUString >& RequestedAttributes, tPropValMap& rRunAttrSeq) { - ::sal_uIntPtr nNumber = static_cast< ::sal_uIntPtr >( pParagraph->getNumber() ); + ::sal_uLong nNumber = static_cast< ::sal_uLong >( pParagraph->getNumber() ); ::TextPaM aPaM( nNumber, static_cast< ::sal_uInt16 >( Index ) ); // XXX numeric overflow // FIXME TEXTATTR_HYPERLINK ignored: @@ -1155,7 +1155,7 @@ Document::retrieveRunAttributes( { ::osl::Guard< ::comphelper::IMutex > aExternalGuard( getExternalLock() ); ::osl::MutexGuard aInternalGuard( GetMutex() ); - ::sal_uIntPtr nNumber = static_cast< ::sal_uIntPtr >( pParagraph->getNumber() ); + ::sal_uLong nNumber = static_cast< ::sal_uLong >( pParagraph->getNumber() ); // XXX numeric overflow if ( Index < 0 || Index >= m_rEngine.GetText(nNumber).Len() ) throw ::css::lang::IndexOutOfBoundsException( @@ -1176,7 +1176,7 @@ void Document::changeParagraphText(ParagraphImpl * pParagraph, ::osl::Guard< ::comphelper::IMutex > aExternalGuard(getExternalLock()); { ::osl::MutexGuard aInternalGuard(GetMutex()); - ::sal_uIntPtr nNumber = static_cast< ::sal_uIntPtr >(pParagraph->getNumber()); + ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); // XXX numeric overflow changeParagraphText(nNumber, 0, m_rEngine.GetTextLen(nNumber), false, false, rText); @@ -1191,7 +1191,7 @@ void Document::changeParagraphText(ParagraphImpl * pParagraph, ::osl::Guard< ::comphelper::IMutex > aExternalGuard(getExternalLock()); { ::osl::MutexGuard aInternalGuard(GetMutex()); - ::sal_uIntPtr nNumber = static_cast< ::sal_uIntPtr >(pParagraph->getNumber()); + ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); // XXX numeric overflow if (nBegin < 0 || nBegin > nEnd || nEnd > m_rEngine.GetText(nNumber).Len()) @@ -1213,7 +1213,7 @@ void Document::copyParagraphText(ParagraphImpl const * pParagraph, ::osl::Guard< ::comphelper::IMutex > aExternalGuard(getExternalLock()); { ::osl::MutexGuard aInternalGuard(GetMutex()); - ::sal_uIntPtr nNumber = static_cast< ::sal_uIntPtr >(pParagraph->getNumber()); + ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); // XXX numeric overflow if (nBegin < 0 || nBegin > nEnd || nEnd > m_rEngine.GetText(nNumber).Len()) @@ -1237,7 +1237,7 @@ void Document::changeParagraphAttributes( ::osl::Guard< ::comphelper::IMutex > aExternalGuard(getExternalLock()); { ::osl::MutexGuard aInternalGuard(GetMutex()); - ::sal_uIntPtr nNumber = static_cast< ::sal_uIntPtr >(pParagraph->getNumber()); + ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); // XXX numeric overflow if (nBegin < 0 || nBegin > nEnd || nEnd > m_rEngine.GetText(nNumber).Len()) @@ -1275,7 +1275,7 @@ void Document::changeParagraphSelection(ParagraphImpl * pParagraph, ::osl::Guard< ::comphelper::IMutex > aExternalGuard(getExternalLock()); { ::osl::MutexGuard aInternalGuard(GetMutex()); - ::sal_uIntPtr nNumber = static_cast< ::sal_uIntPtr >(pParagraph->getNumber()); + ::sal_uLong nNumber = static_cast< ::sal_uLong >(pParagraph->getNumber()); // XXX numeric overflow if (nBegin < 0 || nBegin > nEnd || nEnd > m_rEngine.GetText(nNumber).Len()) @@ -1302,7 +1302,7 @@ Document::retrieveParagraphLineBoundary( ParagraphImpl const * pParagraph, ::osl::Guard< ::comphelper::IMutex > aExternalGuard( getExternalLock() ); { ::osl::MutexGuard aInternalGuard( GetMutex() ); - ::sal_uIntPtr nNumber = static_cast< ::sal_uIntPtr >( pParagraph->getNumber() ); + ::sal_uLong nNumber = static_cast< ::sal_uLong >( pParagraph->getNumber() ); if ( nIndex < 0 || nIndex > m_rEngine.GetText( nNumber ).Len() ) throw ::css::lang::IndexOutOfBoundsException( ::rtl::OUString( @@ -1344,7 +1344,7 @@ Document::retrieveParagraphBoundaryOfLine( ParagraphImpl const * pParagraph, ::osl::Guard< ::comphelper::IMutex > aExternalGuard( getExternalLock() ); { ::osl::MutexGuard aInternalGuard( GetMutex() ); - ::sal_uIntPtr nNumber = static_cast< ::sal_uIntPtr >( pParagraph->getNumber() ); + ::sal_uLong nNumber = static_cast< ::sal_uLong >( pParagraph->getNumber() ); if ( nLineNo >= m_rEngine.GetLineCount( nNumber ) ) throw ::css::lang::IndexOutOfBoundsException( ::rtl::OUString( @@ -1675,11 +1675,11 @@ void Document::init() { if (m_xParagraphs.get() == 0) { - ::sal_uIntPtr nCount = m_rEngine.GetParagraphCount(); + ::sal_uLong nCount = m_rEngine.GetParagraphCount(); ::std::auto_ptr< Paragraphs > p(new Paragraphs); p->reserve(static_cast< Paragraphs::size_type >(nCount)); // numeric overflow is harmless here - for (::sal_uIntPtr i = 0; i < nCount; ++i) + for (::sal_uLong i = 0; i < nCount; ++i) p->push_back(ParagraphInfo(static_cast< ::sal_Int32 >( m_rEngine.GetTextHeight(i)))); // XXX numeric overflow @@ -1783,7 +1783,7 @@ void Document::notifyVisibleRangeChanges( } void -Document::changeParagraphText(::sal_uIntPtr nNumber, ::sal_uInt16 nBegin, ::sal_uInt16 nEnd, +Document::changeParagraphText(::sal_uLong nNumber, ::sal_uInt16 nBegin, ::sal_uInt16 nEnd, bool bCut, bool bPaste, ::rtl::OUString const & rText) { @@ -1809,7 +1809,7 @@ void Document::handleParagraphNotifications() { case TEXT_HINT_PARAINSERTED: { - ::sal_uIntPtr n = aHint.GetValue(); + ::sal_uLong n = aHint.GetValue(); OSL_ENSURE(n <= m_xParagraphs->size(), "bad TEXT_HINT_PARAINSERTED event"); @@ -1861,7 +1861,7 @@ void Document::handleParagraphNotifications() } case TEXT_HINT_PARAREMOVED: { - ::sal_uIntPtr n = aHint.GetValue(); + ::sal_uLong n = aHint.GetValue(); if (n == TEXT_PARA_ALL) { {for (Paragraphs::iterator aIt(m_aVisibleBegin); @@ -1976,7 +1976,7 @@ void Document::handleParagraphNotifications() } case TEXT_HINT_FORMATPARA: { - ::sal_uIntPtr n = aHint.GetValue(); + ::sal_uLong n = aHint.GetValue(); OSL_ENSURE(n < m_xParagraphs->size(), "Bad TEXT_HINT_FORMATPARA event"); @@ -2077,10 +2077,10 @@ void Document::handleSelectionChangeNotification() // overlap---the overlap and/or the range to the right of it possibly being // empty. Only for these two ranges notifications have to be sent.) - TextPaM aOldTextStart( static_cast< sal_uIntPtr >( m_nSelectionFirstPara ), static_cast< sal_uInt16 >( m_nSelectionFirstPos ) ); - TextPaM aOldTextEnd( static_cast< sal_uIntPtr >( m_nSelectionLastPara ), static_cast< sal_uInt16 >( m_nSelectionLastPos ) ); - TextPaM aNewTextStart( static_cast< sal_uIntPtr >( nNewFirstPara ), static_cast< sal_uInt16 >( nNewFirstPos ) ); - TextPaM aNewTextEnd( static_cast< sal_uIntPtr >( nNewLastPara ), static_cast< sal_uInt16 >( nNewLastPos ) ); + TextPaM aOldTextStart( static_cast< sal_uLong >( m_nSelectionFirstPara ), static_cast< sal_uInt16 >( m_nSelectionFirstPos ) ); + TextPaM aOldTextEnd( static_cast< sal_uLong >( m_nSelectionLastPara ), static_cast< sal_uInt16 >( m_nSelectionLastPos ) ); + TextPaM aNewTextStart( static_cast< sal_uLong >( nNewFirstPara ), static_cast< sal_uInt16 >( nNewFirstPos ) ); + TextPaM aNewTextEnd( static_cast< sal_uLong >( nNewLastPara ), static_cast< sal_uInt16 >( nNewLastPos ) ); // justify selections justifySelection( aOldTextStart, aOldTextEnd ); diff --git a/accessibility/source/standard/accessiblemenuitemcomponent.cxx b/accessibility/source/standard/accessiblemenuitemcomponent.cxx index 2270086f6eee..9ac93cedd299 100644 --- a/accessibility/source/standard/accessiblemenuitemcomponent.cxx +++ b/accessibility/source/standard/accessiblemenuitemcomponent.cxx @@ -157,7 +157,7 @@ void OAccessibleMenuItemComponent::Click() // that the popup menus are executed synchronously. AllSettings aSettings = pWindow->GetSettings(); MouseSettings aMouseSettings = aSettings.GetMouseSettings(); - sal_uIntPtr nDelay = aMouseSettings.GetMenuDelay(); + sal_uLong nDelay = aMouseSettings.GetMenuDelay(); aMouseSettings.SetMenuDelay( 0 ); aSettings.SetMouseSettings( aMouseSettings ); pWindow->SetSettings( aSettings ); -- cgit v1.2.3 From 41fb6b154197078bf0abe89c1279cc6ce0d3e0ed Mon Sep 17 00:00:00 2001 From: Mikhail Voytenko Date: Fri, 14 Jan 2011 11:20:36 +0100 Subject: removetooltypes01: #i112600# fix TRUE/FALSE autodoc tags --- .../accessibility/extended/AccessibleBrowseBoxBase.hxx | 12 ++++++------ .../extended/AccessibleBrowseBoxHeaderBar.hxx | 12 ++++++------ .../extended/AccessibleBrowseBoxTable.hxx | 6 +++--- .../extended/AccessibleBrowseBoxTableBase.hxx | 10 +++++----- .../extended/AccessibleGridControlBase.hxx | 12 ++++++------ .../extended/AccessibleGridControlHeader.hxx | 10 +++++----- .../extended/AccessibleGridControlTable.hxx | 8 ++++---- .../inc/accessibility/standard/vclxaccessiblelist.hxx | 4 ++-- forms/source/component/DatabaseForm.hxx | 4 ++-- forms/source/component/Edit.hxx | 2 +- forms/source/component/clickableimage.hxx | 2 +- forms/source/component/entrylisthelper.hxx | 2 +- forms/source/inc/FormComponent.hxx | 18 +++++++++--------- forms/source/inc/InterfaceContainer.hxx | 4 ++-- forms/source/inc/formnavigation.hxx | 2 +- forms/source/inc/urltransformer.hxx | 2 +- forms/source/xforms/datatypes.cxx | 2 +- forms/source/xforms/propertysetbase.hxx | 2 +- 18 files changed, 57 insertions(+), 57 deletions(-) (limited to 'accessibility') diff --git a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx index b3728189948c..dc43e500dadd 100644 --- a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx +++ b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx @@ -190,7 +190,7 @@ public: // XAccessibleComponent --------------------------------------------------- /** @return - , if the point lies within the bounding box of this object. */ + , if the point lies within the bounding box of this object. */ virtual sal_Bool SAL_CALL containsPoint( const ::com::sun::star::awt::Point& rPoint ) throw ( ::com::sun::star::uno::RuntimeException ); @@ -212,15 +212,15 @@ public: virtual ::com::sun::star::awt::Size SAL_CALL getSize() throw ( ::com::sun::star::uno::RuntimeException ); - /** @return , if the object is showing. */ + /** @return , if the object is showing. */ virtual sal_Bool SAL_CALL isShowing() throw ( ::com::sun::star::uno::RuntimeException ); - /** @return , if the object is visible. */ + /** @return , if the object is visible. */ virtual sal_Bool SAL_CALL isVisible() throw ( ::com::sun::star::uno::RuntimeException ); - /** @return , if the object can accept the focus. */ + /** @return , if the object can accept the focus. */ virtual sal_Bool SAL_CALL isFocusTraversable() throw ( ::com::sun::star::uno::RuntimeException ); @@ -302,7 +302,7 @@ public: const ::com::sun::star::uno::Any& rNewValue, const ::com::sun::star::uno::Any& rOldValue ); - /** @return , if the object is not disposed or disposing. */ + /** @return , if the object is not disposed or disposing. */ sal_Bool isAlive() const; protected: @@ -312,7 +312,7 @@ protected: its parent accessible window. Derived classes may implement different behaviour. @attention This method requires locked mutex's and a living object. - @return , if the object is really showing. */ + @return , if the object is really showing. */ virtual sal_Bool implIsShowing(); /** Derived classes return the bounding box relative to the parent window. diff --git a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxHeaderBar.hxx b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxHeaderBar.hxx index 28e693e10c79..ac0b2761eb1f 100644 --- a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxHeaderBar.hxx +++ b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxHeaderBar.hxx @@ -131,12 +131,12 @@ public: getSelectedAccessibleColumns() throw ( ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified row is completely selected. */ + /** @return , if the specified row is completely selected. */ virtual sal_Bool SAL_CALL isAccessibleRowSelected( sal_Int32 nRow ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified column is completely selected. */ + /** @return , if the specified column is completely selected. */ virtual sal_Bool SAL_CALL isAccessibleColumnSelected( sal_Int32 nColumn ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); @@ -149,7 +149,7 @@ public: throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified cell is selected. */ + /** @return , if the specified cell is selected. */ virtual sal_Bool SAL_CALL isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); @@ -161,7 +161,7 @@ public: throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified child (row/column) is selected. */ + /** @return , if the specified child (row/column) is selected. */ virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); @@ -232,9 +232,9 @@ protected: // internal helper methods ------------------------------------------------ - /** @return , if the objects is a header bar for rows. */ + /** @return , if the objects is a header bar for rows. */ inline sal_Bool isRowBar() const; - /** @return , if the objects is a header bar for columns. */ + /** @return , if the objects is a header bar for columns. */ inline sal_Bool isColumnBar() const; /** Returns the specified row or column. Uses one of the parameters, diff --git a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxTable.hxx b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxTable.hxx index e9474f703044..afb345487239 100644 --- a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxTable.hxx +++ b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxTable.hxx @@ -116,12 +116,12 @@ public: getSelectedAccessibleColumns() throw ( ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified row is completely selected. */ + /** @return , if the specified row is completely selected. */ virtual sal_Bool SAL_CALL isAccessibleRowSelected( sal_Int32 nRow ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified column is completely selected. */ + /** @return , if the specified column is completely selected. */ virtual sal_Bool SAL_CALL isAccessibleColumnSelected( sal_Int32 nColumn ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); @@ -134,7 +134,7 @@ public: throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified cell is selected. */ + /** @return , if the specified cell is selected. */ virtual sal_Bool SAL_CALL isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); diff --git a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxTableBase.hxx b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxTableBase.hxx index f4efb30466ae..fa6ce94cfc7f 100644 --- a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxTableBase.hxx +++ b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxTableBase.hxx @@ -191,7 +191,7 @@ protected: // internal helper methods ------------------------------------------------ - /** @return , if first BrowseBox column is the "handle column". */ + /** @return , if first BrowseBox column is the "handle column". */ sal_Bool implHasHandleColumn() const; /** @attention This method requires locked mutex's and a living object. @@ -217,19 +217,19 @@ protected: sal_Int32 implGetChildIndex( sal_Int32 nRow, sal_Int32 nColumn ) const; /** @attention This method requires locked mutex's and a living object. - @return , if the specified row is selected. */ + @return , if the specified row is selected. */ sal_Bool implIsRowSelected( sal_Int32 nRow ) const; /** @attention This method requires locked mutex's and a living object. - @return , if the specified column is selected. */ + @return , if the specified column is selected. */ sal_Bool implIsColumnSelected( sal_Int32 nColumn ) const; /** Selects/deselects a row (tries to expand selection). @attention This method requires locked mutex's and a living object. - @param bSelect = select, = deselect */ + @param bSelect = select, = deselect */ void implSelectRow( sal_Int32 nRow, sal_Bool bSelect ); /** Selects/deselects a column (tries to expand selection). @attention This method requires locked mutex's and a living object. - @param bSelect = select, = deselect */ + @param bSelect = select, = deselect */ void implSelectColumn( sal_Int32 nColumnPos, sal_Bool bSelect ); /** @attention This method requires locked mutex's and a living object. diff --git a/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx b/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx index 53e7eec6fde7..c6a26d8c4548 100644 --- a/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx +++ b/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx @@ -166,7 +166,7 @@ public: // XAccessibleComponent --------------------------------------------------- /** @return - , if the point lies within the bounding box of this object. */ + , if the point lies within the bounding box of this object. */ virtual sal_Bool SAL_CALL containsPoint( const ::com::sun::star::awt::Point& rPoint ) throw ( ::com::sun::star::uno::RuntimeException ); @@ -188,15 +188,15 @@ public: virtual ::com::sun::star::awt::Size SAL_CALL getSize() throw ( ::com::sun::star::uno::RuntimeException ); - /** @return , if the object is showing. */ + /** @return , if the object is showing. */ virtual sal_Bool SAL_CALL isShowing() throw ( ::com::sun::star::uno::RuntimeException ); - /** @return , if the object is visible. */ + /** @return , if the object is visible. */ virtual sal_Bool SAL_CALL isVisible() throw ( ::com::sun::star::uno::RuntimeException ); - /** @return , if the object can accept the focus. */ + /** @return , if the object can accept the focus. */ virtual sal_Bool SAL_CALL isFocusTraversable() throw ( ::com::sun::star::uno::RuntimeException ); @@ -269,7 +269,7 @@ public: const ::com::sun::star::uno::Any& rNewValue, const ::com::sun::star::uno::Any& rOldValue ); - /** @return , if the object is not disposed or disposing. */ + /** @return , if the object is not disposed or disposing. */ sal_Bool isAlive() const; protected: @@ -279,7 +279,7 @@ protected: its parent accessible window. Derived classes may implement different behaviour. @attention This method requires locked mutex's and a living object. - @return , if the object is really showing. */ + @return , if the object is really showing. */ virtual sal_Bool implIsShowing(); /** Derived classes return the bounding box relative to the parent window. diff --git a/accessibility/inc/accessibility/extended/AccessibleGridControlHeader.hxx b/accessibility/inc/accessibility/extended/AccessibleGridControlHeader.hxx index 538c1a224acd..90306435bd4b 100644 --- a/accessibility/inc/accessibility/extended/AccessibleGridControlHeader.hxx +++ b/accessibility/inc/accessibility/extended/AccessibleGridControlHeader.hxx @@ -125,12 +125,12 @@ public: getSelectedAccessibleColumns() throw ( ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified row is completely selected. */ + /** @return , if the specified row is completely selected. */ virtual sal_Bool SAL_CALL isAccessibleRowSelected( sal_Int32 nRow ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified column is completely selected. */ + /** @return , if the specified column is completely selected. */ virtual sal_Bool SAL_CALL isAccessibleColumnSelected( sal_Int32 nColumn ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); @@ -143,7 +143,7 @@ public: throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified cell is selected. */ + /** @return , if the specified cell is selected. */ virtual sal_Bool SAL_CALL isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); @@ -190,9 +190,9 @@ protected: // internal helper methods ------------------------------------------------ - /** @return , if the objects is a header bar for rows. */ + /** @return , if the objects is a header bar for rows. */ inline sal_Bool isRowBar() const; - /** @return , if the objects is a header bar for columns. */ + /** @return , if the objects is a header bar for columns. */ inline sal_Bool isColumnBar() const; }; diff --git a/accessibility/inc/accessibility/extended/AccessibleGridControlTable.hxx b/accessibility/inc/accessibility/extended/AccessibleGridControlTable.hxx index 6315b1027695..8058594d2938 100644 --- a/accessibility/inc/accessibility/extended/AccessibleGridControlTable.hxx +++ b/accessibility/inc/accessibility/extended/AccessibleGridControlTable.hxx @@ -120,12 +120,12 @@ public: getSelectedAccessibleColumns() throw ( ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified row is completely selected. */ + /** @return , if the specified row is completely selected. */ virtual sal_Bool SAL_CALL isAccessibleRowSelected( sal_Int32 nRow ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified column is completely selected. */ + /** @return , if the specified column is completely selected. */ virtual sal_Bool SAL_CALL isAccessibleColumnSelected( sal_Int32 nColumn ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); @@ -138,7 +138,7 @@ public: throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified cell is selected. */ + /** @return , if the specified cell is selected. */ virtual sal_Bool SAL_CALL isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); @@ -150,7 +150,7 @@ public: throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); - /** @return , if the specified child (row/column) is selected. */ + /** @return , if the specified child (row/column) is selected. */ virtual sal_Bool SAL_CALL isAccessibleChildSelected( sal_Int32 nChildIndex ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx index ecd557798b4d..f90cb286b4c4 100644 --- a/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx +++ b/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx @@ -189,8 +189,8 @@ protected: /** Call this method when the item list has been changed, i.e. items have been deleted or inserted. @param bItemInserted - Indicate whether items have been inserted () or removed - (). + Indicate whether items have been inserted () or removed + (). @param nIndex Index of the new or removed item. A value of -1 indicates that the whole list has been cleared. diff --git a/forms/source/component/DatabaseForm.hxx b/forms/source/component/DatabaseForm.hxx index 2ada38be93e6..e18586fb309d 100644 --- a/forms/source/component/DatabaseForm.hxx +++ b/forms/source/component/DatabaseForm.hxx @@ -505,12 +505,12 @@ private: @param _rEvent the event to notify @param _bAllowSQLException - if SQLExceptions are allowed to leave the method + if SQLExceptions are allowed to leave the method @param _rGuard the guard to be cleared before actually calling into the listeners, but after making a copy of the listeners array to operate on. @return - if and only if the execution has been approved + if and only if the execution has been approved */ bool impl_approveRowChange_throw( const ::com::sun::star::lang::EventObject& _rEvent, diff --git a/forms/source/component/Edit.hxx b/forms/source/component/Edit.hxx index e9c2466350dc..5b4146b82d06 100644 --- a/forms/source/component/Edit.hxx +++ b/forms/source/component/Edit.hxx @@ -47,7 +47,7 @@ class OEditModel ::com::sun::star::uno::Any m_aLastKnownValue; ::std::auto_ptr< ::dbtools::FormattedColumnValue > m_pValueFormatter; - sal_Bool m_bMaxTextLenModified : 1; // set to when we change the MaxTextLen of the aggregate + sal_Bool m_bMaxTextLenModified : 1; // set to when we change the MaxTextLen of the aggregate sal_Bool m_bWritingFormattedFake : 1; // are we writing something which should be interpreted as formatted upon reading? diff --git a/forms/source/component/clickableimage.hxx b/forms/source/component/clickableimage.hxx index caebdf3f3848..f888aa4e3309 100644 --- a/forms/source/component/clickableimage.hxx +++ b/forms/source/component/clickableimage.hxx @@ -241,7 +241,7 @@ namespace frm ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > _getTypes(); /** approves the action by calling the approve listeners - @return if and only if the action has not been cancelled by a listener + @return if and only if the action has not been cancelled by a listener */ bool approveAction( ); diff --git a/forms/source/component/entrylisthelper.hxx b/forms/source/component/entrylisthelper.hxx index b72a069e2dc5..64778e9abdc3 100644 --- a/forms/source/component/entrylisthelper.hxx +++ b/forms/source/component/entrylisthelper.hxx @@ -84,7 +84,7 @@ namespace frm /** handling the XEventListener::disposing call for the case where our list source is being disposed @return - if and only if the disposed object was our list source, and so the + if and only if the disposed object was our list source, and so the event was handled */ bool handleDisposing( const ::com::sun::star::lang::EventObject& _rEvent ); diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx index 42e79443279b..dead24b09835 100644 --- a/forms/source/inc/FormComponent.hxx +++ b/forms/source/inc/FormComponent.hxx @@ -194,7 +194,7 @@ public: @param _rAggregateService the service name of the component to aggregate @param _bSetDelegator - set this to if you don't want the constructor to set the delegator at + set this to if you don't want the constructor to set the delegator at the aggregate. In this case, you have to call doSetDelegator within your own constructor. @@ -202,7 +202,7 @@ public: In this case, the aggregate needs to be queried for this interface before the XAggregation::setDelegator call. - In such a case, pass to this parameter. Then, cache the aggregate's interface(s) + In such a case, pass to this parameter. Then, cache the aggregate's interface(s) as needed. Afterwards, call doSetDelegator. In your destructor, you need to call doResetDelegator before @@ -228,7 +228,7 @@ protected: /** sets the control as delegator at the aggregate This has to be called from within your derived class' constructor, if and only - if you passed to the _bSetDelegator parameter of the + if you passed to the _bSetDelegator parameter of the OControl constructor. */ void doSetDelegator(); @@ -879,7 +879,7 @@ protected: we're properly bound to a database column, especially m_xColumnUpdate is not @param _bPostReset - if and only if the current control value results from a reset (getDefaultForReset) + if and only if the current control value results from a reset (getDefaultForReset) @pure */ virtual sal_Bool commitControlValueToDbColumn( @@ -1183,10 +1183,10 @@ private: Use this method if there is a potential that only the validity flag changed. If any of the other aspects (our current value, or our current text) changed, then - pass for _bForceNotification. + pass for _bForceNotification. @param _bForceNotification - if , then the validity listeners will be notified, not matter whether the validity + if , then the validity listeners will be notified, not matter whether the validity changed. */ void recheckValidity( bool _bForceNotification ); @@ -1217,8 +1217,8 @@ private: @precond The control does not have an external value supplier @param _bFromReload - Determines whether the connection is made after the row set has been loaded () - or reloaded () + Determines whether the connection is made after the row set has been loaded () + or reloaded () @see impl_disconnectDatabaseColumn_noNotify */ @@ -1286,7 +1286,7 @@ private: the binding which applies for being responsible for our value, Must not be @return - if and only if the given binding can supply values in the proper type + if and only if the given binding can supply values in the proper type @seealso getExternalValueType */ diff --git a/forms/source/inc/InterfaceContainer.hxx b/forms/source/inc/InterfaceContainer.hxx index 72466fb31e3f..90e508f43ca8 100644 --- a/forms/source/inc/InterfaceContainer.hxx +++ b/forms/source/inc/InterfaceContainer.hxx @@ -211,12 +211,12 @@ protected: @param _nIndex the index at which position it should be inserted @param _bEvents - if , event knittings will be done + if , event knittings will be done @param _pApprovalResult must contain the result of an approveNewElement call. Can be , in this case, the approval is done within implInsert. @param _bFire - if , a notification about the insertion will be fired + if , a notification about the insertion will be fired */ void implInsert( sal_Int32 _nIndex, diff --git a/forms/source/inc/formnavigation.hxx b/forms/source/inc/formnavigation.hxx index 440d76bae7bd..6dc848bd8abe 100644 --- a/forms/source/inc/formnavigation.hxx +++ b/forms/source/inc/formnavigation.hxx @@ -208,7 +208,7 @@ namespace frm @complexity O(log n), with n being the number of all potentially known URLs @return - if and only if the given id is a known feature id + if and only if the given id is a known feature id (which is a valid usage) */ bool getFeatureURL( sal_Int16 _nFeatureId, ::com::sun::star::util::URL& /* [out] */ _rURL ); diff --git a/forms/source/inc/urltransformer.hxx b/forms/source/inc/urltransformer.hxx index 0231f983c1b3..2e8bdf1f684a 100644 --- a/forms/source/inc/urltransformer.hxx +++ b/forms/source/inc/urltransformer.hxx @@ -73,7 +73,7 @@ namespace frm /** ensures that we have an URLTransformer instance in m_xTransformer @return - if and only if m_xTransformer is not + if and only if m_xTransformer is not */ bool implEnsureTransformer() const; }; diff --git a/forms/source/xforms/datatypes.cxx b/forms/source/xforms/datatypes.cxx index d8540851569c..212b5f721e67 100644 --- a/forms/source/xforms/datatypes.cxx +++ b/forms/source/xforms/datatypes.cxx @@ -957,7 +957,7 @@ namespace xforms fValue = (double)(sal_Int16)value.toInt32(); // TODO/eforms // this does not care for values which do not fit into a sal_Int16, but simply - // cuts them down. A better implementation here should probably return + // cuts them down. A better implementation here should probably return // for those values. // Else, we may have a situation where the UI claims an input to be valid // (say "12345678"), while internally, and at submission time, this is cut to diff --git a/forms/source/xforms/propertysetbase.hxx b/forms/source/xforms/propertysetbase.hxx index 67b080febbaf..9e11efe1ebb7 100644 --- a/forms/source/xforms/propertysetbase.hxx +++ b/forms/source/xforms/propertysetbase.hxx @@ -253,7 +253,7 @@ protected: Usually used to initialize the cache with values which are different from default constructed values. Say you have a boolean property whose initial state - is . Say you call notifyAndCachePropertyValue the first time: it will + is . Say you call notifyAndCachePropertyValue the first time: it will default construct the "old value" for this property as , and thus not do any notifications if the "current value" is also - which might be wrong, since the guessing of the "old value" differed from the real initial value which was . -- cgit v1.2.3