From a5b5ad9f9306d868430ed9efd210b95c24a15161 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 9 Jan 2015 16:29:43 +0200 Subject: fdo#84938: replace DATACHANGED_ constants with 'enum class' and drop DATACHANGED_DATETIME because no-one is using it Change-Id: Id5ac9a7fbba0e35501ed82e5252f66858621f7ff --- toolkit/source/awt/stylesettings.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit') diff --git a/toolkit/source/awt/stylesettings.cxx b/toolkit/source/awt/stylesettings.cxx index 5250952e1abb..c65024971664 100644 --- a/toolkit/source/awt/stylesettings.cxx +++ b/toolkit/source/awt/stylesettings.cxx @@ -74,7 +74,7 @@ namespace toolkit if ( !i_pEvent || ( i_pEvent->GetId() != VCLEVENT_WINDOW_DATACHANGED ) ) return 0L; const DataChangedEvent* pDataChangedEvent = static_cast< const DataChangedEvent* >( i_pEvent->GetData() ); - if ( !pDataChangedEvent || ( pDataChangedEvent->GetType() != DATACHANGED_SETTINGS ) ) + if ( !pDataChangedEvent || ( pDataChangedEvent->GetType() != DataChangedEventType::SETTINGS ) ) return 0L; if ( ( pDataChangedEvent->GetFlags() & SETTINGS_STYLE ) == 0 ) return 0L; -- cgit