summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2017-12-26 08:29:51 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2017-12-26 10:41:06 +0100
commitb41fa706e0d4d16d9865ba295a8960376c96597f (patch)
tree1a367803d4f7751ec719b2f6bff7cf0967ee7e3a /vcl
parentc2ae5bc29b7064a599871358e6a4bb7b1dec2b85 (diff)
Remove redundant call to OutputDevice::ImplRefreshAllFontData
Since commit 40809ce46999e9cedb2fe5db8e9d53ebb6c182bf, OutputDevice::AddTempDevFont called OutputDevice::ImplRefreshAllFontData twice: first time explicitly before return, second time in UpdateFontsGuard destructor. Change-Id: Ie67bdcbd98de5f6053379af700239246412b88db Reviewed-on: https://gerrit.libreoffice.org/47066 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/outdev/font.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 382400fe4eaf..778f6e2ed1a7 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -161,7 +161,6 @@ bool OutputDevice::AddTempDevFont( const OUString& rFileURL, const OUString& rFo
if( mpAlphaVDev )
mpAlphaVDev->AddTempDevFont( rFileURL, rFontName );
- OutputDevice::ImplRefreshAllFontData(true);
return true;
}