Kaydet (Commit) b74da58c authored tarafından Michael Stahl's avatar Michael Stahl

SwHyphWrapper::bShowError is dead

Change-Id: Ia9b8205a3b23fb98bf08d2d53aa82fdeda7785f5
üst 9b74656d
...@@ -45,7 +45,6 @@ private: ...@@ -45,7 +45,6 @@ private:
sal_uInt16 nPageCount; // page count for progress view sal_uInt16 nPageCount; // page count for progress view
sal_uInt16 nPageStart; // 1st checked page sal_uInt16 nPageStart; // 1st checked page
sal_Bool bInSelection : 1; // seperating selected text sal_Bool bInSelection : 1; // seperating selected text
sal_Bool bShowError : 1; // report non existing language
sal_Bool bAutomatic : 1; // insert seperators without further inquiry sal_Bool bAutomatic : 1; // insert seperators without further inquiry
sal_Bool bInfoBox : 1; // display info-box when ending sal_Bool bInfoBox : 1; // display info-box when ending
......
...@@ -63,7 +63,6 @@ SwHyphWrapper::SwHyphWrapper( SwView* pVw, ...@@ -63,7 +63,6 @@ SwHyphWrapper::SwHyphWrapper( SwView* pVw,
nPageCount( 0 ), nPageCount( 0 ),
nPageStart( 0 ), nPageStart( 0 ),
bInSelection( bSelect ), bInSelection( bSelect ),
bShowError( sal_False ),
bInfoBox( sal_False ) bInfoBox( sal_False )
{ {
uno::Reference< beans::XPropertySet > xProp( GetLinguPropertySet() ); uno::Reference< beans::XPropertySet > xProp( GetLinguPropertySet() );
...@@ -108,14 +107,6 @@ sal_Bool SwHyphWrapper::SpellContinue() ...@@ -108,14 +107,6 @@ sal_Bool SwHyphWrapper::SpellContinue()
delete pWait; delete pWait;
} }
if( bShowError )
{
bShowError = sal_False;
PSH->Push();
PSH->ClearMark();
pView->SpellError( nLangError );
PSH->Combine();
}
return GetLast().is(); return GetLast().is();
} }
......
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