desktop.cxx (4e7d57d8) desktop.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

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

200
201 ::comphelper::NumberedCollection* pNumbers = new ::comphelper::NumberedCollection ();
202 m_xTitleNumberGenerator = css::uno::Reference< css::frame::XUntitledNumbers >(static_cast< ::cppu::OWeakObject* >(pNumbers), css::uno::UNO_QUERY_THROW);
203 pNumbers->setOwner ( static_cast< ::cppu::OWeakObject* >(this) );
204 pNumbers->setUntitledPrefix ( sUntitledPrefix.makeStringAndClear () );
205
206 // Safe impossible cases
207 // We can't work without this helper!
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

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

200
201 ::comphelper::NumberedCollection* pNumbers = new ::comphelper::NumberedCollection ();
202 m_xTitleNumberGenerator = css::uno::Reference< css::frame::XUntitledNumbers >(static_cast< ::cppu::OWeakObject* >(pNumbers), css::uno::UNO_QUERY_THROW);
203 pNumbers->setOwner ( static_cast< ::cppu::OWeakObject* >(this) );
204 pNumbers->setUntitledPrefix ( sUntitledPrefix.makeStringAndClear () );
205
206 // Safe impossible cases
207 // We can't work without this helper!
208 LOG_ASSERT2( m_xFramesHelper.is ()==sal_False, "Desktop::Desktop()", "Frames helper is not valid. XFrames, XIndexAccess and XElementAcces are not supported!\n")
208 LOG_ASSERT2( m_xFramesHelper.is ()==sal_False, "Desktop::Desktop()", "Frames helper is not valid. XFrames, XIndexAccess and XElementAccess are not supported!\n")
209 LOG_ASSERT2( m_xDispatchHelper.is()==sal_False, "Desktop::Desktop()", "Dispatch helper is not valid. XDispatch will not work correctly!\n" )
210
211 // Enable object for real working!
212 // Otherwise all calls will be rejected ...
213 m_aTransactionManager.setWorkingMode( E_WORK );
214 }
215 )
216

--- 1818 unchanged lines hidden ---
209 LOG_ASSERT2( m_xDispatchHelper.is()==sal_False, "Desktop::Desktop()", "Dispatch helper is not valid. XDispatch will not work correctly!\n" )
210
211 // Enable object for real working!
212 // Otherwise all calls will be rejected ...
213 m_aTransactionManager.setWorkingMode( E_WORK );
214 }
215 )
216

--- 1818 unchanged lines hidden ---