summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-25 08:53:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 10:45:27 +0000
commit58ba105a0328a932ff3dd86b043a909d01dacf5d (patch)
tree35d2e72bad7bc10cbc6ba7cfdc69023767c94521 /editeng
parent94ffeed68f14be4790fd537b8fb1431472613373 (diff)
callcatcher: update unused code
Change-Id: Ia8e6abffb85b92ee4538fb0aeaee4e4aa18f2772
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit.hxx4
-rw-r--r--editeng/source/editeng/impedit2.cxx1
-rw-r--r--editeng/source/editeng/impedit3.cxx7
3 files changed, 1 insertions, 11 deletions
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index 46516bdb4e17..d644265ef40e 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -491,7 +491,6 @@ private:
bool bInSelection:1;
bool bIsInUndo:1;
bool bUpdate:1;
- bool bUpdateForAcc:1;
bool bUndoEnabled:1;
bool bOwnerOfRefDev:1;
bool bDowning:1;
@@ -696,9 +695,6 @@ public:
void SetUpdateMode( bool bUp, EditView* pCurView = 0, sal_Bool bForceUpdate = sal_False );
bool GetUpdateMode() const { return bUpdate; }
- void SetUpdateModeForAcc(bool bUp);
- bool GetUpdateModeForAcc() const { return bUpdateForAcc; }
-
ViewsType& GetEditViews() { return aEditViews; }
const ViewsType& GetEditViews() const { return aEditViews; }
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index db8da11a289e..06a7f52aefe3 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -93,7 +93,6 @@ ImpEditEngine::ImpEditEngine( EditEngine* pEE, SfxItemPool* pItemPool ) :
bInSelection(false),
bIsInUndo(false),
bUpdate(true),
- bUpdateForAcc(true),
bUndoEnabled(true),
bOwnerOfRefDev(false),
bDowning(false),
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index ab8c3d800611..6539762a47cb 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -364,7 +364,7 @@ void ImpEditEngine::FormatFullDoc()
void ImpEditEngine::FormatDoc()
{
- if (!GetUpdateMode() || IsFormatting() || !GetUpdateModeForAcc())
+ if (!GetUpdateMode() || IsFormatting())
return;
EnterBlockNotifications();
@@ -3857,11 +3857,6 @@ void ImpEditEngine::InsertContent( ContentNode* pNode, sal_Int32 nPos )
GetEditEnginePtr()->ParagraphInserted( nPos );
}
-void ImpEditEngine::SetUpdateModeForAcc(bool bUp)
-{
- bUpdateForAcc = bUp;
-}
-
EditPaM ImpEditEngine::SplitContent( sal_Int32 nNode, sal_Int32 nSepPos )
{
ContentNode* pNode = aEditDoc.GetObject( nNode );