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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index f16a821f4fe6..fbc9a1b27cfa 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -431,7 +431,7 @@ void SmDocShell::DrawFormula(OutputDevice &rDev, Point &rPosition, bool bDrawSel
sal_uLong nOldDrawMode = DRAWMODE_DEFAULT;
bool bRestoreDrawMode = false;
if (OUTDEV_WINDOW == rDev.GetOutDevType() &&
- ((Window &) rDev).GetSettings().GetStyleSettings().GetHighContrastMode())
+ ((vcl::Window &) rDev).GetSettings().GetStyleSettings().GetHighContrastMode())
{
nOldDrawMode = rDev.GetDrawMode();
rDev.SetDrawMode( DRAWMODE_DEFAULT );