summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-11 13:55:59 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-11 13:58:33 +0900
commit0617f87cddb2154b8d03380f0b20ecd09687fb1c (patch)
tree855919b8d7e0eddc8a30b6bbdaedc9c0d9294b4c /svx
parent71c561740d3a11081c7737376948212fb0937fe4 (diff)
refactor Ruler to use RenderContext
Change-Id: Ic4c57e161419a9b185b2c5ee8e8b79d3da9e4a7e
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/svxruler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx
index 1a8f6d95fd6c..87aa43c483f2 100644
--- a/svx/source/dialog/svxruler.cxx
+++ b/svx/source/dialog/svxruler.cxx
@@ -3475,7 +3475,7 @@ void SvxRuler::Command( const CommandEvent& rCommandEvent )
{
sal_uInt16 nStyle = bRTL ? i|RULER_TAB_RTL : i;
nStyle |= static_cast<sal_uInt16>(bHorz ? WB_HORZ : WB_VERT);
- DrawTab(pDev, aFillColor, aPt, nStyle);
+ DrawTab(*pDev, aFillColor, aPt, nStyle);
aMenu.InsertItem(i + 1,
ResId(RID_SVXSTR_RULER_START + i, DIALOG_MGR()).toString(),
Image(pDev->GetBitmap(Point(), aSz), Color(COL_WHITE)));