summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source')
-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 8fbb2439ec28..eb8b195c6e22 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -416,7 +416,7 @@ namespace svx
void SuggestionDisplay::StateChanged( StateChangedType nStateChange )
{
- if( StateChangedType::VISIBLE == nStateChange )
+ if( StateChangedType::Visible == nStateChange )
implUpdateDisplay();
}
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index d1c8c3523e9d..6174603b8107 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -120,7 +120,7 @@ void IconChoicePage::StateChanged( StateChangedType nType )
{
Window::StateChanged( nType );
- if ( nType == StateChangedType::CONTROLBACKGROUND )
+ if ( nType == StateChangedType::ControlBackground )
{
ImplInitSettings();
Invalidate();
diff --git a/cui/source/options/connpooloptions.cxx b/cui/source/options/connpooloptions.cxx
index d6e32b4e0441..1e67b366e2e8 100644
--- a/cui/source/options/connpooloptions.cxx
+++ b/cui/source/options/connpooloptions.cxx
@@ -221,7 +221,7 @@ namespace offapp
void DriverListControl::StateChanged( StateChangedType nStateChange )
{
- if (StateChangedType::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 32191b143978..20fcbcfd33b8 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -920,7 +920,7 @@ void OfaAutocorrReplacePage::StateChanged(StateChangedType nStateChange)
{
SfxTabPage::StateChanged(nStateChange);
- if (nStateChange == StateChangedType::INITSHOW)
+ if (nStateChange == StateChangedType::InitShow)
{
setTabs();
}
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 2663c39e2f9d..352077ea2721 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 == StateChangedType::CONTROLFOREGROUND )
+ if ( nType == StateChangedType::ControlForeground )
InitSettings( true, false );
- else if ( nType == StateChangedType::CONTROLBACKGROUND )
+ else if ( nType == StateChangedType::ControlBackground )
InitSettings( false, true );
Window::StateChanged( nType );