diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-09-07 18:03:51 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-09-09 12:00:17 +0200 |
commit | 60be4fb9a81a7d896e0b21b8b74944150b76918f (patch) | |
tree | ce33ef0f9a99967213a803562b0c076b8bf6d6ad /svx | |
parent | 4bbc45eb48f91a552a9583b6aad4d59b2dac96f8 (diff) |
svx: maLocalListner -> maLocalListener
Change-Id: Ie9ba310fcc57f27bcdbeb8dcb9ca1e0ecb35df0f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172998
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173064
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galbrws1.cxx | 24 | ||||
-rw-r--r-- | svx/source/inc/galbrws1.hxx | 2 |
2 files changed, 13 insertions, 13 deletions
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx index 4b961203e887..51dfd90d4a2c 100644 --- a/svx/source/gallery2/galbrws1.cxx +++ b/svx/source/gallery2/galbrws1.cxx @@ -248,7 +248,7 @@ void GalleryBrowser1::ImplFillExchangeData( const GalleryTheme* pThm, ExchangeDa void GalleryBrowser1::ImplGetExecuteVector(std::vector<OUString>& o_aExec) { - GalleryTheme* pTheme = mpGallery->AcquireTheme( GetSelectedTheme(), maLocalListner ); + GalleryTheme* pTheme = mpGallery->AcquireTheme( GetSelectedTheme(), maLocalListener ); if( !pTheme ) return; @@ -280,14 +280,14 @@ void GalleryBrowser1::ImplGetExecuteVector(std::vector<OUString>& o_aExec) o_aExec.emplace_back("properties"); - mpGallery->ReleaseTheme( pTheme, maLocalListner ); + mpGallery->ReleaseTheme( pTheme, maLocalListener ); } void GalleryBrowser1::ImplGalleryThemeProperties( std::u16string_view rThemeName, bool bCreateNew ) { DBG_ASSERT(!mpThemePropsDlgItemSet, "mpThemePropsDlgItemSet already set!"); mpThemePropsDlgItemSet.reset(new SfxItemSet( SfxGetpApp()->GetPool() )); - GalleryTheme* pTheme = mpGallery->AcquireTheme( rThemeName, maLocalListner ); + GalleryTheme* pTheme = mpGallery->AcquireTheme( rThemeName, maLocalListener ); ImplFillExchangeData( pTheme, *mpExchangeData ); @@ -337,7 +337,7 @@ void GalleryBrowser1::ImplEndGalleryThemeProperties(bool bCreateNew, sal_Int32 n } OUString aThemeName( mpExchangeData->pTheme->GetName() ); - mpGallery->ReleaseTheme( mpExchangeData->pTheme, maLocalListner ); + mpGallery->ReleaseTheme( mpExchangeData->pTheme, maLocalListener ); if ( bCreateNew && ( nRet != RET_OK ) ) { @@ -359,13 +359,13 @@ void GalleryBrowser1::ImplExecute(std::u16string_view rIdent) { if (rIdent == u"update") { - GalleryTheme* pTheme = mpGallery->AcquireTheme( GetSelectedTheme(), maLocalListner ); + GalleryTheme* pTheme = mpGallery->AcquireTheme( GetSelectedTheme(), maLocalListener ); SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); ScopedVclPtr<VclAbstractDialog> aActualizeProgress(pFact->CreateActualizeProgressDialog(mxThemes.get(), pTheme)); aActualizeProgress->Execute(); - mpGallery->ReleaseTheme( pTheme, maLocalListner ); + mpGallery->ReleaseTheme( pTheme, maLocalListener ); } else if (rIdent == u"delete") { @@ -376,7 +376,7 @@ void GalleryBrowser1::ImplExecute(std::u16string_view rIdent) } else if (rIdent == u"rename") { - GalleryTheme* pTheme = mpGallery->AcquireTheme( GetSelectedTheme(), maLocalListner ); + GalleryTheme* pTheme = mpGallery->AcquireTheme( GetSelectedTheme(), maLocalListener ); const OUString aOldName( pTheme->GetName() ); SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); @@ -399,11 +399,11 @@ void GalleryBrowser1::ImplExecute(std::u16string_view rIdent) mpGallery->RenameTheme( aOldName, aName ); } } - mpGallery->ReleaseTheme( pTheme, maLocalListner ); + mpGallery->ReleaseTheme( pTheme, maLocalListener ); } else if (rIdent == u"assign") { - GalleryTheme* pTheme = mpGallery->AcquireTheme( GetSelectedTheme(), maLocalListner ); + GalleryTheme* pTheme = mpGallery->AcquireTheme( GetSelectedTheme(), maLocalListener ); if (pTheme && !pTheme->IsReadOnly()) { @@ -414,7 +414,7 @@ void GalleryBrowser1::ImplExecute(std::u16string_view rIdent) pTheme->SetId( aDlg->GetId(), true ); } - mpGallery->ReleaseTheme( pTheme, maLocalListner ); + mpGallery->ReleaseTheme( pTheme, maLocalListener ); } else if (rIdent == u"properties") { @@ -1497,7 +1497,7 @@ void GalleryBrowser1::FillThemeEntries() const GalleryThemeEntry* pThemeInfo = mpGallery->GetThemeInfo( i ); OUString aThemeName = pThemeInfo->GetThemeName(); //sal_uInt32 nId = pThemeInfo->GetId(); - if (GalleryTheme* pTheme = mpGallery->AcquireTheme(aThemeName, maLocalListner)) + if (GalleryTheme* pTheme = mpGallery->AcquireTheme(aThemeName, maLocalListener)) { sal_uInt32 nObjectCount = pTheme->GetObjectCount(); for (size_t nObject = 0; nObject < nObjectCount; ++nObject) @@ -1508,7 +1508,7 @@ void GalleryBrowser1::FillThemeEntries() maAllThemeEntries.push_back(ThemeEntry(aThemeName, aTitle, nObject)); } } - mpGallery->ReleaseTheme(pTheme, maLocalListner); + mpGallery->ReleaseTheme(pTheme, maLocalListener); } } maFoundThemeEntries.assign(maAllThemeEntries.begin(), maAllThemeEntries.end()); diff --git a/svx/source/inc/galbrws1.hxx b/svx/source/inc/galbrws1.hxx index 50cffa1ddd7b..2796bbcc2e72 100644 --- a/svx/source/inc/galbrws1.hxx +++ b/svx/source/inc/galbrws1.hxx @@ -135,7 +135,7 @@ private: css::uno::Reference<css::util::XURLTransformer> m_xTransformer; CharClass m_aCharacterClassficator; - SfxListener maLocalListner; + SfxListener maLocalListener; void ImplInsertThemeEntry(const GalleryThemeEntry* pEntry); static void ImplFillExchangeData(const GalleryTheme* pThm, ExchangeData& rData); |