diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-14 02:03:46 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-14 02:03:46 -0400 |
commit | 89de9dfe27d6a406fb67570c3507a8ea2e387d24 (patch) | |
tree | abbe6c503bb3836cef06cc94b0b37438d448d577 /editeng | |
parent | 9b30c36efd8746e10e58911192b1b626ac95e0ee (diff) |
Really fix the build.
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/editeng/editeng.hxx | 1 | ||||
-rw-r--r-- | editeng/source/editeng/editeng.cxx | 5 | ||||
-rw-r--r-- | editeng/source/editeng/impedit.cxx | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/editeng/inc/editeng/editeng.hxx b/editeng/inc/editeng/editeng.hxx index f3be3d26a453..8cdc6ef529c0 100644 --- a/editeng/inc/editeng/editeng.hxx +++ b/editeng/inc/editeng/editeng.hxx @@ -139,6 +139,7 @@ private: EDITENG_DLLPRIVATE void CursorMoved(ContentNode* pPrevNode); EDITENG_DLLPRIVATE void CheckIdleFormatter(); + EDITENG_DLLPRIVATE bool IsIdleFormatterActive() const; EDITENG_DLLPRIVATE ParaPortion* FindParaPortion(ContentNode* pNode); EDITENG_DLLPRIVATE const ParaPortion* FindParaPortion(ContentNode* pNode) const; EDITENG_DLLPRIVATE const ParaPortion* GetPrevVisPortion(const ParaPortion* pCurPortion) const; diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx index 0adfec132d93..3410fba77128 100644 --- a/editeng/source/editeng/editeng.cxx +++ b/editeng/source/editeng/editeng.cxx @@ -702,6 +702,11 @@ void EditEngine::CheckIdleFormatter() pImpEditEngine->CheckIdleFormatter(); } +bool EditEngine::IsIdleFormatterActive() const +{ + return pImpEditEngine->aIdleFormatter.IsActive(); +} + ParaPortion* EditEngine::FindParaPortion(ContentNode* pNode) { return pImpEditEngine->FindParaPortion(pNode); diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 81edb2313585..3b31282ad07d 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -174,7 +174,7 @@ void ImpEditView::DrawSelection( EditSelection aTmpSel, Region* pRegion ) pOutWin->GetCursor()->Hide(); } - DBG_ASSERT( !pEditEngine->aIdleFormatter.IsActive(), "DrawSelection: Not formatted!" ); + DBG_ASSERT( !pEditEngine->IsIdleFormatterActive(), "DrawSelection: Not formatted!" ); aTmpSel.Adjust( pEditEngine->pImpEditEngine->GetEditDoc() ); ContentNode* pStartNode = aTmpSel.Min().GetNode(); |