frame.cxx (7a164331) frame.cxx (fefd526c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 218 unchanged lines hidden (view full) ---

227 // We hold member as reference ... not as pointer too!
228 DropTargetListener* pDropListener = new DropTargetListener( m_xFactory, this );
229 m_xDropTargetListener = css::uno::Reference< css::datatransfer::dnd::XDropTargetListener >( static_cast< ::cppu::OWeakObject* >(pDropListener), css::uno::UNO_QUERY );
230
231 // Safe impossible cases
232 // We can't work without these helpers!
233 LOG_ASSERT2( xDispatchProvider.is ()==sal_False, "Frame::impl_initService()", "Slowest slave for dispatch- and interception helper isn't valid. XDispatchProvider, XDispatch, XDispatchProviderInterception are not full supported!" )
234 LOG_ASSERT2( m_xDispatchHelper.is ()==sal_False, "Frame::impl_initService()", "Interception helper isn't valid. XDispatchProvider, XDispatch, XDispatchProviderInterception are not full supported!" )
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 218 unchanged lines hidden (view full) ---

227 // We hold member as reference ... not as pointer too!
228 DropTargetListener* pDropListener = new DropTargetListener( m_xFactory, this );
229 m_xDropTargetListener = css::uno::Reference< css::datatransfer::dnd::XDropTargetListener >( static_cast< ::cppu::OWeakObject* >(pDropListener), css::uno::UNO_QUERY );
230
231 // Safe impossible cases
232 // We can't work without these helpers!
233 LOG_ASSERT2( xDispatchProvider.is ()==sal_False, "Frame::impl_initService()", "Slowest slave for dispatch- and interception helper isn't valid. XDispatchProvider, XDispatch, XDispatchProviderInterception are not full supported!" )
234 LOG_ASSERT2( m_xDispatchHelper.is ()==sal_False, "Frame::impl_initService()", "Interception helper isn't valid. XDispatchProvider, XDispatch, XDispatchProviderInterception are not full supported!" )
235 LOG_ASSERT2( m_xFramesHelper.is ()==sal_False, "Frame::impl_initService()", "Frames helper isn't valid. XFrames, XIndexAccess and XElementAcces are not supported!" )
235 LOG_ASSERT2( m_xFramesHelper.is ()==sal_False, "Frame::impl_initService()", "Frames helper isn't valid. XFrames, XIndexAccess and XElementAccess are not supported!" )
236 LOG_ASSERT2( m_xDropTargetListener.is()==sal_False, "Frame::impl_initService()", "DropTarget helper isn't valid. Drag and drop without functionality!" )
237
238 //-------------------------------------------------------------------------------------------------------------
239 // establish notifies for changing of "disabled commands" configuration during runtime
240 m_aCommandOptions.EstablisFrameCallback(this);
241
242 //-------------------------------------------------------------------------------------------------------------
243 // Create an initial layout manager

--- 3073 unchanged lines hidden ---
236 LOG_ASSERT2( m_xDropTargetListener.is()==sal_False, "Frame::impl_initService()", "DropTarget helper isn't valid. Drag and drop without functionality!" )
237
238 //-------------------------------------------------------------------------------------------------------------
239 // establish notifies for changing of "disabled commands" configuration during runtime
240 m_aCommandOptions.EstablisFrameCallback(this);
241
242 //-------------------------------------------------------------------------------------------------------------
243 // Create an initial layout manager

--- 3073 unchanged lines hidden ---