eformspropertyhandler.cxx (2a97ec55) eformspropertyhandler.cxx (3d762826)
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

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

284 {
285 EFormsPropertyHandler_Base::onNewComponent();
286
287 Reference< frame::XModel > xDocument( impl_getContextDocument_nothrow() );
288 DBG_ASSERT( xDocument.is(), "EFormsPropertyHandler::onNewComponent: no document!" );
289 if ( EFormsHelper::isEForm( xDocument ) )
290 m_pHelper.reset( new EFormsHelper( m_aMutex, m_xComponent, xDocument ) );
291 else
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

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

284 {
285 EFormsPropertyHandler_Base::onNewComponent();
286
287 Reference< frame::XModel > xDocument( impl_getContextDocument_nothrow() );
288 DBG_ASSERT( xDocument.is(), "EFormsPropertyHandler::onNewComponent: no document!" );
289 if ( EFormsHelper::isEForm( xDocument ) )
290 m_pHelper.reset( new EFormsHelper( m_aMutex, m_xComponent, xDocument ) );
291 else
292 m_pHelper.reset( NULL );
292 m_pHelper.reset();
293 }
294
295 //--------------------------------------------------------------------
296 Sequence< Property > SAL_CALL EFormsPropertyHandler::doDescribeSupportedProperties() const
297 {
298 ::std::vector< Property > aProperties;
299
300 if ( m_pHelper.get() )

--- 312 unchanged lines hidden ---
293 }
294
295 //--------------------------------------------------------------------
296 Sequence< Property > SAL_CALL EFormsPropertyHandler::doDescribeSupportedProperties() const
297 {
298 ::std::vector< Property > aProperties;
299
300 if ( m_pHelper.get() )

--- 312 unchanged lines hidden ---