summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porrst.hxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-07-22 17:14:17 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-07-22 23:50:43 +0200
commit2a6b9c93af295a6746372bc6ce462a02492f616d (patch)
tree743607c6395ab97935c5110a137521c5f734c8c5 /sw/source/core/text/porrst.hxx
parent1a6bc665eb727763265483132db43aee87288deb (diff)
Massive KSHORT/MSHORT to sal_uInt16
Change-Id: I82a899ef0cad19d62c41753ffdce07d8e33d6c9d
Diffstat (limited to 'sw/source/core/text/porrst.hxx')
-rw-r--r--sw/source/core/text/porrst.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/text/porrst.hxx b/sw/source/core/text/porrst.hxx
index f16093d35c09..df15859c0690 100644
--- a/sw/source/core/text/porrst.hxx
+++ b/sw/source/core/text/porrst.hxx
@@ -42,8 +42,8 @@ public:
virtual SwLinePortion *Compress() SAL_OVERRIDE;
virtual void Paint( const SwTxtPaintInfo &rInf ) const SAL_OVERRIDE;
virtual bool Format( SwTxtFormatInfo &rInf ) SAL_OVERRIDE;
- virtual KSHORT GetViewWidth( const SwTxtSizeInfo &rInf ) const SAL_OVERRIDE;
- virtual sal_Int32 GetCrsrOfst( const MSHORT nOfst ) const SAL_OVERRIDE;
+ virtual sal_uInt16 GetViewWidth( const SwTxtSizeInfo &rInf ) const SAL_OVERRIDE;
+ virtual sal_Int32 GetCrsrOfst( const sal_uInt16 nOfst ) const SAL_OVERRIDE;
// Accessibility: pass information about this portion to the PortionHandler
virtual void HandlePortion( SwPortionHandler& rPH ) const SAL_OVERRIDE;
@@ -97,12 +97,12 @@ public:
// The SwHangingPortion is the corresponding textportion to do that.
class SwHangingPortion : public SwTxtPortion
{
- KSHORT nInnerWidth;
+ sal_uInt16 nInnerWidth;
public:
inline SwHangingPortion( SwPosSize aSize ) : nInnerWidth( aSize.Width() )
{ SetWhichPor( POR_HNG ); SetLen( 1 ); Height( aSize.Height() ); }
- inline KSHORT GetInnerWidth() const { return nInnerWidth; }
+ inline sal_uInt16 GetInnerWidth() const { return nInnerWidth; }
};
// Used to hide text
@@ -134,7 +134,7 @@ public:
virtual void Paint( const SwTxtPaintInfo &rInf ) const SAL_OVERRIDE;
virtual bool Format( SwTxtFormatInfo &rInf ) SAL_OVERRIDE;
- virtual KSHORT GetViewWidth( const SwTxtSizeInfo& rInf ) const SAL_OVERRIDE;
+ virtual sal_uInt16 GetViewWidth( const SwTxtSizeInfo& rInf ) const SAL_OVERRIDE;
};
#endif