diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-24 16:13:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-29 10:41:40 +0200 |
commit | 468446b7fd4c547ee3f090366e886c212657bcd1 (patch) | |
tree | 66ccc254fcd223fe250ad23cface336ba0664c05 /sd | |
parent | 0a9f331de48e63d7188f7e253770debd5e3c180e (diff) |
convert CT_ constants to scoped enum
Change-Id: Icd1f009e879965feb936c6268688cdcd1edbd231
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/prltempl.cxx | 8 | ||||
-rw-r--r-- | sd/source/ui/dlg/tabtempl.cxx | 8 | ||||
-rw-r--r-- | sd/source/ui/inc/dlgpage.hxx | 3 |
3 files changed, 9 insertions, 10 deletions
diff --git a/sd/source/ui/dlg/prltempl.cxx b/sd/source/ui/dlg/prltempl.cxx index 42a02cc15734..74c010e36a03 100644 --- a/sd/source/ui/dlg/prltempl.cxx +++ b/sd/source/ui/dlg/prltempl.cxx @@ -215,10 +215,10 @@ SdPresLayoutTemplateDlg::SdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, nPageType = 0; nPos = 0; - nColorTableState = CT_NONE; - nBitmapListState = CT_NONE; - nGradientListState = CT_NONE; - nHatchingListState = CT_NONE; + nColorTableState = ChangeType::NONE; + nBitmapListState = ChangeType::NONE; + nGradientListState = ChangeType::NONE; + nHatchingListState = ChangeType::NONE; } SdPresLayoutTemplateDlg::~SdPresLayoutTemplateDlg() diff --git a/sd/source/ui/dlg/tabtempl.cxx b/sd/source/ui/dlg/tabtempl.cxx index e2e7613cabe8..61514ee29c0d 100644 --- a/sd/source/ui/dlg/tabtempl.cxx +++ b/sd/source/ui/dlg/tabtempl.cxx @@ -101,10 +101,10 @@ SdTabTemplateDlg::SdTabTemplateDlg( vcl::Window* pParent, nPageType = 0; nPos = 0; - nColorTableState = CT_NONE; - nBitmapListState = CT_NONE; - nGradientListState = CT_NONE; - nHatchingListState = CT_NONE; + nColorTableState = ChangeType::NONE; + nBitmapListState = ChangeType::NONE; + nGradientListState = ChangeType::NONE; + nHatchingListState = ChangeType::NONE; } void SdTabTemplateDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) diff --git a/sd/source/ui/inc/dlgpage.hxx b/sd/source/ui/inc/dlgpage.hxx index 2cdf0c4f9bbb..d80d776b8711 100644 --- a/sd/source/ui/inc/dlgpage.hxx +++ b/sd/source/ui/inc/dlgpage.hxx @@ -23,8 +23,7 @@ #include <sfx2/tabdlg.hxx> class SfxObjectShell; - -typedef sal_uInt16 ChangeType; +enum class ChangeType; /** * Page configuration-tab-dialog |