summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-11 08:37:50 +0200
committerNoel Grandin <noel@peralex.com>2015-05-11 09:17:41 +0200
commitfc9e78c78864cbfa67ddea646da4aa4677d99b0c (patch)
treeb04d03aa08ef442f456202d31ff9d9b13e8a1f0a /starmath
parent80244bff5f1fb5cad4638ed0b661f0c0f7776b07 (diff)
sw,sc,sd,starmath: convert to vcl::RenderContext
Change-Id: I5d0a3b8ed1c49ba2806e0fa528d908da45afd58c
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/dialog.cxx2
-rw-r--r--starmath/source/rect.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index e62257b95564..d185333ad165 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -398,7 +398,7 @@ void SmFontDialog::dispose()
namespace
{
- void getColors(vcl::Window &rRef, ColorData &rBgCol, ColorData &rTxtCol)
+ void getColors(vcl::RenderContext &rRef, ColorData &rBgCol, ColorData &rTxtCol)
{
const StyleSettings &rS = rRef.GetSettings().GetStyleSettings();
if (rS.GetHighContrastMode())
diff --git a/starmath/source/rect.cxx b/starmath/source/rect.cxx
index f0f5a750cb3e..ad8a2e481a34 100644
--- a/starmath/source/rect.cxx
+++ b/starmath/source/rect.cxx
@@ -593,7 +593,7 @@ SmRect SmRect::AsGlyphRect() const
return aRect;
}
-bool SmGetGlyphBoundRect(const OutputDevice &rDev,
+bool SmGetGlyphBoundRect(const vcl::RenderContext &rDev,
const OUString &rText, Rectangle &rRect)
// basically the same as 'GetTextBoundRect' (in class 'OutputDevice')
// but with a string as argument.