diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-24 14:48:36 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-27 05:19:12 +0000 |
commit | d6d1fc2683eeb88a569795e6bd27ad5db035f511 (patch) | |
tree | cc98260f62d71ff5fb4af58d4b7e747e8793f06e /include/svx/viewpt3d.hxx | |
parent | 98747742b20c82382ed16b193e7bec175e905978 (diff) |
loplugin:singlevalfields in svx(part1)
Change-Id: I9f655f0573ea301faa6cb54733832c26864eae4f
Reviewed-on: https://gerrit.libreoffice.org/26639
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svx/viewpt3d.hxx')
-rw-r--r-- | include/svx/viewpt3d.hxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/svx/viewpt3d.hxx b/include/svx/viewpt3d.hxx index e50f34e10828..9595a4b4d319 100644 --- a/include/svx/viewpt3d.hxx +++ b/include/svx/viewpt3d.hxx @@ -31,12 +31,11 @@ namespace basegfx { class B3DRange; } // end of namespace basegfx /************************************************************************* |* -|* enums for projection and aspect ratio +|* enums for projection |* \************************************************************************/ enum ProjectionType { PR_PARALLEL, PR_PERSPECTIVE }; -enum AspectMapType { AS_NO_MAPPING, AS_HOLD_SIZE, AS_HOLD_X, AS_HOLD_Y }; /************************************************************************* @@ -57,8 +56,6 @@ class SVX_DLLPUBLIC Viewport3D double fVPD; // View Plane Distance ProjectionType eProjection; // kind of the projection - AspectMapType eAspectMapping; // flag for the acclimatization of the aspect ratio - // for display on the device Rectangle aDeviceRect; // position and size of the output area struct @@ -91,8 +88,6 @@ class SVX_DLLPUBLIC Viewport3D { eProjection = ePrj; bTfValid = false; } ProjectionType GetProjection() const { return eProjection; } - AspectMapType GetAspectMapping() { return eAspectMapping; } - void SetViewWindow(double fX, double fY, double fW, double fH); void SetDeviceWindow(const Rectangle& rRect); |