diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-12 09:37:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-12 11:24:08 +0200 |
commit | 7aa1dcc682a54890be2d23a1778758e1ec5b00fc (patch) | |
tree | 95055535b6ac46b5092e5d0c2f5e476fc579dbb0 | |
parent | 4c6e11886a9d396bf7be18e9e3209a73c6e303ad (diff) |
rename SfxFilterTupel->SfxFilterTuple
Change-Id: Idbbc5d0b28f7f876a774904d8279d342906b642d
Reviewed-on: https://gerrit.libreoffice.org/55662
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | include/sfx2/styfitem.hxx | 6 | ||||
-rw-r--r-- | sfx2/source/dialog/mgetempl.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/templdlg.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/sfx2/styfitem.hxx b/include/sfx2/styfitem.hxx index 1c72f4dffa94..d8f6057e7513 100644 --- a/include/sfx2/styfitem.hxx +++ b/include/sfx2/styfitem.hxx @@ -27,18 +27,18 @@ #include <svl/style.hxx> #include <vector> -struct SFX2_DLLPUBLIC SfxFilterTupel +struct SFX2_DLLPUBLIC SfxFilterTuple { OUString aName; SfxStyleSearchBits nFlags; - SfxFilterTupel(const OUString& rName, SfxStyleSearchBits nArg) + SfxFilterTuple(const OUString& rName, SfxStyleSearchBits nArg) : aName(rName) , nFlags(nArg) { } }; -typedef std::vector<SfxFilterTupel> SfxStyleFilter; +typedef std::vector<SfxFilterTuple> SfxStyleFilter; class SFX2_DLLPUBLIC SfxStyleFamilyItem { diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx index d930bab81598..7464708f1509 100644 --- a/sfx2/source/dialog/mgetempl.cxx +++ b/sfx2/source/dialog/mgetempl.cxx @@ -196,7 +196,7 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage(vcl::Window* pParent, const Sfx for ( i = 0; i < nCount; ++i ) { - const SfxFilterTupel& rTupel = rList[ i ]; + const SfxFilterTuple& rTupel = rList[ i ]; if ( rTupel.nFlags != SfxStyleSearchBits::Auto && rTupel.nFlags != SfxStyleSearchBits::Used && diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index 02453fb2f9a0..02e92bca8069 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -1125,7 +1125,7 @@ void SfxCommonTemplateDialog_Impl::UpdateStyles_Impl(StyleFlags nFlags) sal_Int32 nPos = aFilterLb->InsertEntry(SfxResId(STR_STYLE_FILTER_HIERARCHICAL), 0); aFilterLb->SetEntryData( nPos, reinterpret_cast<void*>(SfxStyleSearchBits::All) ); const SfxStyleFilter& rFilter = pItem->GetFilterList(); - for(const SfxFilterTupel& i : rFilter) + for(const SfxFilterTuple& i : rFilter) { SfxStyleSearchBits nFilterFlags = i.nFlags; nPos = aFilterLb->InsertEntry( i.aName ); @@ -1577,7 +1577,7 @@ bool SfxCommonTemplateDialog_Impl::Execute_Impl( for ( size_t i = 0; i < nFilterCount; ++i ) { - const SfxFilterTupel &rTupel = pFamilyItem->GetFilterList()[ i ]; + const SfxFilterTuple &rTupel = pFamilyItem->GetFilterList()[ i ]; if ( ( rTupel.nFlags & nFilterFlags ) == nFilterFlags && pIdx ) *pIdx = i; |