summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-17 15:31:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-17 15:35:27 +0100
commit8ecda4405a1160ade824bfde72d10513cacb9b1a (patch)
treeb35ddb626c592c1ececd5da2a18d87c940da52f4 /vcl/source
parent0fb4adcff534e3841cf6df0e2363fb0797af7022 (diff)
pFontSubst is always NULL
Change-Id: Ied4eda5b29e2df3fa9260bcf456b8dd360ffafcc
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/window.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index d027eaa9d365..95c6f6140eed 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -4198,12 +4198,8 @@ void Window::ImplNewInputContext()
else
aSize.Height() = (12*pFocusWin->mnDPIY)/72;
}
- // TODO: No display device uses ImplDirectFontSubstitution thingy, right? => remove it
- ImplDirectFontSubstitution* pFontSubst = NULL;
- //if( pFocusWin->mpOutDevData )
- // pFontSubst = &pFocusWin->mpOutDevData->maDevFontSubst;
pFontEntry = pFocusWin->mpFontCache->GetFontEntry( pFocusWin->mpFontList,
- rFont, aSize, static_cast<float>(aSize.Height()), pFontSubst );
+ rFont, aSize, static_cast<float>(aSize.Height()), NULL );
if ( pFontEntry )
aNewContext.mpFont = &pFontEntry->maFontSelData;
}