diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-20 15:50:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-22 10:28:41 +0200 |
commit | 8d3eefd3b2b6dad051247fbd4a8097bb154617e1 (patch) | |
tree | d3f5b29d0006197893da0b8b94ab455a230c9bfb /svx | |
parent | 923de833be3131c36cd2b5952f3311f810aac01b (diff) |
convert TREEFLAG_ constants to scoped enum
Change-Id: Ibf9eab757fbe94dbff3fd09472f3ca74fffd5094
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/ctredlin.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/fontlb.cxx | 2 | ||||
-rw-r--r-- | svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index 3cd2d2628c2b..5406ba14804d 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -334,7 +334,7 @@ SvTreeListEntry* SvxRedlinTable::CreateEntry() const void SvxRedlinTable::InitEntry(SvTreeListEntry* pEntry, const OUString& rStr, const Image& rColl, const Image& rExp, SvLBoxButtonKind eButtonKind) { - if (nTreeFlags & TREEFLAG_CHKBTN) + if (nTreeFlags & SvTreeFlags::CHKBTN) { pEntry->AddItem(new SvLBoxButton(pEntry, eButtonKind, 0, pCheckButtonData)); } diff --git a/svx/source/dialog/fontlb.cxx b/svx/source/dialog/fontlb.cxx index 5ae4c21b651d..d36bc4291d44 100644 --- a/svx/source/dialog/fontlb.cxx +++ b/svx/source/dialog/fontlb.cxx @@ -136,7 +136,7 @@ void SvxFontListBox::InitEntry( { if( mbUseFont ) { - if( nTreeFlags & TREEFLAG_CHKBTN ) + if( nTreeFlags & SvTreeFlags::CHKBTN ) pEntry->AddItem( new SvLBoxButton( pEntry, eButtonKind, 0, pCheckButtonData ) ); pEntry->AddItem( new SvLBoxContextBmp(pEntry, 0, rCollImg, rExpImg, true) ); diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx index 9d8b6e68b5bd..bfb4240d74e4 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx @@ -318,7 +318,7 @@ SvLBoxItem* DictionaryList::getItemAtColumn( SvTreeListEntry* pEntry, sal_uInt16 { sal_uInt16 nCount = pEntry->ItemCount(); nColumn++; - if( nTreeFlags & TREEFLAG_CHKBTN ) + if( nTreeFlags & SvTreeFlags::CHKBTN ) nColumn++; if( nColumn < nCount ) pItem = pEntry->GetItem( nColumn ); |