diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2020-05-24 00:11:42 +1000 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-06-01 07:20:41 +0200 |
commit | 201651953740edd3e9eb0b4fcbdcd4bf1a79a2c1 (patch) | |
tree | 95eab0f754618ed4fa59ccbfbed9a858e9beccf8 /include/vcl | |
parent | 573de30566e4477c8dc09abec08f1082d16c74bc (diff) |
tdf#74702 vcl: extract SetMetafileMapMode()
Change-Id: Icdd9d612b998d260c4cf0e30fb38e72b5ebd3194
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94723
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/outdev.hxx | 1 | ||||
-rw-r--r-- | include/vcl/print.hxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 6813eccd51ee..e9822fc37049 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -1667,6 +1667,7 @@ public: void SetMapMode(); virtual void SetMapMode( const MapMode& rNewMapMode ); void SetRelativeMapMode( const MapMode& rNewMapMode ); + virtual void SetMetafileMapMode(const MapMode& rNewMapMode, bool bIsRecord); const MapMode& GetMapMode() const { return maMapMode; } protected: diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index edc55728e5f0..2a27e4c2469f 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -271,6 +271,8 @@ public: virtual ~Printer() override; virtual void dispose() override; + virtual void SetMetafileMapMode(const MapMode& rNewMapMode, bool) override { SetMapMode(rNewMapMode); } + static const std::vector< OUString >& GetPrinterQueues(); static const QueueInfo* GetQueueInfo( const OUString& rPrinterName, bool bStatusUpdate ); |