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 /cui/source/tabpages/tplneend.cxx | |
parent | 0a9f331de48e63d7188f7e253770debd5e3c180e (diff) |
convert CT_ constants to scoped enum
Change-Id: Icd1f009e879965feb936c6268688cdcd1edbd231
Diffstat (limited to 'cui/source/tabpages/tplneend.cxx')
-rw-r--r-- | cui/source/tabpages/tplneend.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/tabpages/tplneend.cxx b/cui/source/tabpages/tplneend.cxx index e33cd057f4ed..21f946c1e741 100644 --- a/cui/source/tabpages/tplneend.cxx +++ b/cui/source/tabpages/tplneend.cxx @@ -388,7 +388,7 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickModifyHdl_Impl) m_pLbLineEnds->SelectEntryPos( nPos ); // Flag fuer modifiziert setzen - *pnLineEndListState |= CT_MODIFIED; + *pnLineEndListState |= ChangeType::MODIFIED; *pPageType = 3; } @@ -490,7 +490,7 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickAddHdl_Impl) m_pLbLineEnds->Append( *pEntry, pLineEndList->GetUiBitmap( nLineEndCount ) ); m_pLbLineEnds->SelectEntryPos( m_pLbLineEnds->GetEntryCount() - 1 ); - *pnLineEndListState |= CT_MODIFIED; + *pnLineEndListState |= ChangeType::MODIFIED; SelectLineEndHdl_Impl( this ); } @@ -537,7 +537,7 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickDeleteHdl_Impl) SelectLineEndHdl_Impl( this ); *pPageType = 0; // LineEnd shall not be taken over - *pnLineEndListState |= CT_MODIFIED; + *pnLineEndListState |= ChangeType::MODIFIED; ChangePreviewHdl_Impl( this ); } @@ -558,7 +558,7 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickLoadHdl_Impl) { sal_uInt16 nReturn = RET_YES; - if ( *pnLineEndListState & CT_MODIFIED ) + if ( *pnLineEndListState & ChangeType::MODIFIED ) { nReturn = MessageDialog( GetParentDialog() ,"AskSaveList" @@ -599,8 +599,8 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickLoadHdl_Impl) pLineEndList->SetName( aURL.getName() ); - *pnLineEndListState |= CT_CHANGED; - *pnLineEndListState &= ~CT_MODIFIED; + *pnLineEndListState |= ChangeType::CHANGED; + *pnLineEndListState &= ~ChangeType::MODIFIED; } else MessageDialog( GetParentDialog() @@ -658,8 +658,8 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickSaveHdl_Impl) if( pLineEndList->Save() ) { - *pnLineEndListState |= CT_SAVED; - *pnLineEndListState &= ~CT_MODIFIED; + *pnLineEndListState |= ChangeType::SAVED; + *pnLineEndListState &= ~ChangeType::MODIFIED; } else { |