summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-29 13:25:05 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-30 06:41:15 +0000
commit8ac4240efe975e9689e8dfc23dc3c1b88eee6dcf (patch)
tree0ec90ad5e02bd191e7e36c3f862d10a7ff4c559a /sfx2
parent12aafb69fab3c7f91aa727ace19c1df7c53edd64 (diff)
Convert ApplicationEvent::Type to scoped enum
Change-Id: Ie65951d5fd1e155e3d3b36d4725792fb95fb9a52 Reviewed-on: https://gerrit.libreoffice.org/25608 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appdde.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx
index 4685749f473e..5d22e171a068 100644
--- a/sfx2/source/appl/appdde.cxx
+++ b/sfx2/source/appl/appdde.cxx
@@ -320,8 +320,8 @@ sal_Bool SfxAppEvent_Impl( const OUString& rCmd, const OUString& rEvent,
long SfxApplication::DdeExecute( const OUString& rCmd ) // Expressed in our BASIC-Syntax
{
// Print or Open-Event?
- if ( !( SfxAppEvent_Impl( rCmd, "Print", ApplicationEvent::TYPE_PRINT ) ||
- SfxAppEvent_Impl( rCmd, "Open", ApplicationEvent::TYPE_OPEN ) ) )
+ if ( !( SfxAppEvent_Impl( rCmd, "Print", ApplicationEvent::Type::Print ) ||
+ SfxAppEvent_Impl( rCmd, "Open", ApplicationEvent::Type::Open ) ) )
{
// all others are BASIC
StarBASIC* pBasic = GetBasic();