summaryrefslogtreecommitdiff
path: root/vcl/source/control/ivctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/ivctrl.cxx')
-rw-r--r--vcl/source/control/ivctrl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/ivctrl.cxx b/vcl/source/control/ivctrl.cxx
index c96e133a506f..3091d62fe9ab 100644
--- a/vcl/source/control/ivctrl.cxx
+++ b/vcl/source/control/ivctrl.cxx
@@ -92,7 +92,7 @@ SvtIconChoiceCtrl::SvtIconChoiceCtrl( vcl::Window* pParent, WinBits nWinStyle )
_pImpl ( new SvxIconChoiceCtrl_Impl( this, nWinStyle ) )
{
- SetLineColor();
+ GetOutDev()->SetLineColor();
_pImpl->InitSettings();
_pImpl->SetPositionMode( SvxIconChoiceCtrlPositionMode::AutoArrange );
}
@@ -234,9 +234,9 @@ void SvtIconChoiceCtrl::SetFont(const vcl::Font& rFont)
void SvtIconChoiceCtrl::SetPointFont(const vcl::Font& rFont)
{
- if (rFont != GetPointFont(*this)) //FIXME
+ if (rFont != GetPointFont(*GetOutDev())) //FIXME
{
- Control::SetPointFont(*this, rFont); //FIXME
+ Control::SetPointFont(*GetOutDev(), rFont); //FIXME
_pImpl->FontModified();
}
}