Kaydet (Commit) 0e263d61 authored tarafından Caolán McNamara's avatar Caolán McNamara

order pImpl before aGraphic because aGraphic deferences pImpl in ctor

üst 6270e76b
......@@ -233,6 +233,8 @@ class SmViewShell: public SfxViewShell
// for handling the PasteClipboardState
friend class SmClipboardChangeListener;
SmViewShell_Impl* pImpl;
SmGraphicWindow aGraphic;
SmGraphicController aGraphicController;
String StatusText;
......@@ -240,7 +242,6 @@ class SmViewShell: public SfxViewShell
::com::sun::star::uno:: Reference <
::com::sun::star::lang:: XEventListener > xClipEvtLstnr;
SmClipboardChangeListener* pClipEvtLstnr;
SmViewShell_Impl* pImpl;
bool bPasteState;
DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper* );
......
......@@ -2006,9 +2006,9 @@ void SmViewShell::GetState(SfxItemSet &rSet)
SmViewShell::SmViewShell(SfxViewFrame *pFrame_, SfxViewShell *):
SfxViewShell(pFrame_, SFX_VIEW_HAS_PRINTOPTIONS | SFX_VIEW_CAN_PRINT),
pImpl( new SmViewShell_Impl ),
aGraphic(this),
aGraphicController(aGraphic, SID_GAPHIC_SM, pFrame_->GetBindings()),
pImpl( new SmViewShell_Impl )
aGraphicController(aGraphic, SID_GAPHIC_SM, pFrame_->GetBindings())
{
RTL_LOGFILE_CONTEXT( aLog, "starmath: SmViewShell::SmViewShell" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment