diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-02-06 14:46:00 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-02-06 16:03:34 +0200 |
commit | e1e4efdc71d00ab2255b311cd420f929384ebbfa (patch) | |
tree | 79da006b755c700346d50835490915e81da4ed3b /editeng/source/outliner | |
parent | 5c54971cbc4672fc7bb3a2fb26bb6eda229a7fa8 (diff) |
Typo: s/dependend/dependent/i
Change-Id: If02798894ad6f0e0442ed60aaec6eca40e6dcb61
Diffstat (limited to 'editeng/source/outliner')
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 10 | ||||
-rw-r--r-- | editeng/source/outliner/outlvw.cxx | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index ca1bdf3d3709..04db26f58e38 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -256,7 +256,7 @@ void Outliner::SetDepth( Paragraph* pPara, sal_Int16 nNewDepth ) ImplCalcBulletText( nPara, false, false ); if ( ImplGetOutlinerMode() == OutlinerMode::OutlineObject ) - ImplSetLevelDependendStyleSheet( nPara ); + ImplSetLevelDependentStyleSheet( nPara ); DepthChangedHdl(pPara, nPrevFlags); } @@ -685,10 +685,10 @@ void Outliner::ImplCheckNumBulletItem( sal_Int32 nPara ) pPara->aBulSize.Width() = -1; } -void Outliner::ImplSetLevelDependendStyleSheet( sal_Int32 nPara ) +void Outliner::ImplSetLevelDependentStyleSheet( sal_Int32 nPara ) { - DBG_ASSERT( ( ImplGetOutlinerMode() == OutlinerMode::OutlineObject ) || ( ImplGetOutlinerMode() == OutlinerMode::OutlineView ), "SetLevelDependendStyleSheet: Wrong Mode!" ); + DBG_ASSERT( ( ImplGetOutlinerMode() == OutlinerMode::OutlineObject ) || ( ImplGetOutlinerMode() == OutlinerMode::OutlineView ), "SetLevelDependentStyleSheet: Wrong Mode!" ); SfxStyleSheet* pStyle = GetStyleSheet( nPara ); @@ -1932,10 +1932,10 @@ OUString Outliner::ImplGetBulletText( sal_Int32 nPara ) } // this is needed for StarOffice Api -void Outliner::SetLevelDependendStyleSheet( sal_Int32 nPara ) +void Outliner::SetLevelDependentStyleSheet( sal_Int32 nPara ) { SfxItemSet aOldAttrs( pEditEngine->GetParaAttribs( nPara ) ); - ImplSetLevelDependendStyleSheet( nPara ); + ImplSetLevelDependentStyleSheet( nPara ); pEditEngine->SetParaAttribs( nPara, aOldAttrs ); } diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index 18c072bb7095..bf061d340fff 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -536,7 +536,7 @@ void OutlinerView::Indent( short nDiff ) pOwner->ImplCalcBulletText( nPara, false, false ); if ( pOwner->ImplGetOutlinerMode() == OutlinerMode::OutlineObject ) - pOwner->ImplSetLevelDependendStyleSheet( nPara ); + pOwner->ImplSetLevelDependentStyleSheet( nPara ); // Notify App pOwner->DepthChangedHdl(pPara, nPrevFlags); @@ -691,7 +691,7 @@ void OutlinerView::PasteSpecial() const sal_Int32 nParaCount = pOwner->pEditEngine->GetParagraphCount(); for( sal_Int32 nPara = 0; nPara < nParaCount; nPara++ ) - pOwner->ImplSetLevelDependendStyleSheet( nPara ); + pOwner->ImplSetLevelDependentStyleSheet( nPara ); } pEditView->SetEditEngineUpdateMode( true ); @@ -1400,7 +1400,7 @@ sal_uLong OutlinerView::Read( SvStream& rInput, const OUString& rBaseURL, EEText } if ( pOwner->ImplGetOutlinerMode() == OutlinerMode::OutlineObject ) - pOwner->ImplSetLevelDependendStyleSheet( n ); + pOwner->ImplSetLevelDependentStyleSheet( n ); } if ( eFormat != EE_FORMAT_BIN ) |