diff options
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/svdmodel.hxx | 3 | ||||
-rw-r--r-- | include/svx/svdpntv.hxx | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index 2d7118be583f..15b756b1c9e1 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -182,6 +182,7 @@ protected: sal_uInt16 m_nPageNumsDirtyFrom = SAL_MAX_UINT16; sal_uInt16 m_nMasterPageNumsDirtyFrom = SAL_MAX_UINT16; bool m_bIsWriter:1; // to clean up pMyPool from 303a + bool m_bIsWriterIdle:1; bool m_bThemedControls:1; // If false UnoControls should not use theme colors bool mbUndoEnabled:1; // If false no undo is recorded or we are during the execution of an undo action bool mbChanged:1; @@ -567,6 +568,8 @@ public: void disposeOutliner( std::unique_ptr<SdrOutliner> pOutliner ); bool IsWriter() const { return m_bIsWriter; } + void SetWriterIdle(bool bIsWriterIdle) { m_bIsWriterIdle = bIsWriterIdle; } + bool IsWriterIdle() const { return m_bIsWriterIdle; } bool IsPDFDocument() const { return m_bIsPDFDocument; } void setPDFDocument(bool bIsPDFDocument) diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx index e3c9fc1dcc03..4d641de4dc60 100644 --- a/include/svx/svdpntv.hxx +++ b/include/svx/svdpntv.hxx @@ -230,6 +230,7 @@ public: SdrPaintWindow* GetPaintWindow(sal_uInt32 nIndex) const; // Replacement for GetWin(0), may return 0L (!) OutputDevice* GetFirstOutputDevice() const; + const Idle& GetComeBackIdle() const { return maComeBackIdle; }; private: DECL_DLLPRIVATE_LINK(ImpComeBackHdl, Timer*, void); |