summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx2
-rw-r--r--cui/source/dialogs/iconcdlg.cxx2
-rw-r--r--cui/source/options/connpooloptions.cxx2
-rw-r--r--cui/source/tabpages/autocdlg.cxx2
-rw-r--r--cui/source/tabpages/numfmt.cxx4
5 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index 4ff53ba2457a..067397cef2e8 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -402,7 +402,7 @@ namespace svx
void SuggestionDisplay::StateChanged( StateChangedType nStateChange )
{
- if( STATE_CHANGE_VISIBLE == nStateChange )
+ if( StateChangedType::VISIBLE == nStateChange )
implUpdateDisplay();
}
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index b85829c22f08..835829d77b79 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -133,7 +133,7 @@ void IconChoicePage::StateChanged( StateChangedType nType )
{
Window::StateChanged( nType );
- if ( nType == STATE_CHANGE_CONTROLBACKGROUND )
+ if ( nType == StateChangedType::CONTROLBACKGROUND )
{
ImplInitSettings();
Invalidate();
diff --git a/cui/source/options/connpooloptions.cxx b/cui/source/options/connpooloptions.cxx
index f905137967c5..7743d8207874 100644
--- a/cui/source/options/connpooloptions.cxx
+++ b/cui/source/options/connpooloptions.cxx
@@ -220,7 +220,7 @@ namespace offapp
void DriverListControl::StateChanged( StateChangedType nStateChange )
{
- if (STATE_CHANGE_ENABLE == nStateChange)
+ if (StateChangedType::ENABLE == nStateChange)
Window::Invalidate(INVALIDATE_UPDATE);
EditBrowseBox::StateChanged( nStateChange );
}
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 7475cd1af6f9..e52956604e5a 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -884,7 +884,7 @@ void OfaAutocorrReplacePage::StateChanged(StateChangedType nStateChange)
{
SfxTabPage::StateChanged(nStateChange);
- if (nStateChange == STATE_CHANGE_INITSHOW)
+ if (nStateChange == StateChangedType::INITSHOW)
{
setTabs();
}
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 4121b72341d7..ed1599155ae1 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -205,9 +205,9 @@ void SvxNumberPreview::InitSettings( bool bForeground, bool bBackground )
void SvxNumberPreview::StateChanged( StateChangedType nType )
{
- if ( nType == STATE_CHANGE_CONTROLFOREGROUND )
+ if ( nType == StateChangedType::CONTROLFOREGROUND )
InitSettings( true, false );
- else if ( nType == STATE_CHANGE_CONTROLBACKGROUND )
+ else if ( nType == StateChangedType::CONTROLBACKGROUND )
InitSettings( false, true );
Window::StateChanged( nType );