diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-18 20:55:59 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-18 20:58:42 +1000 |
commit | f4e8bca336ad8b26cc9ba9e6d5ef9d665cc164d6 (patch) | |
tree | 1563384225e6271e2f7680d0140cd64c21dd699f /include | |
parent | 62fd63050c355b06b449e58134fa482866102134 (diff) |
fdo#74702 Allow Printer to handle ImplInitFont and rename
Renamed ImplInitFont() to InitFont, made it protected. Moved printer
handling to Printer class.
Change-Id: I42ebf6188d075993b5d2e14f55a7e530201acdd6
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 5 | ||||
-rw-r--r-- | include/vcl/print.hxx | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index c98ff3ad007b..c2e9686216d8 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -653,9 +653,12 @@ public: */ ///@{ SAL_DLLPRIVATE bool ImplNewFont() const; - SAL_DLLPRIVATE void ImplInitFont() const; SAL_DLLPRIVATE void ImplInitTextColor(); +protected: + virtual void InitFont() const; + +public: static SAL_DLLPRIVATE void ImplDrawText( OutputDevice& rTargetDevice, const Rectangle& rRect, const OUString& rOrigStr, sal_uInt16 nStyle, diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index 23c656df0f40..ef4bec77ed82 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -303,6 +303,8 @@ protected: virtual void EmulateDrawTransparent( const PolyPolygon& rPolyPoly, sal_uInt16 nTransparencePercent ) SAL_OVERRIDE; + virtual void InitFont() const SAL_OVERRIDE; + public: Printer(); Printer( const JobSetup& rJobSetup ); |