diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-16 08:16:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-16 08:17:34 +0200 |
commit | d76d15552d7ef9faddb0694e5f05d180e5798c14 (patch) | |
tree | e32629af3435a3d75e2aad57e6b0e7877a05462f /framework/source/loadenv | |
parent | ce3441c2d5b6267c437b7af362fc8d29e38c1dd4 (diff) |
convert FrameListAnalyzer::EDetect to scoped enum
Change-Id: I4e1bd449c4ad60ec810ef52c73d6c6ff3dd313ee
Diffstat (limited to 'framework/source/loadenv')
-rw-r--r-- | framework/source/loadenv/loadenv.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx index 4687489b07f4..c98fb8bcbba9 100644 --- a/framework/source/loadenv/loadenv.cxx +++ b/framework/source/loadenv/loadenv.cxx @@ -914,9 +914,9 @@ bool LoadEnv::impl_furtherDocsAllowed() FrameListAnalyzer aAnalyzer(xDesktop, css::uno::Reference< css::frame::XFrame >(), - FrameListAnalyzer::E_HELP | - FrameListAnalyzer::E_BACKINGCOMPONENT | - FrameListAnalyzer::E_HIDDEN); + FrameAnalyzerFlags::Help | + FrameAnalyzerFlags::BackingComponent | + FrameAnalyzerFlags::Hidden); sal_Int32 nOpenDocuments = aAnalyzer.m_lOtherVisibleFrames.size(); bAllowed = (nOpenDocuments < nMaxOpenDocuments); @@ -1352,7 +1352,7 @@ css::uno::Reference< css::frame::XFrame > LoadEnv::impl_searchRecycleTarget() return css::uno::Reference< css::frame::XFrame >(); css::uno::Reference< css::frame::XFramesSupplier > xSupplier( css::frame::Desktop::create( m_xContext ), css::uno::UNO_QUERY); - FrameListAnalyzer aTasksAnalyzer(xSupplier, css::uno::Reference< css::frame::XFrame >(), FrameListAnalyzer::E_BACKINGCOMPONENT); + FrameListAnalyzer aTasksAnalyzer(xSupplier, css::uno::Reference< css::frame::XFrame >(), FrameAnalyzerFlags::BackingComponent); if (aTasksAnalyzer.m_xBackingComponent.is()) { if (!impl_isFrameAlreadyUsedForLoading(aTasksAnalyzer.m_xBackingComponent)) |