summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap4.cxx
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2003-08-18 14:13:27 +0000
committerHans-Joachim Lankenau <hjs@openoffice.org>2003-08-18 14:13:27 +0000
commit7aecdd58306e95a00418f9c3688164da561dda70 (patch)
tree3c031be9dbe9f5ac46b02a3ecf19dcb101644821 /vcl/source/gdi/bitmap4.cxx
parent3340f6a8e500ce3a9cc21337dc61c52a63bef7d1 (diff)
INTEGRATION: CWS geordi2q01 (1.2.298); FILE MERGED
2003/08/18 13:37:51 hr 1.2.298.1: #i18350#: join changes from CWS ooo11rc3
Diffstat (limited to 'vcl/source/gdi/bitmap4.cxx')
-rw-r--r--vcl/source/gdi/bitmap4.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/bitmap4.cxx b/vcl/source/gdi/bitmap4.cxx
index 94276e8f1bee..9f55fe577742 100644
--- a/vcl/source/gdi/bitmap4.cxx
+++ b/vcl/source/gdi/bitmap4.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bitmap4.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: ka $ $Date: 2000-11-21 13:30:46 $
+ * last change: $Author: hjs $ $Date: 2003-08-18 15:13:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -508,7 +508,7 @@ BOOL Bitmap::ImplSobelGrey( const BmpFilterParam* pFilterParam, const Link* pPro
nSum1 += nMask331 * nGrey33;
nSum2 += nMask332 * nGrey33;
- nSum1 = (long) sqrt( ( nSum1 * nSum1 + nSum2 * nSum2 ) );
+ nSum1 = (long) sqrt( (double)( nSum1 * nSum1 + nSum2 * nSum2 ) );
aGrey.SetIndex( ~(BYTE) VOS_BOUND( nSum1, 0, 255 ) );
pWriteAcc->SetPixel( nY, nX, aGrey );