Kaydet (Commit) e1e4efdc authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Typo: s/dependend/dependent/i

Change-Id: If02798894ad6f0e0442ed60aaec6eca40e6dcb61
üst 5c54971c
......@@ -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 );
}
......
......@@ -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 )
......
......@@ -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;
}
......
......@@ -132,14 +132,14 @@ css::uno::Any SAL_CALL HelpOnStartup::execute(const css::uno::Sequence< css::bea
if (bShowIt)
{
// retrieve the help URL for the detected application module
OUString sModuleDependendHelpURL = its_checkIfHelpEnabledAndGetURL(sModule);
if (!sModuleDependendHelpURL.isEmpty())
OUString sModuleDependentHelpURL = its_checkIfHelpEnabledAndGetURL(sModule);
if (!sModuleDependentHelpURL.isEmpty())
{
// Show this help page.
// Note: The help window brings itself to front ...
Help* pHelp = Application::GetHelp();
if (pHelp)
pHelp->Start(sModuleDependendHelpURL, nullptr);
pHelp->Start(sModuleDependentHelpURL, nullptr);
}
}
......
......@@ -641,7 +641,7 @@ private:
OUString ImplGetBulletText( sal_Int32 nPara );
void ImplCheckNumBulletItem( sal_Int32 nPara );
void ImplInitDepth( sal_Int32 nPara, sal_Int16 nDepth, bool bCreateUndo );
void ImplSetLevelDependendStyleSheet( sal_Int32 nPara );
void ImplSetLevelDependentStyleSheet( sal_Int32 nPara );
void ImplBlockInsertionCallbacks( bool b );
......@@ -954,7 +954,7 @@ public:
const EditEngine& GetEditEngine() const;
// this is needed for StarOffice Api
void SetLevelDependendStyleSheet( sal_Int32 nPara );
void SetLevelDependentStyleSheet( sal_Int32 nPara );
OutlinerMode GetOutlinerMode() const { return nOutlinerMode; }
......
......@@ -28,10 +28,6 @@
#include <toolkit/awt/vclxwindow.hxx>
// class VCLXSystemDependendtWindow
class TOOLKIT_DLLPUBLIC VCLXSystemDependentWindow : public css::awt::XSystemDependentWindowPeer,
public VCLXWindow
{
......@@ -48,7 +44,7 @@ public:
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
// css::awt::XSystemDependendtWindowPeer
// css::awt::XSystemDependentWindowPeer
css::uno::Any SAL_CALL getWindowHandle( const css::uno::Sequence< sal_Int8 >& ProcessId, sal_Int16 SystemType ) override;
};
......
......@@ -198,7 +198,7 @@ public class DocumentView extends JFrame
/**
* Create the view frame for showing the office documents on demand.
* Dependend from given command line parameter we create
* Depending on given command line parameter we create
* an office XFrame and initialize it with a window. This
* window can be a pure toolkit window (means toolkit of office!)
* or a plugged java canvas - office window combination.
......
......@@ -286,7 +286,7 @@ uno::Reference<XAccessibleRelationSet> SAL_CALL
pRelationSet = mpAccDoc->GetRelationSet(&maCellAddress);
if (!pRelationSet)
pRelationSet = new utl::AccessibleRelationSetHelper();
FillDependends(pRelationSet);
FillDependents(pRelationSet);
FillPrecedents(pRelationSet);
return pRelationSet;
}
......@@ -392,7 +392,7 @@ ScDocument* ScAccessibleCell::GetDocument(ScTabViewShell* pViewShell)
return pEditSource;
}
void ScAccessibleCell::FillDependends(utl::AccessibleRelationSetHelper* pRelationSet)
void ScAccessibleCell::FillDependents(utl::AccessibleRelationSetHelper* pRelationSet)
{
if (mpDoc)
{
......
......@@ -152,7 +152,7 @@ private:
::std::unique_ptr< SvxEditSource > CreateEditSource(ScTabViewShell* pViewShell, ScAddress aCell, ScSplitPos eSplitPos);
void FillDependends(utl::AccessibleRelationSetHelper* pRelationSet);
void FillDependents(utl::AccessibleRelationSetHelper* pRelationSet);
void FillPrecedents(utl::AccessibleRelationSetHelper* pRelationSet);
void AddRelation(const ScAddress& rCell,
const sal_uInt16 aRelationType,
......
......@@ -1208,7 +1208,7 @@ void View::OnEndPasteOrDrop( PasteOrDropInfos* pInfo )
SdPage* pPage = static_cast< SdPage* >( pTextObj->GetPage() );
const PresObjKind eKind = pPage->GetPresObjKind(pTextObj);
// outline kinds are taken care of in Outliner::ImplSetLevelDependendStyleSheet
// outline kinds are taken care of in Outliner::ImplSetLevelDependentStyleSheet
if( eKind == PRESOBJ_OUTLINE )
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment