summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-27 19:01:16 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-27 20:53:29 +1000
commitffd55ff0b919a982f54db558b2341309bbabf0b9 (patch)
tree718d187ded4e645f375ace21b351964de72c8d24
parent248abe0afa92e295aa5b19579dff3fb2fb3cfbe5 (diff)
VCL: OutputDevice::ImplRotatePosi, nOrientation param. should be short
Change-Id: Ie49b5b2c489619700f9cc34d9efb38454bcaff2c
-rw-r--r--include/vcl/outdev.hxx2
-rw-r--r--vcl/source/outdev/outdev.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 0647de6539f4..fb179639d880 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -434,7 +434,7 @@ public:
private:
void ImplRotatePos( long nOriginX, long nOriginY, long& rX, long &rY,
- int nOrientation );
+ short nOrientation ) const;
///@}
/** @name OutputDevice state functions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index 9fab8b434e20..5100c631f3ab 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -438,7 +438,7 @@ bool OutputDevice::supportsOperation( OutDevSupportType eType ) const
}
void OutputDevice::ImplRotatePos( long nOriginX, long nOriginY, long& rX, long& rY,
- int nOrientation )
+ short nOrientation ) const
{
if ( (nOrientation >= 0) && !(nOrientation % 900) )
{