fmmodel.cxx (f6e50924) | fmmodel.cxx (c7be74b1) |
---|---|
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 --- 90 unchanged lines hidden (view full) --- 99 m_pImpl = new FmFormModelImplData; 100 m_pImpl->pUndoEnv = new FmXUndoEnvironment(*this); 101 m_pImpl->pUndoEnv->acquire(); 102#endif 103} 104 105/************************************************************************* 106|* | 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 --- 90 unchanged lines hidden (view full) --- 99 m_pImpl = new FmFormModelImplData; 100 m_pImpl->pUndoEnv = new FmXUndoEnvironment(*this); 101 m_pImpl->pUndoEnv->acquire(); 102#endif 103} 104 105/************************************************************************* 106|* |
107|* Ctor 108|* 109\************************************************************************/ 110FmFormModel::FmFormModel(SfxItemPool* pPool, SfxObjectShell* pPers, 111 FASTBOOL bUseExtColorTable 112 ) 113 :SdrModel(pPool, pPers, bUseExtColorTable, LOADREFCOUNTS) 114 ,m_pImpl(NULL) 115 ,m_pObjShell(0) 116 ,m_bOpenInDesignMode(sal_False) 117 ,m_bAutoControlFocus(sal_False) 118{ 119#ifndef SVX_LIGHT 120 m_pImpl = new FmFormModelImplData; 121 m_pImpl->pUndoEnv = new FmXUndoEnvironment(*this); 122 m_pImpl->pUndoEnv->acquire(); 123#endif 124} 125 126/************************************************************************* 127|* 128|* Ctor 129|* 130\************************************************************************/ 131FmFormModel::FmFormModel(const XubString& rPath, SfxItemPool* pPool, SfxObjectShell* pPers, 132 FASTBOOL bUseExtColorTable) 133 :SdrModel(rPath, pPool, pPers, bUseExtColorTable, LOADREFCOUNTS) 134 ,m_pImpl( NULL ) 135 ,m_pObjShell(0) 136 ,m_bOpenInDesignMode(sal_False) 137 ,m_bAutoControlFocus(sal_False) 138{ 139#ifndef SVX_LIGHT 140 m_pImpl = new FmFormModelImplData; 141 m_pImpl->pUndoEnv = new FmXUndoEnvironment(*this); 142 m_pImpl->pUndoEnv->acquire(); 143#endif 144} 145 146/************************************************************************* 147|* | |
148|* Dtor 149|* 150\************************************************************************/ 151FmFormModel::~FmFormModel() 152{ 153#ifndef SVX_LIGHT 154 if (m_pObjShell && m_pImpl->pUndoEnv->IsListening(*m_pObjShell)) 155 SetObjectShell(NULL); --- 210 unchanged lines hidden --- | 107|* Dtor 108|* 109\************************************************************************/ 110FmFormModel::~FmFormModel() 111{ 112#ifndef SVX_LIGHT 113 if (m_pObjShell && m_pImpl->pUndoEnv->IsListening(*m_pObjShell)) 114 SetObjectShell(NULL); --- 210 unchanged lines hidden --- |