diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-16 15:51:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-17 08:45:15 +0200 |
commit | 48cb92cb1671bfdef3fcf43978455f19b26ca7bd (patch) | |
tree | c50dec2c019daff055e253d1b8230d8d00b8b369 /svx/source/tbxctrls | |
parent | 430b93f7f3c9f5aeb89db634447cb554acd125aa (diff) |
convert XPropertyListType to scoped enum
Change-Id: I071c0d17c7c5982af47bccd92580bbac62bdf7b3
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r-- | svx/source/tbxctrls/Palette.cxx | 2 | ||||
-rw-r--r-- | svx/source/tbxctrls/PaletteManager.cxx | 2 | ||||
-rw-r--r-- | svx/source/tbxctrls/fillctrl.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/tbxctrls/Palette.cxx b/svx/source/tbxctrls/Palette.cxx index 82789e99e193..aecaf565e86e 100644 --- a/svx/source/tbxctrls/Palette.cxx +++ b/svx/source/tbxctrls/Palette.cxx @@ -347,7 +347,7 @@ void PaletteSOC::LoadColorSet( SvxColorValueSet& rColorSet ) if( !mbLoadedPalette ) { mbLoadedPalette = true; - mpColorList = XPropertyList::AsColorList(XPropertyList::CreatePropertyListFromURL(XCOLOR_LIST, maFPath)); + mpColorList = XPropertyList::AsColorList(XPropertyList::CreatePropertyListFromURL(XPropertyListType::Color, maFPath)); (void)mpColorList->Load(); } rColorSet.Clear(); diff --git a/svx/source/tbxctrls/PaletteManager.cxx b/svx/source/tbxctrls/PaletteManager.cxx index e2dbe421c885..cccf1672bc24 100644 --- a/svx/source/tbxctrls/PaletteManager.cxx +++ b/svx/source/tbxctrls/PaletteManager.cxx @@ -189,7 +189,7 @@ void PaletteManager::SetPalette( sal_Int32 nPos ) { pColorList = XPropertyList::AsColorList( XPropertyList::CreatePropertyListFromURL( - XCOLOR_LIST, GetSelectedPalettePath())); + XPropertyListType::Color, GetSelectedPalettePath())); pColorList->SetName(GetPaletteName()); if(pColorList->Load()) { diff --git a/svx/source/tbxctrls/fillctrl.cxx b/svx/source/tbxctrls/fillctrl.cxx index 96f160254285..9251ff39eb89 100644 --- a/svx/source/tbxctrls/fillctrl.cxx +++ b/svx/source/tbxctrls/fillctrl.cxx @@ -499,7 +499,7 @@ void SvxFillToolBoxControl::Update() XBitmapListRef xBitmapList = XPropertyList::AsBitmapList( XPropertyList::CreatePropertyList( - XBITMAP_LIST, "TmpList", ""/*TODO?*/)); + XPropertyListType::Bitmap, "TmpList", ""/*TODO?*/)); xBitmapList->Insert(o3tl::make_unique<XBitmapEntry>(mpBitmapItem->GetGraphicObject(), aTmpStr)); xBitmapList->SetDirty( false ); mpLbFillAttr->Fill( xBitmapList ); |