diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-17 15:31:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-17 15:35:27 +0100 |
commit | 8ecda4405a1160ade824bfde72d10513cacb9b1a (patch) | |
tree | b35ddb626c592c1ececd5da2a18d87c940da52f4 /vcl | |
parent | fdo#37606 SwEditShell::DeleteSel(): handle document starting with a table (diff) | |
download | core-8ecda4405a1160ade824bfde72d10513cacb9b1a.tar.gz core-8ecda4405a1160ade824bfde72d10513cacb9b1a.zip |
pFontSubst is always NULL
Change-Id: Ied4eda5b29e2df3fa9260bcf456b8dd360ffafcc
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/window.cxx | 6 |
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; } |