summaryrefslogtreecommitdiff
path: root/starmath/source/document.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/document.cxx')
-rw-r--r--starmath/source/document.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index e4d3f0698951..b912903fdff6 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -98,6 +98,7 @@
#include <sfx2/sfxsids.hrc>
#include <svx/svxids.hrc>
#include "cursor.hxx"
+#include "visitors.hxx"
using namespace ::com::sun::star;
using namespace ::com::sun::star::accessibility;
@@ -435,8 +436,6 @@ SfxItemPool& SmDocShell::GetEditEngineItemPool()
OSL_ENSURE( pEditEngineItemPool, "EditEngineItemPool missing" );
return *pEditEngineItemPool;
}
-//TODO: Move to the top of the file...
-#include "visitors.hxx"
void SmDocShell::DrawFormula(OutputDevice &rDev, Point &rPosition, BOOL bDrawSelection)
{
@@ -530,8 +529,7 @@ Size SmDocShell::GetSize()
}
void SmDocShell::InvalidateCursor(){
- if(pCursor)
- delete pCursor;
+ delete pCursor;
pCursor = NULL;
}