diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2019-12-02 21:03:05 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-12-03 09:46:06 +0100 |
commit | 3b7661cda1c910524a2c4e3394417971fa025f31 (patch) | |
tree | c0e930b669aba1afbc73b29317ffd7b865e91176 /sw/source/uibase/uno | |
parent | ca7004569b39721c3e7247551a43d544fd3204fe (diff) |
lok: calc - store zoom in the view itself.
Don't duplicate this on the ITiledRenderable interface, which is not a
per-view construct, this just confuses everything.
Store & restore the zoom level before/after rendering a tile -
unfortunately this is not done by the most optimal view yet.
Change-Id: I1f7dfaa353333f45c5601d49a9bca784d34fb81a
Reviewed-on: https://gerrit.libreoffice.org/84281
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sw/source/uibase/uno')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index e266692f9c9b..91bc50b079a8 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3232,9 +3232,6 @@ void SwXTextDocument::setClientZoom(int nTilePixelWidth_, int /*nTilePixelHeight // This value is used in postMouseEvent and setGraphicSelection methods // for in place chart editing. We assume that x and y scale is roughly // the same. - // Indeed we could set mnTilePixelWidth, mnTilePixelHeight, mnTileTwipWidth, - // mnTileTwipHeight data members of this class but they are not very useful - // since we need to be able to retrieve the zoom value for each view shell. SfxInPlaceClient* pIPClient = pDocShell->GetView()->GetIPClient(); if (pIPClient) { |