summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-02-06 14:46:00 +0200
committerTor Lillqvist <tml@collabora.com>2017-02-06 16:03:34 +0200
commite1e4efdc71d00ab2255b311cd420f929384ebbfa (patch)
tree79da006b755c700346d50835490915e81da4ed3b /editeng
parent5c54971cbc4672fc7bb3a2fb26bb6eda229a7fa8 (diff)
Typo: s/dependend/dependent/i
Change-Id: If02798894ad6f0e0442ed60aaec6eca40e6dcb61
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/outliner/outliner.cxx10
-rw-r--r--editeng/source/outliner/outlvw.cxx6
-rw-r--r--editeng/source/uno/unoforou.cxx2
3 files changed, 9 insertions, 9 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 )
diff --git a/editeng/source/uno/unoforou.cxx b/editeng/source/uno/unoforou.cxx
index 5a3f5f46cf97..c41bdac93a8a 100644
--- a/editeng/source/uno/unoforou.cxx
+++ b/editeng/source/uno/unoforou.cxx
@@ -478,7 +478,7 @@ bool SvxOutlinerForwarder::SetDepth( sal_Int32 nPara, sal_Int16 nNewDepth )
// const bool bOutlinerText = pSdrObject && (pSdrObject->GetObjInventor() == SdrInventor::Default) && (pSdrObject->GetObjIdentifier() == OBJ_OUTLINETEXT);
if( bOutlinerText )
- rOutliner.SetLevelDependendStyleSheet( nPara );
+ rOutliner.SetLevelDependentStyleSheet( nPara );
return true;
}