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 ) ...@@ -256,7 +256,7 @@ void Outliner::SetDepth( Paragraph* pPara, sal_Int16 nNewDepth )
ImplCalcBulletText( nPara, false, false ); ImplCalcBulletText( nPara, false, false );
if ( ImplGetOutlinerMode() == OutlinerMode::OutlineObject ) if ( ImplGetOutlinerMode() == OutlinerMode::OutlineObject )
ImplSetLevelDependendStyleSheet( nPara ); ImplSetLevelDependentStyleSheet( nPara );
DepthChangedHdl(pPara, nPrevFlags); DepthChangedHdl(pPara, nPrevFlags);
} }
...@@ -685,10 +685,10 @@ void Outliner::ImplCheckNumBulletItem( sal_Int32 nPara ) ...@@ -685,10 +685,10 @@ void Outliner::ImplCheckNumBulletItem( sal_Int32 nPara )
pPara->aBulSize.Width() = -1; 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 ); SfxStyleSheet* pStyle = GetStyleSheet( nPara );
...@@ -1932,10 +1932,10 @@ OUString Outliner::ImplGetBulletText( sal_Int32 nPara ) ...@@ -1932,10 +1932,10 @@ OUString Outliner::ImplGetBulletText( sal_Int32 nPara )
} }
// this is needed for StarOffice Api // this is needed for StarOffice Api
void Outliner::SetLevelDependendStyleSheet( sal_Int32 nPara ) void Outliner::SetLevelDependentStyleSheet( sal_Int32 nPara )
{ {
SfxItemSet aOldAttrs( pEditEngine->GetParaAttribs( nPara ) ); SfxItemSet aOldAttrs( pEditEngine->GetParaAttribs( nPara ) );
ImplSetLevelDependendStyleSheet( nPara ); ImplSetLevelDependentStyleSheet( nPara );
pEditEngine->SetParaAttribs( nPara, aOldAttrs ); pEditEngine->SetParaAttribs( nPara, aOldAttrs );
} }
......
...@@ -536,7 +536,7 @@ void OutlinerView::Indent( short nDiff ) ...@@ -536,7 +536,7 @@ void OutlinerView::Indent( short nDiff )
pOwner->ImplCalcBulletText( nPara, false, false ); pOwner->ImplCalcBulletText( nPara, false, false );
if ( pOwner->ImplGetOutlinerMode() == OutlinerMode::OutlineObject ) if ( pOwner->ImplGetOutlinerMode() == OutlinerMode::OutlineObject )
pOwner->ImplSetLevelDependendStyleSheet( nPara ); pOwner->ImplSetLevelDependentStyleSheet( nPara );
// Notify App // Notify App
pOwner->DepthChangedHdl(pPara, nPrevFlags); pOwner->DepthChangedHdl(pPara, nPrevFlags);
...@@ -691,7 +691,7 @@ void OutlinerView::PasteSpecial() ...@@ -691,7 +691,7 @@ void OutlinerView::PasteSpecial()
const sal_Int32 nParaCount = pOwner->pEditEngine->GetParagraphCount(); const sal_Int32 nParaCount = pOwner->pEditEngine->GetParagraphCount();
for( sal_Int32 nPara = 0; nPara < nParaCount; nPara++ ) for( sal_Int32 nPara = 0; nPara < nParaCount; nPara++ )
pOwner->ImplSetLevelDependendStyleSheet( nPara ); pOwner->ImplSetLevelDependentStyleSheet( nPara );
} }
pEditView->SetEditEngineUpdateMode( true ); pEditView->SetEditEngineUpdateMode( true );
...@@ -1400,7 +1400,7 @@ sal_uLong OutlinerView::Read( SvStream& rInput, const OUString& rBaseURL, EEText ...@@ -1400,7 +1400,7 @@ sal_uLong OutlinerView::Read( SvStream& rInput, const OUString& rBaseURL, EEText
} }
if ( pOwner->ImplGetOutlinerMode() == OutlinerMode::OutlineObject ) if ( pOwner->ImplGetOutlinerMode() == OutlinerMode::OutlineObject )
pOwner->ImplSetLevelDependendStyleSheet( n ); pOwner->ImplSetLevelDependentStyleSheet( n );
} }
if ( eFormat != EE_FORMAT_BIN ) if ( eFormat != EE_FORMAT_BIN )
......
...@@ -478,7 +478,7 @@ bool SvxOutlinerForwarder::SetDepth( sal_Int32 nPara, sal_Int16 nNewDepth ) ...@@ -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); // const bool bOutlinerText = pSdrObject && (pSdrObject->GetObjInventor() == SdrInventor::Default) && (pSdrObject->GetObjIdentifier() == OBJ_OUTLINETEXT);
if( bOutlinerText ) if( bOutlinerText )
rOutliner.SetLevelDependendStyleSheet( nPara ); rOutliner.SetLevelDependentStyleSheet( nPara );
return true; return true;
} }
......
...@@ -132,14 +132,14 @@ css::uno::Any SAL_CALL HelpOnStartup::execute(const css::uno::Sequence< css::bea ...@@ -132,14 +132,14 @@ css::uno::Any SAL_CALL HelpOnStartup::execute(const css::uno::Sequence< css::bea
if (bShowIt) if (bShowIt)
{ {
// retrieve the help URL for the detected application module // retrieve the help URL for the detected application module
OUString sModuleDependendHelpURL = its_checkIfHelpEnabledAndGetURL(sModule); OUString sModuleDependentHelpURL = its_checkIfHelpEnabledAndGetURL(sModule);
if (!sModuleDependendHelpURL.isEmpty()) if (!sModuleDependentHelpURL.isEmpty())
{ {
// Show this help page. // Show this help page.
// Note: The help window brings itself to front ... // Note: The help window brings itself to front ...
Help* pHelp = Application::GetHelp(); Help* pHelp = Application::GetHelp();
if (pHelp) if (pHelp)
pHelp->Start(sModuleDependendHelpURL, nullptr); pHelp->Start(sModuleDependentHelpURL, nullptr);
} }
} }
......
...@@ -641,7 +641,7 @@ private: ...@@ -641,7 +641,7 @@ private:
OUString ImplGetBulletText( sal_Int32 nPara ); OUString ImplGetBulletText( sal_Int32 nPara );
void ImplCheckNumBulletItem( sal_Int32 nPara ); void ImplCheckNumBulletItem( sal_Int32 nPara );
void ImplInitDepth( sal_Int32 nPara, sal_Int16 nDepth, bool bCreateUndo ); void ImplInitDepth( sal_Int32 nPara, sal_Int16 nDepth, bool bCreateUndo );
void ImplSetLevelDependendStyleSheet( sal_Int32 nPara ); void ImplSetLevelDependentStyleSheet( sal_Int32 nPara );
void ImplBlockInsertionCallbacks( bool b ); void ImplBlockInsertionCallbacks( bool b );
...@@ -954,7 +954,7 @@ public: ...@@ -954,7 +954,7 @@ public:
const EditEngine& GetEditEngine() const; const EditEngine& GetEditEngine() const;
// this is needed for StarOffice Api // this is needed for StarOffice Api
void SetLevelDependendStyleSheet( sal_Int32 nPara ); void SetLevelDependentStyleSheet( sal_Int32 nPara );
OutlinerMode GetOutlinerMode() const { return nOutlinerMode; } OutlinerMode GetOutlinerMode() const { return nOutlinerMode; }
......
...@@ -28,10 +28,6 @@ ...@@ -28,10 +28,6 @@
#include <toolkit/awt/vclxwindow.hxx> #include <toolkit/awt/vclxwindow.hxx>
// class VCLXSystemDependendtWindow
class TOOLKIT_DLLPUBLIC VCLXSystemDependentWindow : public css::awt::XSystemDependentWindowPeer, class TOOLKIT_DLLPUBLIC VCLXSystemDependentWindow : public css::awt::XSystemDependentWindowPeer,
public VCLXWindow public VCLXWindow
{ {
...@@ -48,7 +44,7 @@ public: ...@@ -48,7 +44,7 @@ public:
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override; css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() 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; 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 ...@@ -198,7 +198,7 @@ public class DocumentView extends JFrame
/** /**
* Create the view frame for showing the office documents on demand. * 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 * an office XFrame and initialize it with a window. This
* window can be a pure toolkit window (means toolkit of office!) * window can be a pure toolkit window (means toolkit of office!)
* or a plugged java canvas - office window combination. * or a plugged java canvas - office window combination.
......
...@@ -286,7 +286,7 @@ uno::Reference<XAccessibleRelationSet> SAL_CALL ...@@ -286,7 +286,7 @@ uno::Reference<XAccessibleRelationSet> SAL_CALL
pRelationSet = mpAccDoc->GetRelationSet(&maCellAddress); pRelationSet = mpAccDoc->GetRelationSet(&maCellAddress);
if (!pRelationSet) if (!pRelationSet)
pRelationSet = new utl::AccessibleRelationSetHelper(); pRelationSet = new utl::AccessibleRelationSetHelper();
FillDependends(pRelationSet); FillDependents(pRelationSet);
FillPrecedents(pRelationSet); FillPrecedents(pRelationSet);
return pRelationSet; return pRelationSet;
} }
...@@ -392,7 +392,7 @@ ScDocument* ScAccessibleCell::GetDocument(ScTabViewShell* pViewShell) ...@@ -392,7 +392,7 @@ ScDocument* ScAccessibleCell::GetDocument(ScTabViewShell* pViewShell)
return pEditSource; return pEditSource;
} }
void ScAccessibleCell::FillDependends(utl::AccessibleRelationSetHelper* pRelationSet) void ScAccessibleCell::FillDependents(utl::AccessibleRelationSetHelper* pRelationSet)
{ {
if (mpDoc) if (mpDoc)
{ {
......
...@@ -152,7 +152,7 @@ private: ...@@ -152,7 +152,7 @@ private:
::std::unique_ptr< SvxEditSource > CreateEditSource(ScTabViewShell* pViewShell, ScAddress aCell, ScSplitPos eSplitPos); ::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 FillPrecedents(utl::AccessibleRelationSetHelper* pRelationSet);
void AddRelation(const ScAddress& rCell, void AddRelation(const ScAddress& rCell,
const sal_uInt16 aRelationType, const sal_uInt16 aRelationType,
......
...@@ -1208,7 +1208,7 @@ void View::OnEndPasteOrDrop( PasteOrDropInfos* pInfo ) ...@@ -1208,7 +1208,7 @@ void View::OnEndPasteOrDrop( PasteOrDropInfos* pInfo )
SdPage* pPage = static_cast< SdPage* >( pTextObj->GetPage() ); SdPage* pPage = static_cast< SdPage* >( pTextObj->GetPage() );
const PresObjKind eKind = pPage->GetPresObjKind(pTextObj); 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 ) if( eKind == PRESOBJ_OUTLINE )
return; 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