drop unused member var

Change-Id: I68004a90cbfdf6bf6c5b09998406a5479e5c50d6
This commit is contained in:
David Tardon
2013-03-20 06:47:39 +01:00
parent 6a08c0cba4
commit 8d8868a827
3 changed files with 0 additions and 16 deletions

View File

@@ -57,7 +57,6 @@ OReportModel::OReportModel(::reportdesign::OReportDefinition* _pReportDefinition
,m_pReportDefinition(_pReportDefinition)
{
DBG_CTOR( rpt_OReportModel,0);
SetAllowShapePropertyChangeListener(true);
m_pUndoEnv = new OXUndoEnvironment(*this);
m_pUndoEnv->acquire();
SetSdrUndoFactory(new OReportUndoFactory);

View File

@@ -233,9 +233,6 @@ public:
// for import
void SetUniqueCommentID(sal_uInt32 nNewID) { if(nNewID != mnUniqueCommentID) { mnUniqueCommentID = nNewID; } }
/** cl: added this for OJ to complete his reporting engine, does not work
correctly so only enable it for his model */
void SetAllowShapePropertyChangeListener( bool bAllow );
sal_uInt16 nStarDrawPreviewMasterPageNum;
SvxForbiddenCharactersTable* mpForbiddenCharactersTable;

View File

@@ -98,7 +98,6 @@ struct SdrModelImpl
{
SfxUndoManager* mpUndoManager;
SdrUndoFactory* mpUndoFactory;
bool mbAllowShapePropertyChangeListener;
};
////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -111,7 +110,6 @@ void SdrModel::ImpCtor(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* _pEmbe
mpImpl = new SdrModelImpl;
mpImpl->mpUndoManager=0;
mpImpl->mpUndoFactory=0;
mpImpl->mbAllowShapePropertyChangeListener = false;
mbInDestruction = false;
aObjUnit=SdrEngineDefaults::GetMapFraction();
eObjUnit=SdrEngineDefaults::GetMapUnit();
@@ -2063,16 +2061,6 @@ void SdrModel::SetSdrUndoFactory( SdrUndoFactory* pUndoFactory )
}
}
/* added for the reporting engine, but does not work
correctly, so only enable it for this model */
void SdrModel::SetAllowShapePropertyChangeListener( bool bAllow )
{
if( mpImpl )
{
mpImpl->mbAllowShapePropertyChangeListener = bAllow;
}
}
namespace
{
class theSdrModelUnoTunnelImplementationId : public rtl::Static< UnoTunnelIdInit, theSdrModelUnoTunnelImplementationId > {};