diff options
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 10 | ||||
-rw-r--r-- | editeng/source/outliner/outlvw.cxx | 6 | ||||
-rw-r--r-- | editeng/source/uno/unoforou.cxx | 2 | ||||
-rw-r--r-- | framework/source/jobs/helponstartup.cxx | 6 | ||||
-rw-r--r-- | include/editeng/outliner.hxx | 4 | ||||
-rw-r--r-- | include/toolkit/awt/vclxsystemdependentwindow.hxx | 6 | ||||
-rw-r--r-- | odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java | 2 | ||||
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleCell.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessibleCell.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/sdview.cxx | 2 |
10 files changed, 20 insertions, 24 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; } diff --git a/framework/source/jobs/helponstartup.cxx b/framework/source/jobs/helponstartup.cxx index 6a0cc10d1969..9996c85f4651 100644 --- a/framework/source/jobs/helponstartup.cxx +++ b/framework/source/jobs/helponstartup.cxx @@ -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); } } diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index fea6253ac5fd..ef1540e17a0d 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -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; } diff --git a/include/toolkit/awt/vclxsystemdependentwindow.hxx b/include/toolkit/awt/vclxsystemdependentwindow.hxx index d136d50e35b5..64bbe35ddb86 100644 --- a/include/toolkit/awt/vclxsystemdependentwindow.hxx +++ b/include/toolkit/awt/vclxsystemdependentwindow.hxx @@ -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; }; diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java index 43b3d9851412..f91f7d8f7ecc 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java @@ -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. diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx b/sc/source/ui/Accessibility/AccessibleCell.cxx index 1ed01b3121e2..ab273e3202e6 100644 --- a/sc/source/ui/Accessibility/AccessibleCell.cxx +++ b/sc/source/ui/Accessibility/AccessibleCell.cxx @@ -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) { diff --git a/sc/source/ui/inc/AccessibleCell.hxx b/sc/source/ui/inc/AccessibleCell.hxx index 68adf6cd2ab7..ec9a125ea823 100644 --- a/sc/source/ui/inc/AccessibleCell.hxx +++ b/sc/source/ui/inc/AccessibleCell.hxx @@ -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, diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx index 2ff577af78a6..34d3ae3cf4bc 100644 --- a/sd/source/ui/view/sdview.cxx +++ b/sd/source/ui/view/sdview.cxx @@ -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; |