submissionhandler.cxx (2a97ec55) submissionhandler.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

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

253 m_pPropChangeMultiplexer = NULL;
254 }
255
256 EditPropertyHandler_Base::onNewComponent();
257
258 Reference< frame::XModel > xDocument( impl_getContextDocument_nothrow() );
259 DBG_ASSERT( xDocument.is(), "SubmissionPropertyHandler::onNewComponent: no document!" );
260
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

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

253 m_pPropChangeMultiplexer = NULL;
254 }
255
256 EditPropertyHandler_Base::onNewComponent();
257
258 Reference< frame::XModel > xDocument( impl_getContextDocument_nothrow() );
259 DBG_ASSERT( xDocument.is(), "SubmissionPropertyHandler::onNewComponent: no document!" );
260
261 m_pHelper.reset( NULL );
261 m_pHelper.reset();
262
263 if ( SubmissionHelper::canTriggerSubmissions( m_xComponent, xDocument ) )
264 {
265 m_pHelper.reset( new SubmissionHelper( m_aMutex, m_xComponent, xDocument ) );
266
267 m_pPropChangeMultiplexer = new OPropertyChangeMultiplexer( this, m_xComponent );
268 m_pPropChangeMultiplexer->acquire();
269 m_pPropChangeMultiplexer->addProperty( PROPERTY_BUTTONTYPE );

--- 175 unchanged lines hidden ---
262
263 if ( SubmissionHelper::canTriggerSubmissions( m_xComponent, xDocument ) )
264 {
265 m_pHelper.reset( new SubmissionHelper( m_aMutex, m_xComponent, xDocument ) );
266
267 m_pPropChangeMultiplexer = new OPropertyChangeMultiplexer( this, m_xComponent );
268 m_pPropChangeMultiplexer->acquire();
269 m_pPropChangeMultiplexer->addProperty( PROPERTY_BUTTONTYPE );

--- 175 unchanged lines hidden ---