This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 99989fd556 Fixed typos, removed whitespace
99989fd556 is described below
commit 99989fd556ef1be0ef27482f4b43a2a132e549c0
Author: mseidel <[email protected]>
AuthorDate: Tue Aug 1 23:45:58 2023 +0200
Fixed typos, removed whitespace
---
main/vcl/inc/vcl/bitmap.hxx | 108 +++++++++++++++++++++---------------------
main/vcl/inc/vcl/bitmapex.hxx | 80 ++++++++++++++++---------------
main/vcl/inc/vcl/btndlg.hxx | 22 +++++----
main/vcl/inc/vcl/button.hxx | 23 ++++-----
4 files changed, 120 insertions(+), 113 deletions(-)
diff --git a/main/vcl/inc/vcl/bitmap.hxx b/main/vcl/inc/vcl/bitmap.hxx
index 19dcadb418..fe64222969 100644
--- a/main/vcl/inc/vcl/bitmap.hxx
+++ b/main/vcl/inc/vcl/bitmap.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -62,7 +62,7 @@ typedef policy<
#define BMP_SCALE_BOX 0x00000007UL
// new default assigns for having slots for best quality and
-// an alternative with a good compromize between speed and quality.
+// an alternative with a good compromise between speed and quality.
// Currently BMP_SCALE_BESTQUALITY maps to BMP_SCALE_LANCZOS and
// BMP_SCALE_FASTESTINTERPOLATE to BMP_SCALE_SUPER
#define BMP_SCALE_BESTQUALITY 0x000000feUL
@@ -258,10 +258,10 @@ public:
Lanczos3Kernel( void) {}
virtual double GetWidth() const
- {
- return 3.0;
+ {
+ return 3.0;
}
-
+
virtual double Calculate(double x) const
{
return (-3.0 <= x && 3.0 > x) ? SincFilter(x) * SincFilter( x / 3.0 )
: 0.0;
@@ -279,16 +279,16 @@ public:
}
};
-class BicubicKernel : public Kernel
+class BicubicKernel : public Kernel
{
public:
BicubicKernel( void) {}
virtual double GetWidth() const
- {
- return 2.0;
+ {
+ return 2.0;
}
-
+
virtual double Calculate(double x) const
{
if(0.0 > x)
@@ -309,14 +309,14 @@ public:
}
};
-class BilinearKernel : public Kernel
+class BilinearKernel : public Kernel
{
public:
BilinearKernel( void) {}
virtual double GetWidth() const
- {
- return 1.0;
+ {
+ return 1.0;
}
virtual double Calculate(double x) const
@@ -330,19 +330,19 @@ public:
{
return 1.0 - x;
}
-
+
return 0.0;
}
};
-class BoxKernel : public Kernel
+class BoxKernel : public Kernel
{
public:
BoxKernel( void) {}
virtual double GetWidth() const
- {
- return 0.5;
+ {
+ return 0.5;
}
virtual double Calculate(double x) const
@@ -420,10 +420,10 @@ public:
SAL_DLLPRIVATE sal_Bool
ImplReduceSimple( sal_uInt16 nColorCount );
SAL_DLLPRIVATE sal_Bool
ImplReducePopular( sal_uInt16 nColorCount );
SAL_DLLPRIVATE sal_Bool
ImplReduceMedian( sal_uInt16 nColorCount );
- SAL_DLLPRIVATE void ImplMedianCut(
sal_uLong* pColBuf, BitmapPalette& rPal,
+ SAL_DLLPRIVATE void ImplMedianCut(
sal_uLong* pColBuf, BitmapPalette& rPal,
long nR1, long nR2, long nG1, long nG2, long nB1, long nB2,
long nColors, long nPixels, long& rIndex );
- SAL_DLLPRIVATE sal_Bool ImplConvolute3(
const long* pMatrix, long nDivisor,
+ SAL_DLLPRIVATE sal_Bool ImplConvolute3(
const long* pMatrix, long nDivisor,
const BmpFilterParam* pFilterParam, const Link* pProgress );
SAL_DLLPRIVATE sal_Bool
ImplMedianFilter( const BmpFilterParam* pFilterParam, const Link* pProgress );
SAL_DLLPRIVATE sal_Bool ImplSobelGrey(
const BmpFilterParam* pFilterParam, const Link* pProgress );
@@ -478,10 +478,10 @@ public:
inline sal_uLong GetSizeBytes() const;
sal_Bool HasGreyPalette() const;
/** get system dependent bitmap data
-
+
@param rData
The system dependent BitmapSystemData structure to be filled
-
+
@return sal_True if the bitmap has a valid system object (e.g. not
empty)
*/
bool GetSystemData( BitmapSystemData& rData ) const;
@@ -517,7 +517,7 @@ public:
@return sal_True, if the color reduction operation was completed
successfully.
*/
- sal_Bool ReduceColors(
sal_uInt16 nNewColorCount,
+ sal_Bool ReduceColors(
sal_uInt16 nNewColorCount,
BmpReduce eReduce = BMP_REDUCE_SIMPLE );
/** Apply a dither algorithm to the bitmap
@@ -552,7 +552,7 @@ public:
/** Expand the bitmap by pixel padding
- @param nDX
+ @param nDX
Number of pixel to pad at the right border of the bitmap
@param nDY
@@ -565,7 +565,7 @@ public:
not only returned when the operation failed, but also if
nothing had to be done, e.g. because nDX and nDY were zero.
*/
- sal_Bool Expand( sal_uLong nDX, sal_uLong nDY,
+ sal_Bool Expand( sal_uLong nDX, sal_uLong nDY,
const
Color* pInitColor = NULL );
/** Copy a rectangular area from another bitmap
@@ -598,7 +598,7 @@ public:
@param rMask
The mask bitmap in the selected combine operation
-
+
@param eCombine
The combine operation to perform on the bitmap
@@ -623,7 +623,7 @@ public:
@return sal_True, if blending was successful, sal_False otherwise
*/
- sal_Bool Blend( const AlphaMask& rAlpha,
+ sal_Bool Blend( const AlphaMask& rAlpha,
const Color& rBackgroundColor );
/** Fill the entire bitmap with the given color
@@ -640,13 +640,13 @@ public:
@return sal_True, if the operation was completed successfully.
*/
sal_Bool Invert();
-
+
/** Mirror the bitmap
@param nMirrorFlags
About which axis (horizontal, vertical, or both) to mirror
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Mirror( sal_uLong nMirrorFlags );
@@ -658,7 +658,7 @@ public:
@param nScaleFlag
The algorithm to be used for scaling
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Scale( const Size& rNewSize, sal_uInt32
nScaleFlag = BMP_SCALE_FASTESTINTERPOLATE );
@@ -670,11 +670,11 @@ public:
@param rScaleY
The scale factor in y direction.
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Scale( const double& rScaleX, const double&
rScaleY, sal_uInt32 nScaleFlag = BMP_SCALE_FASTESTINTERPOLATE );
- // Adapt the BitCount of rNew to BitCount of lolal, including grey or
color paltette
+ // Adapt the BitCount of rNew to BitCount of total, including gray or
color palette
// Can be used to create alpha/mask bitmaps after their processing in 24bit
void AdaptBitCount(Bitmap& rNew) const;
@@ -689,7 +689,7 @@ public:
in. The empty spaces around that rotated original bitmap are
then filled with this color.
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Rotate( long nAngle10, const Color& rFillColor
);
@@ -728,11 +728,11 @@ public:
@param rMask
Mask specifying which pixel should be replaced
-
+
@param rReplaceColor
Color to be placed in all changed pixel
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Replace( const Bitmap& rMask, const Color&
rReplaceColor );
@@ -740,11 +740,11 @@ public:
@param rAlpha
Alpha mask specifying the amount of background color to merge in
-
+
@param rMergeColor
Background color to be used for merging
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Replace( const AlphaMask& rAlpha, const Color&
rMergeColor );
@@ -752,7 +752,7 @@ public:
@param rSearchColor
Color specifying which pixel should be replaced
-
+
@param rReplaceColor
Color to be placed in all changed pixel
@@ -761,7 +761,7 @@ public:
rSearchColor and the individual pixel values, such that the
corresponding pixel is still regarded a match.
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Replace( const Color& rSearchColor, const
Color& rReplaceColor, sal_uLong nTol = 0 );
@@ -769,7 +769,7 @@ public:
@param pSearchColor
Array of colors specifying which pixel should be replaced
-
+
@param pReplaceColor
Array of colors to be placed in all changed pixel
@@ -781,12 +781,12 @@ public:
pSearchColor colors and the individual pixel values, such that
the corresponding pixel is still regarded a match.
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
- sal_Bool Replace( const Color* pSearchColors, const
Color* rReplaceColors,
+ sal_Bool Replace( const Color* pSearchColors, const
Color* rReplaceColors,
sal_uLong nColorCount, sal_uLong* pTols = NULL );
- /** Convert the bitmap to a PolyPolygon
+ /** Convert the bitmap to a PolyPolygon
This works by putting continuous areas of the same color into
a polygon, by tracing its bounding line.
@@ -801,9 +801,9 @@ public:
@param pProgress
A callback for showing the progress of the vectorization
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
- sal_Bool Vectorize( PolyPolygon&
rPolyPoly,
+ sal_Bool Vectorize( PolyPolygon&
rPolyPoly,
sal_uLong nFlags = BMP_VECTORIZE_OUTER,
const Link* pProgress = NULL );
@@ -826,7 +826,7 @@ public:
@param pProgress
A callback for showing the progress of the vectorization
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Vectorize( GDIMetaFile&
rMtf, sal_uInt8 cReduce = 0,
sal_uLong nFlags = BMP_VECTORIZE_INNER,
@@ -857,12 +857,12 @@ public:
@param bInvert
If sal_True, invert the channel values with the logical 'not' operator
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Adjust( short
nLuminancePercent = 0,
short
nContrastPercent = 0,
- short
nChannelRPercent = 0,
- short
nChannelGPercent = 0,
+ short
nChannelRPercent = 0,
+ short
nChannelGPercent = 0,
short
nChannelBPercent = 0,
double
fGamma = 1.0,
sal_Bool bInvert = sal_False );
@@ -877,10 +877,10 @@ public:
@param pProgress
A callback for showing the progress of the vectorization
-
- @return sal_True, if the operation was completed successfully.
+
+ @return sal_True, if the operation was completed successfully.
*/
- sal_Bool Filter( BmpFilter
eFilter,
+ sal_Bool Filter( BmpFilter
eFilter,
const
BmpFilterParam* pFilterParam = NULL,
const
Link* pProgress = NULL );
@@ -970,3 +970,5 @@ inline sal_uLong Bitmap::GetSizeBytes() const
}
#endif // _SV_BITMAP_HXX
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/vcl/inc/vcl/bitmapex.hxx b/main/vcl/inc/vcl/bitmapex.hxx
index e253e5128a..d09798c746 100644
--- a/main/vcl/inc/vcl/bitmapex.hxx
+++ b/main/vcl/inc/vcl/bitmapex.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -36,7 +36,7 @@
enum TransparentType
{
- TRANSPARENT_NONE,
+ TRANSPARENT_NONE,
TRANSPARENT_COLOR,
TRANSPARENT_BITMAP
};
@@ -84,11 +84,11 @@ public:
void SetEmpty();
void Clear();
- void Draw( OutputDevice* pOutDev,
+ void Draw( OutputDevice* pOutDev,
const Point& rDestPt
) const;
- void Draw( OutputDevice* pOutDev,
+ void Draw( OutputDevice* pOutDev,
const Point& rDestPt,
const Size& rDestSize ) const;
- void Draw( OutputDevice* pOutDev,
+ void Draw( OutputDevice* pOutDev,
const Point& rDestPt,
const Size& rDestSize,
const Point&
rSrcPtPixel, const Size& rSrcSizePixel ) const;
@@ -140,7 +140,7 @@ public:
@return sal_True, if the color reduction operation was completed
successfully.
*/
- sal_Bool ReduceColors( sal_uInt16
nNewColorCount,
+ sal_Bool ReduceColors( sal_uInt16
nNewColorCount,
BmpReduce eReduce = BMP_REDUCE_SIMPLE );
/** Apply a dither algorithm to the bitmap
@@ -172,7 +172,7 @@ public:
/** Expand the bitmap by pixel padding
- @param nDX
+ @param nDX
Number of pixel to pad at the right border of the bitmap
@param nDY
@@ -185,8 +185,8 @@ public:
not only returned when the operation failed, but also if
nothing had to be done, e.g. because nDX and nDY were zero.
*/
- sal_Bool Expand( sal_uLong nDX, sal_uLong nDY,
- const Color*
pInitColor = NULL,
+ sal_Bool Expand( sal_uLong nDX, sal_uLong nDY,
+ const Color*
pInitColor = NULL,
sal_Bool
bExpandTransparent = sal_False );
/** Copy a rectangular area from another bitmap
@@ -236,7 +236,7 @@ public:
@param nMirrorFlags
About which axis (horizontal, vertical, or both) to mirror
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Mirror( sal_uLong nMirrorFlags );
@@ -248,7 +248,7 @@ public:
@param nScaleFlag
The algorithm to be used for scaling
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Scale( const Size& rNewSize,
sal_uInt32 nScaleFlag = BMP_SCALE_FASTESTINTERPOLATE );
@@ -260,7 +260,7 @@ public:
@param rScaleY
The scale factor in y direction.
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Scale( const double& rScaleX, const
double& rScaleY, sal_uInt32 nScaleFlag = BMP_SCALE_FASTESTINTERPOLATE );
@@ -275,7 +275,7 @@ public:
in. The empty spaces around that rotated original bitmap are
then filled with this color.
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Rotate( long nAngle10, const Color&
rFillColor );
@@ -283,7 +283,7 @@ public:
@param rSearchColor
Color specifying which pixel should be replaced
-
+
@param rReplaceColor
Color to be placed in all changed pixel
@@ -292,7 +292,7 @@ public:
rSearchColor and the individual pixel values, such that the
corresponding pixel is still regarded a match.
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Replace( const Color& rSearchColor,
const Color& rReplaceColor, sal_uLong nTol = 0 );
@@ -300,7 +300,7 @@ public:
@param pSearchColor
Array of colors specifying which pixel should be replaced
-
+
@param pReplaceColor
Array of colors to be placed in all changed pixel
@@ -312,9 +312,9 @@ public:
pSearchColor colors and the individual pixel values, such that
the corresponding pixel is still regarded a match.
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
- sal_Bool Replace( const Color* pSearchColors,
const Color* pReplaceColors,
+ sal_Bool Replace( const Color* pSearchColors,
const Color* pReplaceColors,
sal_uLong
nColorCount, const sal_uLong* pTols = NULL );
/** Change various global color characteristics
@@ -342,12 +342,12 @@ public:
@param bInvert
If sal_True, invert the channel values with the logical 'not' operator
- @return sal_True, if the operation was completed successfully.
+ @return sal_True, if the operation was completed successfully.
*/
sal_Bool Adjust( short nLuminancePercent
= 0,
short
nContrastPercent = 0,
- short
nChannelRPercent = 0,
- short
nChannelGPercent = 0,
+ short
nChannelRPercent = 0,
+ short
nChannelGPercent = 0,
short
nChannelBPercent = 0,
double fGamma =
1.0,
sal_Bool
bInvert = sal_False );
@@ -362,10 +362,10 @@ public:
@param pProgress
A callback for showing the progress of the vectorization
-
- @return sal_True, if the operation was completed successfully.
+
+ @return sal_True, if the operation was completed successfully.
*/
- sal_Bool Filter( BmpFilter eFilter,
+ sal_Bool Filter( BmpFilter eFilter,
const
BmpFilterParam* pFilterParam = NULL,
const Link*
pProgress = NULL );
@@ -383,7 +383,7 @@ public:
sal_uInt8 GetTransparency(sal_Int32 nX, sal_Int32 nY) const;
/** Create transformed Bitmap
-
+
@param fWidth
The target width in pixels
@@ -392,10 +392,10 @@ public:
@param rTransformation
The back transformation for each pixel in (0 .. fWidth),(0 .. fHeight)
to
- local pixel coordiantes
+ local pixel coordinates
@param bSmooth
- Defines if pixel interpolation is to be used to create the result
+ Defines if pixel interpolation is to be used to create the result
*/
BitmapEx TransformBitmapEx(
double fWidth,
@@ -416,16 +416,16 @@ public:
A limitation for the maximum size of pixels to use for the result
@param bSmooth
- Defines if pixel interpolation is to be used to create the result
+ Defines if pixel interpolation is to be used to create the result
- The traget size of the result bitmap is defined by transforming the
given
+ The target size of the result bitmap is defined by transforming the
given
rTargetRange with the given rTransformation; the area of the result is
linearly scaled to not exceed the given fMaximumArea
@return The transformed bitmap
*/
BitmapEx getTransformed(
- const basegfx::B2DHomMatrix& rTransformation,
+ const basegfx::B2DHomMatrix& rTransformation,
const basegfx::B2DRange& rVisibleRange,
double fMaximumArea = 500000.0,
bool bSmooth = true) const;
@@ -455,19 +455,21 @@ public:
*/
BitmapEx VCL_DLLPUBLIC createBlendFrame(
- const Size& rSize,
+ const Size& rSize,
sal_uInt8 nAlpha,
- Color aColorTopLeft,
+ Color aColorTopLeft,
Color aColorBottomRight);
BitmapEx VCL_DLLPUBLIC createBlendFrame(
- const Size& rSize,
+ const Size& rSize,
sal_uInt8 nAlpha,
- Color aColorTopLeft,
- Color aColorTopRight,
- Color aColorBottomRight,
+ Color aColorTopLeft,
+ Color aColorTopRight,
+ Color aColorBottomRight,
Color aColorBottomLeft);
// ------------------------------------------------------------------
#endif // _SV_BITMAPEX_HXX
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/vcl/inc/vcl/btndlg.hxx b/main/vcl/inc/vcl/btndlg.hxx
index 32b82da86a..f955780fbe 100644
--- a/main/vcl/inc/vcl/btndlg.hxx
+++ b/main/vcl/inc/vcl/btndlg.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -60,15 +60,15 @@ private:
sal_Bool mbFormat;
Link maClickHdl;
- SAL_DLLPRIVATE void
ImplInitButtonDialogData();
+ SAL_DLLPRIVATE void
ImplInitButtonDialogData();
SAL_DLLPRIVATE PushButton* ImplCreatePushButton(
sal_uInt16 nBtnFlags );
SAL_DLLPRIVATE ImplBtnDlgItem* ImplGetItem( sal_uInt16 nId ) const;
- DECL_DLLPRIVATE_LINK( ImplClickHdl, PushButton* pBtn );
+ DECL_DLLPRIVATE_LINK( ImplClickHdl, PushButton* pBtn
);
SAL_DLLPRIVATE void ImplPosControls();
- // Copy assignment is forbidden and not implemented.
- SAL_DLLPRIVATE ButtonDialog( const ButtonDialog & );
- SAL_DLLPRIVATE ButtonDialog& operator=( const ButtonDialog& );
+ // Copy assignment is forbidden and not implemented.
+ SAL_DLLPRIVATE ButtonDialog( const ButtonDialog & );
+ SAL_DLLPRIVATE ButtonDialog& operator=( const ButtonDialog& );
protected:
ButtonDialog( WindowType nType
);
SAL_DLLPRIVATE long ImplGetButtonSize();
@@ -101,7 +101,7 @@ public:
void SetButtonHelpText( sal_uInt16 nId,
const XubString& rText );
XubString GetButtonHelpText( sal_uInt16 nId )
const;
void SetButtonHelpId( sal_uInt16 nId, const
rtl::OString& rHelpId );
- rtl::OString GetButtonHelpId( sal_uInt16 nId ) const;
+ rtl::OString GetButtonHelpId( sal_uInt16 nId ) const;
void SetFocusButton( sal_uInt16 nId =
BUTTONDIALOG_BUTTON_NOTFOUND ) { mnFocusButtonId = nId; }
sal_uInt16 GetFocusButton() const { return
mnFocusButtonId; }
@@ -111,3 +111,5 @@ public:
};
#endif // _SV_BTNDLG_HXX
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/vcl/inc/vcl/button.hxx b/main/vcl/inc/vcl/button.hxx
index 55712c420d..5738efd9fd 100644
--- a/main/vcl/inc/vcl/button.hxx
+++ b/main/vcl/inc/vcl/button.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -339,7 +339,7 @@ protected:
inline void SetStateRect( const Rectangle&
_rStateRect ) { maStateRect = _rStateRect; }
inline const Rectangle& GetStateRect( ) const
{ return maStateRect; }
- // draws the radio button (the knob image), in it's current state
(pressed/checked)
+ // draws the radio button (the knob image), in its current state
(pressed/checked)
// at the usual location, which can be overridden with SetStateRect
void DrawRadioButtonState( );
@@ -385,17 +385,17 @@ public:
void SetToggleHdl( const Link& rLink ) { maToggleHdl = rLink; }
const Link& GetToggleHdl() const { return maToggleHdl; }
-
+
/** GetRadioButtonGroup returns a list of pointers to
<code>RadioButton</code>s in the same group.
-
+
The pointers in the returned list are valid at the time call returns.
However rescheduling
or giving up the SolarMutex may mean events get executed that lead to the
pointers getting
invalid.
-
+
@param io_rGroup
gets cleared on entering the function. on return contains the
<code>RadioButton</code>s
in the same group as this <code>RadioButton</code>.
-
+
@param bIncludeThis
defines whether <code>this</code> is contained in the returned list
*/
@@ -445,7 +445,7 @@ protected:
SAL_DLLPRIVATE const Rectangle& GetStateRect() const { return maStateRect;
}
SAL_DLLPRIVATE const Rectangle& GetMouseRect() const { return
maMouseRect; }
public:
- SAL_DLLPRIVATE void ImplCheck();
+ SAL_DLLPRIVATE void ImplCheck();
SAL_DLLPRIVATE void ImplSetMinimumNWFSize();
public:
explicit CheckBox( Window* pParent, WinBits nStyle = 0 );
@@ -498,7 +498,7 @@ inline sal_Bool CheckBox::IsChecked() const
}
// ---------------------------------
-// - Control-Layer fuer alten Code -
+// - Control layer for old code -
// ---------------------------------
class VCL_DLLPUBLIC ImageButton : public PushButton
@@ -558,3 +558,4 @@ public:
#endif // _SV_BUTTON_HXX
+/* vim: set noet sw=4 ts=4: */