diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-08-31 19:46:27 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-09-06 12:12:28 +0200 |
commit | 55e866c5c1018b28a55bd8383677de61fe582a90 (patch) | |
tree | 3bae907210010096ac9af6f192b5ec99d5932d4b /sw | |
parent | 043d405472e650e777d4f21eab34de6f00e3a1ca (diff) |
Remove unneeded cast
Change-Id: Ia5ed84488d14e6e779d62e9903c1350b703ad3c6
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/text/porexp.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/text/porexp.cxx b/sw/source/core/text/porexp.cxx index b95969453f7a..f3e59e0c189c 100644 --- a/sw/source/core/text/porexp.cxx +++ b/sw/source/core/text/porexp.cxx @@ -217,8 +217,7 @@ void SwPostItsPortion::Paint( const SwTxtPaintInfo &rInf ) const sal_uInt16 SwPostItsPortion::GetViewWidth( const SwTxtSizeInfo &rInf ) const { // Nicht zu fassen: PostIts sind immer zu sehen. - return rInf.OnWin() ? - (sal_uInt16)rInf.GetOpt().GetPostItsWidth( rInf.GetOut() ) : 0; + return rInf.OnWin() ? rInf.GetOpt().GetPostItsWidth( rInf.GetOut() ) : 0; } bool SwPostItsPortion::Format( SwTxtFormatInfo &rInf ) |