summaryrefslogtreecommitdiff
path: root/starmath/source/edit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/edit.cxx')
-rw-r--r--starmath/source/edit.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 92abbe35f997..fb715793531b 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -692,7 +692,7 @@ void SmEditWindow::LoseFocus()
bool SmEditWindow::IsAllSelected() const
{
bool bRes = false;
- EditEngine *pEditEngine = (const_cast<SmEditWindow *>(this))->GetEditEngine();
+ EditEngine *pEditEngine = const_cast<SmEditWindow *>(this)->GetEditEngine();
OSL_ENSURE( pEditView, "NULL pointer" );
OSL_ENSURE( pEditEngine, "NULL pointer" );
if (pEditEngine && pEditView)
@@ -832,7 +832,7 @@ void SmEditWindow::SetSelection(const ESelection &rSel)
bool SmEditWindow::IsEmpty() const
{
- EditEngine *pEditEngine = (const_cast<SmEditWindow *>(this))->GetEditEngine();
+ EditEngine *pEditEngine = const_cast<SmEditWindow *>(this)->GetEditEngine();
bool bEmpty = ( pEditEngine && pEditEngine->GetTextLen() == 0 );
return bEmpty;
}