diff options
author | David Tardon <dtardon@redhat.com> | 2014-02-05 10:55:25 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-07-22 11:43:48 +0200 |
commit | 46b29a89a287e90ca58faf48a899cc72bed2d48c (patch) | |
tree | 0416d458d862452e056dc34227059537a78abaf7 /include | |
parent | cd8495e13f7cb250bdc8d3774bbc9c208b459e7a (diff) |
fdo#78598 avoid use of invalidated pointers
Change-Id: Ib81f79da696b5e8002f5a2ddcf160903231dc3f1
(cherry picked from commit 6b127d40c7d57745bc602d9ff7914392f9d3b92b)
Reviewed-on: https://gerrit.libreoffice.org/10421
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 48ebd50cd0f6..a9234d97d86d 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -551,9 +551,15 @@ protected: OutputDevice(); private: + typedef void ( OutputDevice::* FontUpdateHandler_t )( bool ); + SAL_DLLPRIVATE OutputDevice( const OutputDevice& rOutDev ); SAL_DLLPRIVATE OutputDevice& operator =( const OutputDevice& rOutDev ); + SAL_DLLPRIVATE void ImplClearFontData( bool bNewFontLists ); + SAL_DLLPRIVATE void ImplRefreshFontData( bool bNewFontLists ); + SAL_DLLPRIVATE static void ImplUpdateFontDataForAllFrames( FontUpdateHandler_t pHdl, bool bNewFontLists ); + public: virtual ~OutputDevice(); |