sw/source/core/access/acccell.cxx | 6 - sw/source/core/access/acccell.hxx | 21 ++---- sw/source/core/access/acccontext.hxx | 32 +++++----- sw/source/core/access/accdoc.cxx | 14 +--- sw/source/core/access/accdoc.hxx | 42 ++++++------- sw/source/core/access/accembedded.hxx | 15 +--- sw/source/core/access/accfootnote.hxx | 6 - sw/source/core/access/accgraphic.hxx | 4 - sw/source/core/access/accheaderfooter.hxx | 6 - sw/source/core/access/accmap.cxx | 14 ---- sw/source/core/access/accnotextframe.cxx | 19 +----- sw/source/core/access/accnotextframe.hxx | 9 -- sw/source/core/access/accpage.hxx | 8 -- sw/source/core/access/accpara.cxx | 56 +++++------------- sw/source/core/access/accpara.hxx | 91 ++++++++++++++---------------- sw/source/core/access/accportions.cxx | 7 -- sw/source/core/access/accpreview.cxx | 2 17 files changed, 135 insertions(+), 217 deletions(-)
New commits: commit 6eb8a9bda063cecf6df049613e79c0b47ad4b231 Author: Matthias Freund <matti...@yahoo.de> Date: Sat Mar 16 23:54:23 2013 +0100 comment cleanups hope this is helpful Change-Id: Ib887329de1e5788b1a39139725dca0b3de25e81c Reviewed-on: https://gerrit.libreoffice.org/2776 Reviewed-by: Tor Lillqvist <t...@iki.fi> Tested-by: Tor Lillqvist <t...@iki.fi> diff --git a/sw/source/core/access/acccell.cxx b/sw/source/core/access/acccell.cxx index 43abdb3..8ac279b 100644 --- a/sw/source/core/access/acccell.cxx +++ b/sw/source/core/access/acccell.cxx @@ -258,7 +258,7 @@ void SwAccessibleCell::InvalidatePosOrSize( const SwRect& rOldBox ) } -// ===== XAccessibleInterface =========================================== +// XAccessibleInterface uno::Any SwAccessibleCell::queryInterface( const uno::Type& rType ) throw( uno::RuntimeException ) @@ -276,7 +276,7 @@ uno::Any SwAccessibleCell::queryInterface( const uno::Type& rType ) } } -//====== XTypeProvider ==================================================== +// XTypeProvider uno::Sequence< uno::Type > SAL_CALL SwAccessibleCell::getTypes() throw(uno::RuntimeException) { @@ -302,7 +302,7 @@ uno::Sequence< sal_Int8 > SAL_CALL SwAccessibleCell::getImplementationId() return theSwAccessibleCellImplementationId::get().getSeq(); } -// ===== XAccessibleValue =============================================== +// XAccessibleValue SwFrmFmt* SwAccessibleCell::GetTblBoxFormat() const { diff --git a/sw/source/core/access/acccell.hxx b/sw/source/core/access/acccell.hxx index 99942c1..d62e21c 100644 --- a/sw/source/core/access/acccell.hxx +++ b/sw/source/core/access/acccell.hxx @@ -52,30 +52,27 @@ public: virtual sal_Bool HasCursor(); // required by map to remember that object - //===== XAccessibleContext ============================================== + // XAccessibleContext /// Return this object's description. virtual ::rtl::OUString SAL_CALL getAccessibleDescription (void) throw (com::sun::star::uno::RuntimeException); - //===== XServiceInfo ==================================================== + // XServiceInfo - /** Returns an identifier for the implementation of this object. - */ + // Returns an identifier for the implementation of this object. virtual ::rtl::OUString SAL_CALL getImplementationName (void) throw (::com::sun::star::uno::RuntimeException); - /** Return whether the specified service is supported by this class. - */ + // Return whether the specified service is supported by this class. virtual sal_Bool SAL_CALL supportsService (const ::rtl::OUString& sServiceName) throw (::com::sun::star::uno::RuntimeException); - /** Returns a list of all supported services. In this case that is just - the AccessibleContext service. - */ + // Returns a list of all supported services. In this case that is just + // the AccessibleContext service. virtual ::com::sun::star::uno::Sequence< ::rtl::OUString> SAL_CALL getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); @@ -84,7 +81,7 @@ public: virtual void InvalidatePosOrSize( const SwRect& rFrm ); - //===== XInterface ====================================================== + // XInterface // (XInterface methods need to be implemented to disambiguate // between those inherited through SwAcessibleContext and @@ -100,11 +97,11 @@ public: virtual void SAL_CALL release( ) throw () { SwAccessibleContext::release(); }; - //====== XTypeProvider ==================================================== + // XTypeProvider virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); - //===== XAccessibleValue ================================================ + // XAccessibleValue private: SwFrmFmt* GetTblBoxFormat() const; diff --git a/sw/source/core/access/acccontext.hxx b/sw/source/core/access/acccontext.hxx index 5cce5bd..5cdc305 100644 --- a/sw/source/core/access/acccontext.hxx +++ b/sw/source/core/access/acccontext.hxx @@ -198,56 +198,56 @@ public: SwAccessibleContext( SwAccessibleMap *pMap, sal_Int16 nRole, const SwFrm *pFrm ); - //===== XAccessible ===================================================== + // XAccessible - /// Return the XAccessibleContext. + // Return the XAccessibleContext. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext> SAL_CALL getAccessibleContext (void) throw (com::sun::star::uno::RuntimeException); - //===== XAccessibleContext ============================================== + // XAccessibleContext - /// Return the number of currently visible children. + // Return the number of currently visible children. virtual sal_Int32 SAL_CALL getAccessibleChildCount (void) throw (::com::sun::star::uno::RuntimeException); - /// Return the specified child or NULL if index is invalid. + // Return the specified child or NULL if index is invalid. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL getAccessibleChild (sal_Int32 nIndex) throw (::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IndexOutOfBoundsException); - /// Return a reference to the parent. + // Return a reference to the parent. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL getAccessibleParent (void) throw (::com::sun::star::uno::RuntimeException); - /// Return this objects index among the parents children. + // Return this objects index among the parents children. virtual sal_Int32 SAL_CALL getAccessibleIndexInParent (void) throw (::com::sun::star::uno::RuntimeException); - /// Return this object's role. + // Return this object's role. virtual sal_Int16 SAL_CALL getAccessibleRole (void) throw (::com::sun::star::uno::RuntimeException); - /// Return this object's description. + // Return this object's description. virtual OUString SAL_CALL getAccessibleDescription (void) throw (::com::sun::star::uno::RuntimeException); - /// Return the object's current name. + // Return the object's current name. virtual OUString SAL_CALL getAccessibleName (void) throw (::com::sun::star::uno::RuntimeException); - /// Return NULL to indicate that an empty relation set. + // Return NULL to indicate that an empty relation set. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL getAccessibleRelationSet (void) throw (::com::sun::star::uno::RuntimeException); - /// Return the set of current states. + // Return the set of current states. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL getAccessibleStateSet (void) @@ -260,7 +260,7 @@ public: getLocale (void) throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException); - //===== XAccessibleEventBroadcaster ===================================== + // XAccessibleEventBroadcaster virtual void SAL_CALL addAccessibleEventListener( const ::com::sun::star::uno::Reference< @@ -271,7 +271,7 @@ public: ::com::sun::star::accessibility::XAccessibleEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); - //===== XAccessibleComponent ============================================ + // XAccessibleComponent virtual sal_Bool SAL_CALL containsPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException); @@ -304,7 +304,7 @@ public: throw (::com::sun::star::uno::RuntimeException); - //===== XServiceInfo ==================================================== + // XServiceInfo /** Returns an identifier for the implementation of this object. */ @@ -325,7 +325,7 @@ public: getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); - //====== thread safe C++ interface ======================================== + // thread safe C++ interface // The object is not visible an longer and should be destroyed virtual void Dispose( sal_Bool bRecursive = sal_False ); diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx index f2ab001..1847689 100644 --- a/sw/source/core/access/accdoc.cxx +++ b/sw/source/core/access/accdoc.cxx @@ -47,12 +47,8 @@ using ::rtl::OUString; using lang::IndexOutOfBoundsException; - - -// // SwAccessibleDocumentBase: base class for SwAccessibleDocument and // SwAccessiblePreview -// SwAccessibleDocumentBase::SwAccessibleDocumentBase ( SwAccessibleMap *_pMap ) : SwAccessibleContext( _pMap, AccessibleRole::DOCUMENT, @@ -77,7 +73,7 @@ void SwAccessibleDocumentBase::SetVisArea() SwAccessibleFrame::SetVisArea( GetMap()->GetVisArea() ); // #i58139# - showing state of document view needs also be updated. // Thus, call method <Scrolled(..)> instead of <ChildrenScrolled(..)> -// ChildrenScrolled( GetFrm(), aOldVisArea ); + // ChildrenScrolled( GetFrm(), aOldVisArea ); Scrolled( aOldVisArea ); } } @@ -282,9 +278,7 @@ uno::Reference< XAccessible > SAL_CALL SwAccessibleDocumentBase::getAccessibleAt return SwAccessibleContext::getAccessibleAtPoint( aPoint ); } -// // SwAccessibeDocument -// void SwAccessibleDocument::GetStates( ::utl::AccessibleStateSetHelper& rStateSet ) @@ -401,7 +395,7 @@ uno::Sequence< OUString > SAL_CALL SwAccessibleDocument::getSupportedServiceName return aRet; } -//===== XInterface ====================================================== +// XInterface uno::Any SwAccessibleDocument::queryInterface( const uno::Type& rType ) @@ -418,7 +412,7 @@ uno::Any SwAccessibleDocument::queryInterface( return aRet; } -//====== XTypeProvider ==================================================== +// XTypeProvider uno::Sequence< uno::Type > SAL_CALL SwAccessibleDocument::getTypes() throw(uno::RuntimeException) { @@ -444,7 +438,7 @@ uno::Sequence< sal_Int8 > SAL_CALL SwAccessibleDocument::getImplementationId() return theSwAccessibleDocumentImplementationId::get().getSeq(); } -//===== XAccessibleSelection ============================================ +// XAccessibleSelection void SwAccessibleDocument::selectAccessibleChild( sal_Int32 nChildIndex ) diff --git a/sw/source/core/access/accdoc.hxx b/sw/source/core/access/accdoc.hxx index 4e3656f..617bebf 100644 --- a/sw/source/core/access/accdoc.hxx +++ b/sw/source/core/access/accdoc.hxx @@ -24,10 +24,9 @@ class VclSimpleEvent; -/** - * base class for SwAccessibleDocument (in this same header file) and - * SwAccessiblePreview - */ +// base class for SwAccessibleDocument (in this same header file) and +// SwAccessiblePreview + class SwAccessibleDocumentBase : public SwAccessibleContext { ::com::sun::star::uno::Reference< @@ -50,33 +49,33 @@ public: virtual void AddChild( Window *pWin, sal_Bool bFireEvent = sal_True ); virtual void RemoveChild( Window *pWin ); - //===== XAccessibleContext ============================================== + // XAccessibleContext - /// Return the number of currently visible children. + // Return the number of currently visible children. virtual sal_Int32 SAL_CALL getAccessibleChildCount (void) throw (::com::sun::star::uno::RuntimeException); - /// Return the specified child or NULL if index is invalid. + // Return the specified child or NULL if index is invalid. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL getAccessibleChild (sal_Int32 nIndex) throw (::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IndexOutOfBoundsException); - /// Return a reference to the parent. + // Return a reference to the parent. virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL getAccessibleParent (void) throw (::com::sun::star::uno::RuntimeException); - /// Return this objects index among the parents children. + // Return this objects index among the parents children. virtual sal_Int32 SAL_CALL getAccessibleIndexInParent (void) throw (::com::sun::star::uno::RuntimeException); - /// Return this object's description. + // Return this object's description. virtual ::rtl::OUString SAL_CALL getAccessibleDescription (void) throw (com::sun::star::uno::RuntimeException); - //===== XAccessibleComponent ============================================== + // XAccessibleComponent virtual sal_Bool SAL_CALL containsPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException); @@ -124,28 +123,25 @@ public: DECL_LINK( WindowChildEventListener, VclSimpleEvent* ); - //===== XServiceInfo ==================================================== + // XServiceInfo - /** Returns an identifier for the implementation of this object. - */ + // Returns an identifier for the implementation of this object. virtual ::rtl::OUString SAL_CALL getImplementationName (void) throw (::com::sun::star::uno::RuntimeException); - /** Return whether the specified service is supported by this class. - */ + // Return whether the specified service is supported by this class. virtual sal_Bool SAL_CALL supportsService (const ::rtl::OUString& sServiceName) throw (::com::sun::star::uno::RuntimeException); - /** Returns a list of all supported services. In this case that is just - the AccessibleContext service. - */ + // Returns a list of all supported services. In this case that is just + // the AccessibleContext service. virtual ::com::sun::star::uno::Sequence< ::rtl::OUString> SAL_CALL getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); - //===== XInterface ====================================================== + // XInterface // XInterface is inherited through SwAcessibleContext and // XAccessibleSelection. These methods are needed to avoid @@ -161,11 +157,11 @@ public: virtual void SAL_CALL release( ) throw () { SwAccessibleContext::release(); }; - //====== XTypeProvider ==================================================== + // XTypeProvider virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); - //===== XAccessibleSelection ============================================ + // XAccessibleSelection virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) @@ -193,7 +189,7 @@ public: throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); - //====== thread safe C++ interface ======================================== + // thread safe C++ interface // The object is not visible an longer and should be destroyed virtual void Dispose( sal_Bool bRecursive = sal_False ); diff --git a/sw/source/core/access/accembedded.hxx b/sw/source/core/access/accembedded.hxx index 829dee0..402b757 100644 --- a/sw/source/core/access/accembedded.hxx +++ b/sw/source/core/access/accembedded.hxx @@ -32,28 +32,25 @@ public: SwAccessibleEmbeddedObject( SwAccessibleMap* pInitMap, const SwFlyFrm* pFlyFrm ); - //===== XServiceInfo ==================================================== + // XServiceInfo - /** Returns an identifier for the implementation of this object. - */ + // Returns an identifier for the implementation of this object. virtual ::rtl::OUString SAL_CALL getImplementationName (void) throw (::com::sun::star::uno::RuntimeException); - /** Return whether the specified service is supported by this class. - */ + // Return whether the specified service is supported by this class. virtual sal_Bool SAL_CALL supportsService (const ::rtl::OUString& sServiceName) throw (::com::sun::star::uno::RuntimeException); - /** Returns a list of all supported services. In this case that is just - the AccessibleContext service. - */ + // Returns a list of all supported services. In this case that is just + // the AccessibleContext service. virtual ::com::sun::star::uno::Sequence< ::rtl::OUString> SAL_CALL getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); - //===== XTypeProvider ==================================================== + // XTypeProvider virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); }; diff --git a/sw/source/core/access/accfootnote.hxx b/sw/source/core/access/accfootnote.hxx index a227cae..a2030db 100644 --- a/sw/source/core/access/accfootnote.hxx +++ b/sw/source/core/access/accfootnote.hxx @@ -41,14 +41,14 @@ public: const SwFtnFrm *pFtnFrm ); - //===== XAccessibleContext ============================================== + // XAccessibleContext /// Return this object's description. virtual ::rtl::OUString SAL_CALL getAccessibleDescription (void) throw (com::sun::star::uno::RuntimeException); - //===== XServiceInfo ==================================================== + // XServiceInfo /** Returns an identifier for the implementation of this object. */ @@ -69,7 +69,7 @@ public: getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); - //===== XTypeProvider ==================================================== + // XTypeProvider virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); static sal_Bool IsEndnote( const SwFtnFrm *pFrm ); diff --git a/sw/source/core/access/accgraphic.hxx b/sw/source/core/access/accgraphic.hxx index 389564f..11aa87c 100644 --- a/sw/source/core/access/accgraphic.hxx +++ b/sw/source/core/access/accgraphic.hxx @@ -32,7 +32,7 @@ public: SwAccessibleGraphic( SwAccessibleMap* pInitMap, const SwFlyFrm *pFlyFrm ); - //===== XServiceInfo ==================================================== + // XServiceInfo /** Returns an identifier for the implementation of this object. */ @@ -53,7 +53,7 @@ public: getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); - //===== XTypeProvider ==================================================== + // XTypeProvider virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); }; diff --git a/sw/source/core/access/accheaderfooter.hxx b/sw/source/core/access/accheaderfooter.hxx index d9cfb2e..e5f37a6 100644 --- a/sw/source/core/access/accheaderfooter.hxx +++ b/sw/source/core/access/accheaderfooter.hxx @@ -38,14 +38,14 @@ public: const SwFooterFrm* pFtFrm ); - //===== XAccessibleContext ============================================== + // XAccessibleContext /// Return this object's description. virtual ::rtl::OUString SAL_CALL getAccessibleDescription (void) throw (com::sun::star::uno::RuntimeException); - //===== XServiceInfo ==================================================== + // XServiceInfo /** Returns an identifier for the implementation of this object. */ @@ -66,7 +66,7 @@ public: getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); - //===== XTypeProvider ==================================================== + // XTypeProvider virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); }; diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index 3a50c9f..9193396 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -96,7 +96,6 @@ public: }; -//------------------------------------------------------------------------------ class SwDrawModellListener_Impl : public SfxListener, public ::cppu::WeakImplHelper1< document::XEventBroadcaster > { @@ -186,7 +185,6 @@ void SwDrawModellListener_Impl::Dispose() mpDrawModel = 0; } -//------------------------------------------------------------------------------ struct SwShapeFunc { bool operator()( const SdrObject * p1, @@ -292,7 +290,6 @@ SwAccessibleObjShape_Impl return pShapes; } -//------------------------------------------------------------------------------ struct SwAccessibleEvent_Impl { public: @@ -446,7 +443,6 @@ public: }; -//------------------------------------------------------------------------------ typedef ::std::list < SwAccessibleEvent_Impl > _SwAccessibleEventList_Impl; class SwAccessibleEventList_Impl: public _SwAccessibleEventList_Impl @@ -469,7 +465,6 @@ public: } }; -//------------------------------------------------------------------------------ // The shape list is filled if an accessible shape is destroyed. It // simply keeps a reference to the accessible shape's XShape. These // references are destroyed within the EndAction when firing events, @@ -490,8 +485,6 @@ public: SwShapeList_Impl() {} }; - -//------------------------------------------------------------------------------ struct SwAccessibleChildFunc { bool operator()( const SwAccessibleChild& r1, @@ -517,8 +510,6 @@ class SwAccessibleEventMap_Impl: public _SwAccessibleEventMap_Impl { }; -//------------------------------------------------------------------------------ - struct SwAccessibleParaSelection { xub_StrLen nStartOfSelection; @@ -744,7 +735,6 @@ void SwAccPreviewData::AdjustLogicPgRectToVisibleArea( _iorLogicPgSwRect.Bottom( _iorLogicPgSwRect.Bottom() - nTmpDiff ); } -//------------------------------------------------------------------------------ static bool AreInSameTable( const uno::Reference< XAccessible >& rAcc, const SwFrm *pFrm ) { @@ -1101,7 +1091,6 @@ void SwAccessibleMap::DoInvalidateShapeFocus() SwAccessibleObjShape_Impl *pSelShape = 0; size_t nShapes = 0; - { osl::MutexGuard aGuard( maMutex ); if( mpShapeMap ) @@ -1131,7 +1120,6 @@ void SwAccessibleMap::DoInvalidateShapeFocus() } } - SwAccessibleMap::SwAccessibleMap( ViewShell *pSh ) : mpFrmMap( 0 ), mpShapeMap( 0 ), @@ -1554,7 +1542,6 @@ uno::Reference< XAccessible> SwAccessibleMap::GetContext( return xAccImpl; } - void SwAccessibleMap::RemoveContext( const SwFrm *pFrm ) { osl::MutexGuard aGuard( maMutex ); @@ -1617,7 +1604,6 @@ void SwAccessibleMap::RemoveContext( const SdrObject *pObj ) } } - void SwAccessibleMap::Dispose( const SwFrm *pFrm, const SdrObject *pObj, Window* pWindow, diff --git a/sw/source/core/access/accnotextframe.cxx b/sw/source/core/access/accnotextframe.cxx index eddcc3b..d86aec4 100644 --- a/sw/source/core/access/accnotextframe.cxx +++ b/sw/source/core/access/accnotextframe.cxx @@ -181,11 +181,7 @@ OUString SAL_CALL SwAccessibleNoTextFrame::getAccessibleDescription (void) return msDesc; } - - -// // XInterface -// uno::Any SAL_CALL SwAccessibleNoTextFrame::queryInterface( const uno::Type& aType ) throw (uno::RuntimeException) @@ -203,7 +199,8 @@ uno::Any SAL_CALL SwAccessibleNoTextFrame::queryInterface( const uno::Type& aTyp } -//====== XTypeProvider ==================================================== +// XTypeProvider + uno::Sequence< uno::Type > SAL_CALL SwAccessibleNoTextFrame::getTypes() throw(uno::RuntimeException) { uno::Sequence< uno::Type > aTypes( SwAccessibleFrameBase::getTypes() ); @@ -217,14 +214,10 @@ uno::Sequence< uno::Type > SAL_CALL SwAccessibleNoTextFrame::getTypes() throw(un return aTypes; } - -// -// XAccessibleImage -// - -// implementation of the XAccessibleImage methods is a no-brainer, as -// all releveant information is already accessible through other -// methods. So we just delegate to those. +/// XAccessibleImage +/** implementation of the XAccessibleImage methods is a no-brainer, as + all releveant information is already accessible through other + methods. So we just delegate to those. */ OUString SAL_CALL SwAccessibleNoTextFrame::getAccessibleImageDescription() throw ( uno::RuntimeException ) diff --git a/sw/source/core/access/accnotextframe.hxx b/sw/source/core/access/accnotextframe.hxx index 3cdebfe..19329fc 100644 --- a/sw/source/core/access/accnotextframe.hxx +++ b/sw/source/core/access/accnotextframe.hxx @@ -45,7 +45,7 @@ public: sal_Int16 nInitRole, const SwFlyFrm *pFlyFrm ); - //===== XAccessibleContext ============================================== + // XAccessibleContext // #i73249# - Return the object's current name. virtual ::rtl::OUString SAL_CALL @@ -57,8 +57,6 @@ public: getAccessibleDescription (void) throw (com::sun::star::uno::RuntimeException); - //===== XInterface ====================================================== - // XInterface methods need to be implemented to disambiguate // between those inherited through SwAcessibleContext and // XAccessibleImage. @@ -73,11 +71,10 @@ public: virtual void SAL_CALL release( ) throw () { SwAccessibleContext::release(); }; - //====== XTypeProvider ==================================================== + // XTypeProvider virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); - //===== XAccessibleImage ================================================ - + // XAccessibleImage virtual ::rtl::OUString SAL_CALL getAccessibleImageDescription( ) throw ( ::com::sun::star::uno::RuntimeException ); diff --git a/sw/source/core/access/accpage.hxx b/sw/source/core/access/accpage.hxx index 09dc0c8..077c567 100644 --- a/sw/source/core/access/accpage.hxx +++ b/sw/source/core/access/accpage.hxx @@ -57,18 +57,12 @@ public: // may only be called with SwPageFrm argument SwAccessiblePage( SwAccessibleMap* pInitMap, const SwFrm* pFrame ); - - - // // XAccessibleContext methods that need to be overridden - // virtual ::rtl::OUString SAL_CALL getAccessibleDescription (void) throw (::com::sun::star::uno::RuntimeException); - // // XServiceInfo - // virtual ::rtl::OUString SAL_CALL getImplementationName (void) throw (::com::sun::star::uno::RuntimeException); @@ -79,7 +73,7 @@ public: getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); - //===== XTypeProvider ==================================================== + // XTypeProvider virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); virtual sal_Bool HasCursor(); // required by map to remember that object diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index c4df0e2..a1c2829 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -388,7 +388,6 @@ void SwAccessibleParagraph::_InvalidateContent( sal_Bool bVisibleDataFired ) bIsHeading = bNewIsHeading; } - if( bNewIsHeading != bOldIsHeading || rText != sOldText ) { OUString sNewDesc( GetDescription() ); @@ -438,7 +437,6 @@ void SwAccessibleParagraph::_InvalidateCursorPos() if( pWin && pWin->HasFocus() && -1 == nOld ) FireStateChangedEvent( AccessibleStateType::FOCUSED, sal_True ); - AccessibleEventObject aEvent; aEvent.EventId = AccessibleEventId::CARET_CHANGED; aEvent.OldValue <<= nOld; @@ -531,7 +529,6 @@ void SwAccessibleParagraph::ClearPortionData() pHyperTextData = 0; } - void SwAccessibleParagraph::ExecuteAtViewShell( sal_uInt16 nSlot ) { OSL_ENSURE( GetMap() != NULL, "no map?" ); @@ -587,10 +584,7 @@ SwXTextPortion* SwAccessibleParagraph::CreateUnoPortion( return pPortion; } - -// // range checking for parameter -// sal_Bool SwAccessibleParagraph::IsValidChar( sal_Int32 nPos, sal_Int32 nLength) @@ -610,11 +604,7 @@ sal_Bool SwAccessibleParagraph::IsValidRange( return IsValidPosition(nBegin, nLength) && IsValidPosition(nEnd, nLength); } - -// // text boundaries -// - sal_Bool SwAccessibleParagraph::GetCharBoundary( i18n::Boundary& rBound, @@ -831,7 +821,7 @@ lang::Locale SAL_CALL SwAccessibleParagraph::getLocale (void) return aLoc; } -/** #i27138# - paragraphs are in relation CONTENT_FLOWS_FROM and/or CONTENT_FLOWS_TO */ +// #i27138# - paragraphs are in relation CONTENT_FLOWS_FROM and/or CONTENT_FLOWS_TO uno::Reference<XAccessibleRelationSet> SAL_CALL SwAccessibleParagraph::getAccessibleRelationSet() throw ( uno::RuntimeException ) { @@ -896,15 +886,14 @@ void SAL_CALL SwAccessibleParagraph::grabFocus() // set PaM at cursor shell Select( aPaM ); - } - /* ->#i13955# */ + // ->#i13955# Window * pWindow = GetWindow(); if (pWindow != NULL) pWindow->GrabFocus(); - /* <-#i13955# */ + // <-#i13955# } // #i71385# @@ -999,9 +988,7 @@ uno::Sequence< OUString > SAL_CALL SwAccessibleParagraph::getSupportedServiceNam return aRet; } -// -//===== XInterface ======================================================= -// +// XInterface uno::Any SwAccessibleParagraph::queryInterface( const uno::Type& rType ) throw (uno::RuntimeException) @@ -1055,7 +1042,7 @@ uno::Any SwAccessibleParagraph::queryInterface( const uno::Type& rType ) return aRet; } -//====== XTypeProvider ==================================================== +// XTypeProvider uno::Sequence< uno::Type > SAL_CALL SwAccessibleParagraph::getTypes() throw(uno::RuntimeException) { uno::Sequence< uno::Type > aTypes( SwAccessibleContext::getTypes() ); @@ -1088,10 +1075,7 @@ uno::Sequence< sal_Int8 > SAL_CALL SwAccessibleParagraph::getImplementationId() return theSwAccessibleParagraphImplementationId::get().getSeq(); } - -// -//===== XAccesibleText =================================================== -// +// XAccesibleText sal_Int32 SwAccessibleParagraph::getCaretPosition() throw (uno::RuntimeException) @@ -1241,7 +1225,7 @@ void SwAccessibleParagraph::_getDefaultAttributesImpl( // attributes are the character attributes, which are set at the paragraph style // of the paragraph. The character attributes set at the automatic paragraph // style of the paragraph are treated as run attributes. -// pTxtNode->SwCntntNode::GetAttr( *pSet ); + // pTxtNode->SwCntntNode::GetAttr( *pSet ); // get default paragraph attributes, if needed, and merge these into <pSet> if ( !bOnlyCharAttrs ) { @@ -1468,7 +1452,7 @@ void SwAccessibleParagraph::_getRunAttributesImpl( // From the perspective of the a11y API the character attributes, which // are set at the automatic paragraph style of the paragraph are treated // as run attributes. -// SwXTextCursor::GetCrsrAttr( *pPaM, aSet, sal_True, sal_True ); + // SwXTextCursor::GetCrsrAttr( *pPaM, aSet, sal_True, sal_True ); // get character attributes from automatic paragraph style and merge these into <aSet> { const SwTxtNode* pTxtNode( GetTxtNode() ); @@ -1596,13 +1580,12 @@ awt::Rectangle SwAccessibleParagraph::getCharacterBounds( CHECK_FOR_DEFUNC_THIS( XAccessibleText, *this ); - /* #i12332# The position after the string needs special treatment. - IsValidChar -> IsValidPosition - */ + // #i12332# The position after the string needs special treatment. + // IsValidChar -> IsValidPosition if( ! (IsValidPosition( nIndex, GetString().getLength() ) ) ) throw lang::IndexOutOfBoundsException(); - /* #i12332# */ + // #i12332# sal_Bool bBehindText = sal_False; if ( nIndex == GetString().getLength() ) bBehindText = sal_True; @@ -1616,7 +1599,7 @@ awt::Rectangle SwAccessibleParagraph::getCharacterBounds( sal_uInt16 nPos = 0; - /* #i12332# FillSpecialPos does not accept nIndex == + /** #i12332# FillSpecialPos does not accept nIndex == GetString().getLength(). In that case nPos is set to the length of the string in the core. This way GetCharRect returns the rectangle for a cursor at the end of the @@ -1686,8 +1669,8 @@ sal_Int32 SwAccessibleParagraph::getIndexAtPoint( const awt::Point& rPoint ) Point aCorePoint( GetMap()->PixelToCore( aPoint ) ); if( !aLogBounds.IsInside( aCorePoint ) ) { - /* #i12332# rPoint is may also be in rectangle returned by - getCharacterBounds(getCharacterCount() */ + // #i12332# rPoint is may also be in rectangle returned by + // getCharacterBounds(getCharacterCount() awt::Rectangle aRectEndPos = getCharacterBounds(getCharacterCount()); @@ -1973,10 +1956,7 @@ sal_Bool SwAccessibleParagraph::copyText( sal_Int32 nStartIndex, sal_Int32 nEndI return sal_True; } - -// -//===== XAccesibleEditableText ========================================== -// +// XAccesibleEditableText sal_Bool SwAccessibleParagraph::cutText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) @@ -2080,7 +2060,6 @@ struct IndexCompare } }; - sal_Bool SwAccessibleParagraph::setAttributes( sal_Int32 nStartIndex, sal_Int32 nEndIndex, @@ -2098,7 +2077,6 @@ sal_Bool SwAccessibleParagraph::setAttributes( if( !IsEditableState() ) return sal_False; - // create a (dummy) text portion for the sole purpose of calling // setPropertyValue on it uno::Reference<XMultiPropertySet> xPortion = CreateUnoPortion( nStartIndex, @@ -2147,7 +2125,7 @@ sal_Bool SwAccessibleParagraph::setText( const OUString& sText ) return replaceText(0, GetString().getLength(), sText); } -//===== XAccessibleSelection ============================================ +// XAccessibleSelection void SwAccessibleParagraph::selectAccessibleChild( sal_Int32 nChildIndex ) @@ -2214,7 +2192,7 @@ void SwAccessibleParagraph::deselectAccessibleChild( aSelectionHelper.deselectAccessibleChild( nChildIndex ); } -//===== XAccessibleHypertext ============================================ +// XAccessibleHypertext class SwHyperlinkIter_Impl { diff --git a/sw/source/core/access/accpara.hxx b/sw/source/core/access/accpara.hxx index 56b43f5..a1b426e 100644 --- a/sw/source/core/access/accpara.hxx +++ b/sw/source/core/access/accpara.hxx @@ -63,11 +63,11 @@ class SwAccessibleParagraph : ::rtl::OUString sDesc; // protected by base classes mutex - /// data for this paragraph's text portions; this contains the - /// mapping from the core 'model string' to the accessible text - /// string. - /// pPortionData may be NULL; it should only be accessed through the - /// Get/Clear/Has/UpdatePortionData() methods + // data for this paragraph's text portions; this contains the + // mapping from the core 'model string' to the accessible text + // string. + // pPortionData may be NULL; it should only be accessed through the + // Get/Clear/Has/UpdatePortionData() methods SwAccessiblePortionData* pPortionData; SwAccessibleHyperTextData *pHyperTextData; @@ -93,8 +93,8 @@ class SwAccessibleParagraph : // get the current care position sal_Int32 GetCaretPos(); - /// determine the current selection. Fill the values with - /// -1 if there is no selection in the this paragraph + // determine the current selection. Fill the values with + // -1 if there is no selection in the this paragraph sal_Bool GetSelection(sal_Int32& nStart, sal_Int32& nEnd); // helper for GetSelection and getCaretPosition @@ -102,27 +102,27 @@ class SwAccessibleParagraph : // if the cursor is retrieved for selection or for caret position. SwPaM* GetCursor( const bool _bForSelection ); - /// for cut/copy/paste: execute a particular slot at the view shell + // for cut/copy/paste: execute a particular slot at the view shell void ExecuteAtViewShell( sal_uInt16 nSlot ); - /// helper method for get/setAttributes - /// (for the special case of (nEndIndex==-1) a single character will - /// be selected) + // helper method for get/setAttributes + // (for the special case of (nEndIndex==-1) a single character will + // be selected) SwXTextPortion* CreateUnoPortion( sal_Int32 nStart, sal_Int32 nEnd ); // methods for checking the parameter range: - /// does nPos point to a char? + // does nPos point to a char? sal_Bool IsValidChar(sal_Int32 nPos, sal_Int32 nLength); - /// does nPos point to a position? (may be behind the last character) + // does nPos point to a position? (may be behind the last character) sal_Bool IsValidPosition(sal_Int32 nPos, sal_Int32 nLength); - /// is nBegin...nEnd a valid range? (nEnd points past the last character) + // is nBegin...nEnd a valid range? (nEnd points past the last character) sal_Bool IsValidRange(sal_Int32 nBegin, sal_Int32 nEnd, sal_Int32 nLength); - /// Ensure ordered range (i.e. nBegin is smaller then nEnd) + // Ensure ordered range (i.e. nBegin is smaller then nEnd) inline void OrderRange(sal_Int32& nBegin, sal_Int32& nEnd) { if( nBegin > nEnd ) @@ -159,16 +159,16 @@ protected: virtual ~SwAccessibleParagraph(); - //===== handling of data for the text portions =========================== + // handling of data for the text portions - /// force update of new portion data + // force update of new portion data void UpdatePortionData() throw( com::sun::star::uno::RuntimeException ); - /// remove the current portion data + // remove the current portion data void ClearPortionData(); - /// get portion data; update if necessary + // get portion data; update if necessary SwAccessiblePortionData& GetPortionData() throw( com::sun::star::uno::RuntimeException ) { @@ -177,11 +177,10 @@ protected: return *pPortionData; } - /// determine if portion data is currently available + // determine if portion data is currently available sal_Bool HasPortionData() { return (pPortionData != NULL); } - - //===== helpers for word boundaries ==================================== + //helpers for word boundaries sal_Bool GetCharBoundary( com::sun::star::i18n::Boundary& rBound, const rtl::OUString& rText, @@ -205,8 +204,8 @@ protected: const rtl::OUString& rText, sal_Int32 nPos ); - /// get boundaries of word/sentence/etc. for specified text type - /// Does all argument checking, and then delegates to helper methods above. + // get boundaries of word/sentence/etc. for specified text type + // Does all argument checking, and then delegates to helper methods above. sal_Bool GetTextBoundary( com::sun::star::i18n::Boundary& rBound, const rtl::OUString& rText, sal_Int32 nPos, @@ -227,27 +226,26 @@ public: virtual sal_Bool HasCursor(); // required by map to remember that object - //===== XAccessibleContext ============================================== + // XAccessibleContext - /// Return this object's description. + // Return this object's description. virtual ::rtl::OUString SAL_CALL getAccessibleDescription (void) throw (com::sun::star::uno::RuntimeException); - /** Return the parents locale or throw exception if this object has no - parent yet/anymore. - */ + // Return the parents locale or throw exception if this object has no + // parent yet/anymore. virtual ::com::sun::star::lang::Locale SAL_CALL getLocale (void) throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException); - /** #i27138# - paragraphs are in relation CONTENT_FLOWS_FROM and/or CONTENT_FLOWS_TO */ + // #i27138# - paragraphs are in relation CONTENT_FLOWS_FROM and/or CONTENT_FLOWS_TO virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL getAccessibleRelationSet (void) throw (::com::sun::star::uno::RuntimeException); - //===== XAccessibleComponent ============================================ + // XAccessibleComponent virtual void SAL_CALL grabFocus() throw (::com::sun::star::uno::RuntimeException); @@ -257,29 +255,26 @@ public: virtual sal_Int32 SAL_CALL getBackground() throw (::com::sun::star::uno::RuntimeException); - //===== XServiceInfo ==================================================== + // XServiceInfo - /** Returns an identifier for the implementation of this object. - */ + // Returns an identifier for the implementation of this object. virtual ::rtl::OUString SAL_CALL getImplementationName (void) throw (::com::sun::star::uno::RuntimeException); - /** Return whether the specified service is supported by this class. - */ + // Return whether the specified service is supported by this class. virtual sal_Bool SAL_CALL supportsService (const ::rtl::OUString& sServiceName) throw (::com::sun::star::uno::RuntimeException); - /** Returns a list of all supported services. In this case that is just - the AccessibleContext service. - */ + // Returns a list of all supported services. In this case that is just + // the AccessibleContext service. virtual ::com::sun::star::uno::Sequence< ::rtl::OUString> SAL_CALL getSupportedServiceNames (void) throw (::com::sun::star::uno::RuntimeException); - //===== XInterface ====================================================== + // XInterface // (XInterface methods need to be implemented to disambiguate // between those inherited through SwAcessibleContext and @@ -295,11 +290,11 @@ public: virtual void SAL_CALL release( ) throw () { SwAccessibleContext::release(); }; - //====== XTypeProvider ==================================================== + // XTypeProvider virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); - //===== XAccesibleText ================================================== + // XAccessibleText virtual sal_Int32 SAL_CALL getCaretPosition( ) throw (::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); @@ -318,7 +313,7 @@ public: virtual ::com::sun::star::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); - //===== XAccesibleEditableText ========================================== + // XAccessibleEditableText virtual sal_Bool SAL_CALL cutText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL pasteText( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL deleteText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); @@ -327,7 +322,7 @@ public: virtual sal_Bool SAL_CALL setAttributes( sal_Int32 nStartIndex, sal_Int32 nEndIndex, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aAttributeSet ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL setText( const ::rtl::OUString& sText ) throw (::com::sun::star::uno::RuntimeException); - //===== XAccessibleSelection ============================================ + // XAccessibleSelection virtual void SAL_CALL selectAccessibleChild( sal_Int32 nChildIndex ) throw ( ::com::sun::star::lang::IndexOutOfBoundsException, @@ -354,7 +349,7 @@ public: throw ( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException ); - //===== XAccessibleHypertext ============================================ + // XAccessibleHypertext virtual sal_Int32 SAL_CALL getHyperLinkCount() throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< @@ -367,7 +362,7 @@ public: ::com::sun::star::uno::RuntimeException); // #i71360# - //===== XAccesibleTextMarkup ============================================ + // XAccesibleTextMarkup virtual sal_Int32 SAL_CALL getTextMarkupCount( sal_Int32 nTextMarkupType ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); @@ -387,7 +382,7 @@ public: ::com::sun::star::uno::RuntimeException); // #i89175# - //===== XAccessibleMultiLineText ======================================== + // XAccessibleMultiLineText virtual sal_Int32 SAL_CALL getLineNumberAtIndex( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); @@ -405,7 +400,7 @@ public: throw (::com::sun::star::uno::RuntimeException); // #i63870# - //===== XAccesibleTextAttributes ======================================== + // XAccesibleTextAttributes virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getDefaultAttributes( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aRequestedAttributes ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getRunAttributes( sal_Int32 nIndex, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aRequestedAttributes ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); }; diff --git a/sw/source/core/access/accportions.cxx b/sw/source/core/access/accportions.cxx index 529d069..692b04e 100644 --- a/sw/source/core/access/accportions.cxx +++ b/sw/source/core/access/accportions.cxx @@ -52,18 +52,15 @@ #include "frmfmt.hxx" #include "fmtcntnt.hxx" - using namespace ::com::sun::star; using rtl::OUString; using rtl::OUStringBuffer; using i18n::Boundary; - // 'portion type' for terminating portions #define POR_TERMINATE 0 - // portion attributes #define PORATTR_SPECIAL 1 #define PORATTR_READONLY 2 @@ -230,7 +227,6 @@ void SwAccessiblePortionData::Finish() bFinished = sal_True; } - sal_Bool SwAccessiblePortionData::IsPortionAttrSet( size_t nPortionNo, sal_uInt8 nAttr ) const { @@ -278,7 +274,6 @@ sal_Bool SwAccessiblePortionData::IsGrayPortionType( sal_uInt16 nType ) const return bGray; } - const OUString& SwAccessiblePortionData::GetAccessibleString() const { OSL_ENSURE( bFinished, "Shouldn't call this before we are done!" ); @@ -455,7 +450,6 @@ size_t SwAccessiblePortionData::FindLastBreak( return nResult; } - void SwAccessiblePortionData::GetSentenceBoundary( Boundary& rBound, sal_Int32 nPos ) @@ -522,7 +516,6 @@ void SwAccessiblePortionData::GetAttributeBoundary( FindBreak( aAccessiblePositions, nPos ) ); } - sal_Int32 SwAccessiblePortionData::GetAccessiblePosition( sal_uInt16 nPos ) const { OSL_ENSURE( nPos <= pTxtNode->GetTxt().getLength(), "illegal position" ); diff --git a/sw/source/core/access/accpreview.cxx b/sw/source/core/access/accpreview.cxx index 7767232..79a496e 100644 --- a/sw/source/core/access/accpreview.cxx +++ b/sw/source/core/access/accpreview.cxx @@ -31,9 +31,7 @@ using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::Sequence; using ::rtl::OUString; -// // SwAccessiblePreview -// SwAccessiblePreview::SwAccessiblePreview( SwAccessibleMap *pMp ) : SwAccessibleDocumentBase( pMp ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits