diff options
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/accessibility/AccessibleImageBullet.cxx | 6 | ||||
-rw-r--r-- | editeng/source/accessibility/AccessibleStaticTextBase.cxx | 66 | ||||
-rw-r--r-- | editeng/source/misc/splwrap.cxx | 51 | ||||
-rw-r--r-- | editeng/source/outliner/outlundo.cxx | 20 | ||||
-rw-r--r-- | editeng/source/outliner/outlundo.hxx | 11 | ||||
-rw-r--r-- | editeng/source/uno/unopracc.cxx | 6 |
6 files changed, 0 insertions, 160 deletions
diff --git a/editeng/source/accessibility/AccessibleImageBullet.cxx b/editeng/source/accessibility/AccessibleImageBullet.cxx index 7fa0924a96cf..cac43b3b8b86 100644 --- a/editeng/source/accessibility/AccessibleImageBullet.cxx +++ b/editeng/source/accessibility/AccessibleImageBullet.cxx @@ -376,12 +376,6 @@ namespace accessibility return uno::Sequence< OUString > (&sServiceName, 1); } - OUString SAL_CALL AccessibleImageBullet::getServiceName (void) throw (uno::RuntimeException) - { - - return OUString("com.sun.star.accessibility.AccessibleContext"); - } - void AccessibleImageBullet::SetIndexInParent( sal_Int32 nIndex ) { diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx index e6d52b9a5270..a1497992fb51 100644 --- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx +++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx @@ -133,11 +133,6 @@ namespace accessibility mxThis = rInterface; } - uno::Reference< XAccessible > GetEventSource() const - { - - return mxThis; - } void SetOffset( const Point& ); Point GetOffset() const @@ -505,21 +500,6 @@ namespace accessibility { } - const SvxEditSource& AccessibleStaticTextBase::GetEditSource() const - { -#ifdef DBG_UTIL - mpImpl->CheckInvariants(); - - const SvxEditSource& aEditSource = mpImpl->GetEditSource(); - - mpImpl->CheckInvariants(); - - return aEditSource; -#else - return mpImpl->GetEditSource(); -#endif - } - void AccessibleStaticTextBase::SetEditSource( ::std::unique_ptr< SvxEditSource > && pEditSource ) { #ifdef DBG_UTIL @@ -549,21 +529,6 @@ namespace accessibility #endif } - uno::Reference< XAccessible > AccessibleStaticTextBase::GetEventSource() const - { -#ifdef DBG_UTIL - mpImpl->CheckInvariants(); - - uno::Reference< XAccessible > xRet( mpImpl->GetEventSource() ); - - mpImpl->CheckInvariants(); - - return xRet; -#else - return mpImpl->GetEventSource(); -#endif - } - void AccessibleStaticTextBase::SetOffset( const Point& rPoint ) { #ifdef DBG_UTIL @@ -580,37 +545,6 @@ namespace accessibility #endif } - Point AccessibleStaticTextBase::GetOffset() const - { -#ifdef DBG_UTIL - mpImpl->CheckInvariants(); - - Point aPoint( mpImpl->GetOffset() ); - - mpImpl->CheckInvariants(); - - return aPoint; -#else - return mpImpl->GetOffset(); -#endif - } - - void AccessibleStaticTextBase::UpdateChildren() - { -#ifdef DBG_UTIL - // precondition: solar mutex locked - DBG_TESTSOLARMUTEX(); - - mpImpl->CheckInvariants(); - - mpImpl->UpdateChildren(); - - mpImpl->CheckInvariants(); -#else - mpImpl->UpdateChildren(); -#endif - } - void AccessibleStaticTextBase::Dispose() { #ifdef DBG_UTIL diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx index 68449743ec87..69b2baca1fc4 100644 --- a/editeng/source/misc/splwrap.cxx +++ b/editeng/source/misc/splwrap.cxx @@ -272,88 +272,37 @@ void SvxSpellWrapper::SpellEnd() ShowLanguageErrors(); } - - - bool SvxSpellWrapper::SpellContinue() { return false; } - - void SvxSpellWrapper::AutoCorrect( const OUString&, const OUString& ) { } - - - void SvxSpellWrapper::ScrollArea() { // Set Scroll area } - - - void SvxSpellWrapper::ChangeWord( const OUString&, const sal_uInt16 ) { // Insert Word } - - - void SvxSpellWrapper::ChangeThesWord( const OUString& ) { // replace word due to Thesaurus. } - - -void SvxSpellWrapper::StartThesaurus( const OUString &rWord, sal_uInt16 nLanguage ) -{ - Reference< XThesaurus > xThes( SvxGetThesaurus() ); - if (!xThes.is()) - { - MessageDialog(pWin, EE_RESSTR(RID_SVXSTR_HMERR_THESAURUS), - VCL_MESSAGE_QUESTION, VCL_BUTTONS_YES_NO).Execute(); - return; - } - - WAIT_ON(); // while looking up for initial word - EditAbstractDialogFactory* pFact = EditAbstractDialogFactory::Create(); - boost::scoped_ptr<AbstractThesaurusDialog> pDlg(pFact->CreateThesaurusDialog( pWin, xThes, rWord, nLanguage )); - WAIT_OFF(); - if ( pDlg->Execute()== RET_OK ) - { - ChangeThesWord( pDlg->GetWord() ); - } -} - - - void SvxSpellWrapper::ReplaceAll( const OUString &, sal_Int16 ) { // Replace Word from the Replace list } - - - -void SvxSpellWrapper::SetLanguage( const sal_uInt16 ) -{ // Set Language -} - - - - void SvxSpellWrapper::InsertHyphen( const sal_uInt16 ) { // inserting and deleting Hyphae } - // Testing of the document areas in the order specified by the flags - - void SvxSpellWrapper::SpellDocument( ) { if ( bOtherCntnt ) diff --git a/editeng/source/outliner/outlundo.cxx b/editeng/source/outliner/outlundo.cxx index e0fb6e33d6d8..1803dd03fd09 100644 --- a/editeng/source/outliner/outlundo.cxx +++ b/editeng/source/outliner/outlundo.cxx @@ -118,12 +118,6 @@ void OutlinerUndoChangeDepth::Redo() GetOutliner()->ImplInitDepth( mnPara, mnNewDepth, false ); } -void OutlinerUndoChangeDepth::Repeat() -{ - OSL_FAIL( "Repeat not implemented!" ); -} - - OutlinerUndoCheckPara::OutlinerUndoCheckPara( Outliner* pOutliner, sal_Int32 nPara ) : OutlinerUndoBase( OLUNDO_DEPTH, pOutliner ) { @@ -144,12 +138,6 @@ void OutlinerUndoCheckPara::Redo() GetOutliner()->ImplCalcBulletText( mnPara, false, false ); } -void OutlinerUndoCheckPara::Repeat() -{ - OSL_FAIL( "Repeat not implemented!" ); -} - - OLUndoExpand::OLUndoExpand(Outliner* pOut, sal_uInt16 _nId ) : EditUndo( _nId, 0 ) { @@ -197,22 +185,14 @@ void OLUndoExpand::Restore( bool bUndo ) } } - void OLUndoExpand::Undo() { Restore( true ); } - void OLUndoExpand::Redo() { Restore( false ); } - -void OLUndoExpand::Repeat() -{ - OSL_FAIL("Not implemented"); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/outliner/outlundo.hxx b/editeng/source/outliner/outlundo.hxx index 5e60060ac988..e3b1af51cedc 100644 --- a/editeng/source/outliner/outlundo.hxx +++ b/editeng/source/outliner/outlundo.hxx @@ -77,7 +77,6 @@ public: class OutlinerUndoChangeDepth : public OutlinerUndoBase { - using SfxUndoAction::Repeat; private: sal_Int32 mnPara; sal_Int16 mnOldDepth; @@ -88,7 +87,6 @@ public: virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; - void Repeat(); }; // Help-Undo: If it does not exist an OutlinerUndoAction for a certain action @@ -96,7 +94,6 @@ public: // to be recalculated. class OutlinerUndoCheckPara : public OutlinerUndoBase { - using SfxUndoAction::Repeat; private: sal_Int32 mnPara; @@ -105,24 +102,16 @@ public: virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; - void Repeat(); }; - - - - - class OLUndoExpand : public EditUndo { - using SfxUndoAction::Repeat; void Restore( bool bUndo ); public: OLUndoExpand( Outliner* pOut, sal_uInt16 nId ); virtual ~OLUndoExpand(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; - void Repeat(); sal_uInt16* pParas; // 0 == nCount contains paragraph number Outliner* pOutliner; diff --git a/editeng/source/uno/unopracc.cxx b/editeng/source/uno/unopracc.cxx index e0d082f1aae7..59baa24002ab 100644 --- a/editeng/source/uno/unopracc.cxx +++ b/editeng/source/uno/unopracc.cxx @@ -47,12 +47,6 @@ uno::Reference< text::XText > SAL_CALL SvxAccessibleTextPropertySet::getText() t return uno::Reference< text::XText > (); } -uno::Any SAL_CALL SvxAccessibleTextPropertySet::queryAggregation( const uno::Type & ) throw(uno::RuntimeException) -{ - // TODO (empty?) - return uno::Any(); -} - uno::Any SAL_CALL SvxAccessibleTextPropertySet::queryInterface( const uno::Type & rType ) throw(uno::RuntimeException, std::exception) { |