[Libreoffice-commits] core.git: basctl/source editeng/source include/sfx2 include/svtools include/vcl sc/source sfx2/source starmath/inc starmath/source svtools/source vcl/generic vcl/headless vcl/inc vcl/ios vcl/osx vcl/qa vcl/source vcl/unx vcl/win vcl/workben
Chris Sherlock
chris.sherlock79 at gmail.com
Fri Feb 28 01:20:09 PST 2014
basctl/source/basicide/bastypes.cxx | 2
basctl/source/inc/bastypes.hxx | 2
editeng/source/editeng/editsel.cxx | 2
editeng/source/editeng/editsel.hxx | 2
include/sfx2/dockwin.hxx | 2
include/sfx2/titledockwin.hxx | 2
include/svtools/calendar.hxx | 2
include/vcl/abstdlg.hxx | 1
include/vcl/accel.hxx | 2
include/vcl/bitmap.hxx | 48 ++++++------
include/vcl/bitmapex.hxx | 34 ++++-----
include/vcl/bmpacc.hxx | 2
include/vcl/combobox.hxx | 2
include/vcl/dockwin.hxx | 2
include/vcl/edit.hxx | 2
include/vcl/field.hxx | 2
include/vcl/graphicfilter.hxx | 4 -
include/vcl/keycod.hxx | 2
include/vcl/lstbox.hxx | 2
include/vcl/menu.hxx | 2
include/vcl/salbtype.hxx | 6 -
include/vcl/seleng.hxx | 6 -
include/vcl/spinfld.hxx | 2
include/vcl/textdata.hxx | 6 -
include/vcl/texteng.hxx | 2
include/vcl/timer.hxx | 2
include/vcl/toolbox.hxx | 2
include/vcl/vclevent.hxx | 6 -
include/vcl/vclmedit.hxx | 2
include/vcl/wrkwin.hxx | 4 -
sc/source/ui/inc/select.hxx | 4 -
sc/source/ui/view/select.cxx | 4 -
sfx2/source/dialog/dockwin.cxx | 6 -
sfx2/source/dialog/titledockwin.cxx | 4 -
starmath/inc/ElementsDockingWindow.hxx | 2
starmath/source/ElementsDockingWindow.cxx | 2
svtools/source/contnr/svimpbox.cxx | 2
svtools/source/control/calendar.cxx | 2
svtools/source/inc/svimpbox.hxx | 2
svtools/source/table/tablecontrol_impl.cxx | 10 +-
svtools/source/table/tablecontrol_impl.hxx | 2
vcl/generic/glyphs/gcach_ftyp.cxx | 4 -
vcl/generic/print/common_gfx.cxx | 6 -
vcl/generic/print/genprnpsp.cxx | 8 +-
vcl/generic/print/glyphset.cxx | 2
vcl/generic/print/printerjob.cxx | 4 -
vcl/headless/svpdummies.cxx | 2
vcl/headless/svpframe.cxx | 10 +-
vcl/headless/svpinst.cxx | 2
vcl/inc/generic/genprn.h | 2
vcl/inc/headless/svpdummies.hxx | 2
vcl/inc/headless/svpframe.hxx | 18 ++--
vcl/inc/headless/svpinst.hxx | 2
vcl/inc/ilstbox.hxx | 2
vcl/inc/osx/salframe.h | 10 +-
vcl/inc/osx/salinst.h | 4 -
vcl/inc/osx/salmenu.h | 4 -
vcl/inc/osx/salobj.h | 2
vcl/inc/osx/salprn.h | 2
vcl/inc/salframe.hxx | 12 +--
vcl/inc/salgdi.hxx | 2
vcl/inc/salinst.hxx | 4 -
vcl/inc/salmenu.hxx | 8 +-
vcl/inc/salobj.hxx | 6 -
vcl/inc/salprn.hxx | 4 -
vcl/inc/svdata.hxx | 16 ++--
vcl/inc/unx/gtk/gtkframe.hxx | 10 +-
vcl/inc/unx/gtk/gtkinst.hxx | 4 -
vcl/inc/unx/gtk/gtkobject.hxx | 4 -
vcl/inc/unx/gtk/gtksalmenu.hxx | 6 -
vcl/inc/unx/kde/kdedata.hxx | 2
vcl/inc/unx/salframe.h | 14 +--
vcl/inc/unx/salinst.h | 2
vcl/inc/unx/salmenu.h | 4 -
vcl/inc/unx/salobj.h | 4 -
vcl/inc/unx/tde/tdedata.hxx | 2
vcl/inc/win/saldata.hxx | 22 ++---
vcl/inc/win/salframe.h | 64 ++++++++--------
vcl/inc/win/salgdi.h | 2
vcl/inc/win/salinst.h | 8 +-
vcl/inc/win/salmenu.h | 6 -
vcl/inc/win/salobj.h | 6 -
vcl/inc/win/salprn.h | 12 +--
vcl/inc/win/salsys.h | 2
vcl/inc/win/salvd.h | 6 -
vcl/ios/iosinst.cxx | 4 -
vcl/osx/OSXTransferable.cxx | 4 -
vcl/osx/OSXTransferable.hxx | 2
vcl/osx/clipboard.cxx | 2
vcl/osx/salmenu.cxx | 8 +-
vcl/osx/salnativewidgets.cxx | 8 +-
vcl/osx/salprn.cxx | 12 ---
vcl/qa/cppunit/canvasbitmaptest.cxx | 16 ++--
vcl/qa/cppunit/dndtest.cxx | 14 +--
vcl/source/app/dbggui.cxx | 10 +-
vcl/source/app/salvtables.cxx | 2
vcl/source/app/svapp.cxx | 2
vcl/source/components/dtranscomp.cxx | 6 -
vcl/source/components/fontident.cxx | 4 -
vcl/source/control/button.cxx | 4 -
vcl/source/control/combobox.cxx | 2
vcl/source/control/edit.cxx | 12 +--
vcl/source/control/field2.cxx | 22 ++---
vcl/source/control/ilstbox.cxx | 6 -
vcl/source/control/lstbox.cxx | 6 -
vcl/source/control/prgsbar.cxx | 2
vcl/source/control/scrbar.cxx | 2
vcl/source/control/spinfld.cxx | 6 -
vcl/source/edit/textdat2.hxx | 2
vcl/source/edit/texteng.cxx | 16 ++--
vcl/source/edit/textview.cxx | 20 ++---
vcl/source/edit/vclmedit.cxx | 6 -
vcl/source/edit/xtextedt.cxx | 2
vcl/source/filter/graphicfilter.cxx | 4 -
vcl/source/filter/graphicfilter2.cxx | 2
vcl/source/filter/jpeg/JpegReader.cxx | 8 +-
vcl/source/filter/jpeg/JpegWriter.cxx | 2
vcl/source/filter/wmf/emfwr.cxx | 8 +-
vcl/source/filter/wmf/emfwr.hxx | 2
vcl/source/filter/wmf/enhwmf.cxx | 2
vcl/source/filter/wmf/winwmf.cxx | 6 -
vcl/source/gdi/bitmap.cxx | 2
vcl/source/gdi/bitmap4.cxx | 2
vcl/source/gdi/bitmapex.cxx | 16 ++--
vcl/source/gdi/configsettings.cxx | 2
vcl/source/gdi/gdimtf.cxx | 8 +-
vcl/source/gdi/impgraph.cxx | 2
vcl/source/gdi/pdfwriter_impl.hxx | 2
vcl/source/gdi/pngwrite.cxx | 2
vcl/source/gdi/print.cxx | 4 -
vcl/source/gdi/print3.cxx | 6 -
vcl/source/gdi/salnativewidgets-none.cxx | 8 +-
vcl/source/helper/canvasbitmap.cxx | 36 ++++-----
vcl/source/helper/strhelper.cxx | 12 +--
vcl/source/window/accel.cxx | 2
vcl/source/window/accmgr.cxx | 6 -
vcl/source/window/brdwin.cxx | 4 -
vcl/source/window/dialog.cxx | 4 -
vcl/source/window/dockmgr.cxx | 6 -
vcl/source/window/dockwin.cxx | 8 +-
vcl/source/window/menu.cxx | 14 +--
vcl/source/window/mnemonic.cxx | 2
vcl/source/window/printdlg.cxx | 4 -
vcl/source/window/seleng.cxx | 8 +-
vcl/source/window/splitwin.cxx | 4 -
vcl/source/window/syswin.cxx | 2
vcl/source/window/toolbox.cxx | 24 +++---
vcl/source/window/toolbox2.cxx | 12 +--
vcl/source/window/window.cxx | 2
vcl/source/window/winproc.cxx | 6 -
vcl/source/window/wrkwin.cxx | 8 +-
vcl/unx/generic/app/saldisp.cxx | 2
vcl/unx/generic/dtrans/X11_selection.cxx | 22 ++---
vcl/unx/generic/dtrans/X11_transferable.cxx | 4 -
vcl/unx/generic/gdi/salgdi.cxx | 2
vcl/unx/generic/gdi/salvd.cxx | 2
vcl/unx/generic/window/salframe.cxx | 60 +++++++--------
vcl/unx/generic/window/salobj.cxx | 4 -
vcl/unx/gtk/a11y/atktextattributes.cxx | 8 +-
vcl/unx/gtk/app/gtkinst.cxx | 6 -
vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx | 56 +++++++-------
vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx | 4 -
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 20 ++---
vcl/unx/gtk/window/gtkobject.cxx | 4 -
vcl/unx/gtk/window/gtksalframe.cxx | 62 ++++++++--------
vcl/unx/gtk/window/gtksalmenu.cxx | 8 +-
vcl/unx/kde/UnxCommandThread.hxx | 2
vcl/unx/kde/salnativewidgets-kde.cxx | 8 +-
vcl/unx/kde4/KDE4FilePicker.cxx | 8 +-
vcl/unx/kde4/KDESalFrame.cxx | 2
vcl/unx/kde4/KDESalFrame.hxx | 2
vcl/win/source/app/salinfo.cxx | 4 -
vcl/win/source/app/salinst.cxx | 10 +-
vcl/win/source/app/salshl.cxx | 4 -
vcl/win/source/app/saltimer.cxx | 2
vcl/win/source/gdi/salgdi.cxx | 34 ++++-----
vcl/win/source/gdi/salgdi2.cxx | 8 +-
vcl/win/source/gdi/salgdi3.cxx | 2
vcl/win/source/gdi/salnativewidgets-luna.cxx | 22 ++---
vcl/win/source/gdi/salprn.cxx | 18 ++--
vcl/win/source/gdi/salvd.cxx | 2
vcl/win/source/window/salframe.cxx | 102 +++++++++++++--------------
vcl/win/source/window/salmenu.cxx | 8 +-
vcl/win/source/window/salobj.cxx | 14 +--
vcl/workben/outdevgrind.cxx | 2
vcl/workben/svdem.cxx | 2
vcl/workben/svpclient.cxx | 6 -
vcl/workben/svptest.cxx | 2
vcl/workben/vcldemo.cxx | 2
189 files changed, 744 insertions(+), 755 deletions(-)
New commits:
commit 381f8a5673b70e31fda2739da25f3863895ae665
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Mon Feb 24 01:53:13 2014 +1100
sal_Bool -> bool in mostly vcl module
Conflicts:
include/vcl/settings.hxx
svtools/source/table/tablecontrol_impl.cxx
sw/source/core/frmedt/fecopy.cxx
vcl/inc/canvasbitmap.hxx
vcl/inc/headless/svpframe.hxx
vcl/inc/unx/salframe.h
vcl/inc/win/salframe.h
vcl/inc/win/salprn.h
vcl/inc/win/salvd.h
vcl/osx/DragSource.cxx
vcl/osx/DragSource.hxx
vcl/osx/DropTarget.cxx
vcl/osx/DropTarget.hxx
vcl/osx/OSXTransferable.cxx
vcl/osx/OSXTransferable.hxx
vcl/osx/clipboard.cxx
vcl/osx/clipboard.hxx
vcl/osx/salprn.cxx
vcl/qa/cppunit/canvasbitmaptest.cxx
vcl/source/components/fontident.cxx
vcl/source/control/edit.cxx
vcl/source/control/spinfld.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/virdev.cxx
vcl/source/helper/canvasbitmap.cxx
vcl/source/window/dockwin.cxx
vcl/unx/generic/dtrans/X11_selection.hxx
vcl/unx/kde/UnxFilePicker.cxx
vcl/unx/kde/UnxFilePicker.hxx
vcl/unx/kde4/KDE4FilePicker.cxx
vcl/unx/kde4/KDE4FilePicker.hxx
vcl/unx/kde4/KDESalFrame.hxx
Change-Id: I9866d985da86dea2a56feff23f91c1467a1636b0
Reviewed-on: https://gerrit.libreoffice.org/8219
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index 443626f..af59070 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -359,7 +359,7 @@ bool DockingWindow::Docking( const Point& rPos, Rectangle& rRect )
}
}
-void DockingWindow::EndDocking( const Rectangle& rRect, sal_Bool bFloatMode )
+void DockingWindow::EndDocking( const Rectangle& rRect, bool bFloatMode )
{
if ( bFloatMode )
::DockingWindow::EndDocking( rRect, bFloatMode );
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx
index 991f732..19e203e 100644
--- a/basctl/source/inc/bastypes.hxx
+++ b/basctl/source/inc/bastypes.hxx
@@ -91,7 +91,7 @@ public:
protected:
virtual bool Docking( const Point& rPos, Rectangle& rRect );
- virtual void EndDocking( const Rectangle& rRect, sal_Bool bFloatMode );
+ virtual void EndDocking( const Rectangle& rRect, bool bFloatMode );
virtual void ToggleFloatingMode();
virtual bool PrepareToggleFloatingMode();
virtual void StartDocking();
diff --git a/editeng/source/editeng/editsel.cxx b/editeng/source/editeng/editsel.cxx
index d9b93ff..861ddb1 100644
--- a/editeng/source/editeng/editsel.cxx
+++ b/editeng/source/editeng/editsel.cxx
@@ -44,7 +44,7 @@ void EditSelFunctionSet::DestroyAnchor()
// Only with multiple selection
}
-bool EditSelFunctionSet::SetCursorAtPoint( const Point& rPointPixel, sal_Bool )
+bool EditSelFunctionSet::SetCursorAtPoint( const Point& rPointPixel, bool )
{
if ( pCurView )
return pCurView->pImpEditView->SetCursorAtPoint( rPointPixel );
diff --git a/editeng/source/editeng/editsel.hxx b/editeng/source/editeng/editsel.hxx
index c9073e5..3000b82 100644
--- a/editeng/source/editeng/editsel.hxx
+++ b/editeng/source/editeng/editsel.hxx
@@ -37,7 +37,7 @@ public:
virtual void CreateAnchor();
virtual void DestroyAnchor();
- virtual bool SetCursorAtPoint( const Point& rPointPixel, sal_Bool bDontSelectAtCursor = sal_False );
+ virtual bool SetCursorAtPoint( const Point& rPointPixel, bool bDontSelectAtCursor = false );
virtual bool IsSelectionAtPoint( const Point& rPointPixel );
virtual void DeselectAtPoint( const Point& rPointPixel );
diff --git a/include/sfx2/dockwin.hxx b/include/sfx2/dockwin.hxx
index b8dd582..19ffcb8 100644
--- a/include/sfx2/dockwin.hxx
+++ b/include/sfx2/dockwin.hxx
@@ -62,7 +62,7 @@ protected:
virtual void ToggleFloatingMode();
virtual void StartDocking();
virtual bool Docking( const Point& rPos, Rectangle& rRect );
- virtual void EndDocking( const Rectangle& rRect, sal_Bool bFloatMode );
+ virtual void EndDocking( const Rectangle& rRect, bool bFloatMode );
virtual void Resizing( Size& rSize );
virtual void Paint( const Rectangle& rRect );
virtual bool Close();
diff --git a/include/sfx2/titledockwin.hxx b/include/sfx2/titledockwin.hxx
index ddc8220..b9c1e03 100644
--- a/include/sfx2/titledockwin.hxx
+++ b/include/sfx2/titledockwin.hxx
@@ -101,7 +101,7 @@ namespace sfx2
virtual void SetText( const OUString& i_rText );
// DockingWindow overridables
- void EndDocking( const Rectangle& rRect, sal_Bool bFloatMode );
+ void EndDocking( const Rectangle& rRect, bool bFloatMode );
// own overridables
virtual void onLayoutDone();
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx
index 9b60912..6fad42f 100644
--- a/include/svtools/calendar.hxx
+++ b/include/svtools/calendar.hxx
@@ -420,7 +420,7 @@ public:
virtual void Select();
- virtual bool ShowDropDown( sal_Bool bShow );
+ virtual bool ShowDropDown( bool bShow );
virtual Calendar* CreateCalendar( Window* pParent );
Calendar* GetCalendar();
diff --git a/include/vcl/abstdlg.hxx b/include/vcl/abstdlg.hxx
index fa69831..3464d03 100644
--- a/include/vcl/abstdlg.hxx
+++ b/include/vcl/abstdlg.hxx
@@ -30,7 +30,6 @@ class VCL_DLLPUBLIC VclAbstractDialog
{
public:
virtual short Execute() = 0;
- //virtual void Show( sal_Bool bVisible = sal_True, sal_uInt16 nFlags = 0 ) = 0;
virtual ~VclAbstractDialog();
};
diff --git a/include/vcl/accel.hxx b/include/vcl/accel.hxx
index b61506e..362d2c7 100644
--- a/include/vcl/accel.hxx
+++ b/include/vcl/accel.hxx
@@ -45,7 +45,7 @@ private:
sal_uInt16 mnCurId;
sal_uInt16 mnCurRepeat;
bool mbIsCancel;
- sal_Bool* mpDel;
+ bool* mpDel;
SAL_DLLPRIVATE void ImplInit();
SAL_DLLPRIVATE void ImplCopyData( ImplAccelData& rAccelData );
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index 3e64da7..86e404e 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -403,7 +403,7 @@ public:
@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)
+ @return true if the bitmap has a valid system object (e.g. not empty)
*/
bool GetSystemData( BitmapSystemData& rData ) const;
@@ -424,7 +424,7 @@ public:
@param eConversion
The format this bitmap should be converted to.
- @return sal_True, if the conversion was completed successfully.
+ @return true, if the conversion was completed successfully.
*/
bool Convert( BmpConversion eConversion );
@@ -436,7 +436,7 @@ public:
@param eReduce
Algorithm to use for color reduction
- @return sal_True, if the color reduction operation was completed successfully.
+ @return true, if the color reduction operation was completed successfully.
*/
bool ReduceColors( sal_uInt16 nNewColorCount,
BmpReduce eReduce = BMP_REDUCE_SIMPLE );
@@ -462,9 +462,9 @@ public:
dimension, i.e. negative left,top rectangle coordinates or
exceeding width or height is ignored.
- @return sal_True, if cropping was performed successfully. If
+ @return true, if cropping was performed successfully. If
nothing had to be cropped, because e.g. the crop rectangle
- included the bitmap, sal_False is returned, too!
+ included the bitmap, false is returned, too!
*/
bool Crop( const Rectangle& rRectPixel );
@@ -479,7 +479,7 @@ public:
@param pInitColor
Color to use for padded pixel
- @return sal_True, if padding was performed successfully. sal_False is
+ @return true, if padding was performed successfully. false is
not only returned when the operation failed, but also if
nothing had to be done, e.g. because nDX and nDY were zero.
*/
@@ -503,7 +503,7 @@ public:
equal to the object this method is called on, copying takes
place within the same bitmap.
- @return sal_True, if the operation completed successfully. sal_False
+ @return true, if the operation completed successfully. false
is not only returned when the operation failed, but also if
nothing had to be done, e.g. because one of the rectangles are
empty.
@@ -520,7 +520,7 @@ public:
@param eCombine
The combine operation to perform on the bitmap
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool CombineSimple( const Bitmap& rMask,
BmpCombine eCombine );
@@ -539,7 +539,7 @@ public:
@param rBackgroundColor
Background color to use for every pixel during alpha blending
- @return sal_True, if blending was successful, sal_False otherwise
+ @return true, if blending was successful, false otherwise
*/
bool Blend( const AlphaMask& rAlpha,
const Color& rBackgroundColor );
@@ -549,13 +549,13 @@ public:
@param rFillColor
Color value to use for filling
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Erase( const Color& rFillColor );
/** Perform the Invert operation on every pixel
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Invert();
@@ -564,7 +564,7 @@ public:
@param nMirrorFlags
About which axis (horizontal, vertical, or both) to mirror
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Mirror( sal_uLong nMirrorFlags );
@@ -576,7 +576,7 @@ public:
@param nScaleFlag
The algorithm to be used for scaling
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Scale( const Size& rNewSize, sal_uInt32 nScaleFlag = BMP_SCALE_DEFAULT );
@@ -591,7 +591,7 @@ public:
@param nScaleFlag
Method of scaling - it is recommended that either BMP_SCALE_DEFAULT or BMP_SCALE_BESTQUALITY be used.
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Scale( const double& rScaleX, const double& rScaleY, sal_uInt32 nScaleFlag = BMP_SCALE_DEFAULT );
@@ -610,7 +610,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 true, if the operation was completed successfully.
*/
bool Rotate( long nAngle10, const Color& rFillColor );
@@ -653,7 +653,7 @@ public:
@param rReplaceColor
Color to be placed in all changed pixel
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Replace( const Bitmap& rMask, const Color& rReplaceColor );
@@ -665,7 +665,7 @@ public:
@param rMergeColor
Background color to be used for merging
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Replace( const AlphaMask& rAlpha, const Color& rMergeColor );
@@ -682,7 +682,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 true, if the operation was completed successfully.
*/
bool Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uLong nTol = 0 );
@@ -702,7 +702,7 @@ 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 true, if the operation was completed successfully.
*/
bool Replace( const Color* pSearchColors, const Color* rReplaceColors,
sal_uLong nColorCount, sal_uLong* pTols = NULL );
@@ -722,7 +722,7 @@ public:
@param pProgress
A callback for showing the progress of the vectorization
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Vectorize( PolyPolygon& rPolyPoly,
sal_uLong nFlags = BMP_VECTORIZE_OUTER,
@@ -747,7 +747,7 @@ public:
@param pProgress
A callback for showing the progress of the vectorization
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Vectorize( GDIMetaFile& rMtf, sal_uInt8 cReduce = 0,
sal_uLong nFlags = BMP_VECTORIZE_INNER,
@@ -776,9 +776,9 @@ public:
(0.0,10.0]. Values outside this range are regarded as 1.0.
@param bInvert
- If sal_True, invert the channel values with the logical 'not' operator
+ If true, invert the channel values with the logical 'not' operator
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Adjust( short nLuminancePercent = 0,
short nContrastPercent = 0,
@@ -799,7 +799,7 @@ public:
@param pProgress
A callback for showing the progress of the vectorization
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Filter( BmpFilter eFilter,
const BmpFilterParam* pFilterParam = NULL,
diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx
index 506a38bc..97b3a5b 100644
--- a/include/vcl/bitmapex.hxx
+++ b/include/vcl/bitmapex.hxx
@@ -126,7 +126,7 @@ public:
@param eConversion
The format this bitmap should be converted to.
- @return sal_True, if the conversion was completed successfully.
+ @return true, if the conversion was completed successfully.
*/
bool Convert( BmpConversion eConversion );
@@ -138,7 +138,7 @@ public:
@param eReduce
Algorithm to use for color reduction
- @return sal_True, if the color reduction operation was completed successfully.
+ @return true, if the color reduction operation was completed successfully.
*/
bool ReduceColors( sal_uInt16 nNewColorCount,
BmpReduce eReduce = BMP_REDUCE_SIMPLE );
@@ -164,9 +164,9 @@ public:
dimension, i.e. negative left,top rectangle coordinates or
exceeding width or height is ignored.
- @return sal_True, if cropping was performed successfully. If
+ @return true, if cropping was performed successfully. If
nothing had to be cropped, because e.g. the crop rectangle
- included the bitmap, sal_False is returned, too!
+ included the bitmap, false is returned, too!
*/
bool Crop( const Rectangle& rRectPixel );
@@ -184,7 +184,7 @@ public:
@param bExpandTransparent
Whether to expand the transparency color or not.
- @return sal_True, if padding was performed successfully. sal_False is
+ @return true, if padding was performed successfully. false is
not only returned when the operation failed, but also if
nothing had to be done, e.g. because nDX and nDY were zero.
*/
@@ -209,7 +209,7 @@ public:
equal to the object this method is called on, copying takes
place within the same bitmap.
- @return sal_True, if the operation completed successfully. sal_False
+ @return true, if the operation completed successfully. false
is not only returned when the operation failed, but also if
nothing had to be done, e.g. because one of the rectangles are
empty.
@@ -224,13 +224,13 @@ public:
Color value to use for filling. Set the transparency part of
the color to fill the mask.
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Erase( const Color& rFillColor );
/** Perform the Invert operation on every pixel
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Invert();
@@ -239,7 +239,7 @@ public:
@param nMirrorFlags
About which axis (horizontal, vertical, or both) to mirror
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Mirror( sal_uLong nMirrorFlags );
@@ -251,7 +251,7 @@ public:
@param nScaleFlag
The algorithm to be used for scaling
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Scale( const Size& rNewSize, sal_uInt32 nScaleFlag = BMP_SCALE_DEFAULT );
@@ -266,7 +266,7 @@ public:
@param nScaleFlag
The algorithm to be used for scaling
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Scale( const double& rScaleX, const double& rScaleY, sal_uInt32 nScaleFlag = BMP_SCALE_DEFAULT );
@@ -281,7 +281,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 true, if the operation was completed successfully.
*/
bool Rotate( long nAngle10, const Color& rFillColor );
@@ -298,7 +298,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 true, if the operation was completed successfully.
*/
bool Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uLong nTol = 0 );
@@ -318,7 +318,7 @@ 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 true, if the operation was completed successfully.
*/
bool Replace( const Color* pSearchColors, const Color* pReplaceColors,
sal_uLong nColorCount, const sal_uLong* pTols = NULL );
@@ -346,9 +346,9 @@ public:
(0.0,10.0]. Values outside this range are regarded as 1.0.
@param bInvert
- If sal_True, invert the channel values with the logical 'not' operator
+ If true, invert the channel values with the logical 'not' operator
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Adjust( short nLuminancePercent = 0,
short nContrastPercent = 0,
@@ -369,7 +369,7 @@ public:
@param pProgress
A callback for showing the progress of the vectorization
- @return sal_True, if the operation was completed successfully.
+ @return true, if the operation was completed successfully.
*/
bool Filter( BmpFilter eFilter,
const BmpFilterParam* pFilterParam = NULL,
diff --git a/include/vcl/bmpacc.hxx b/include/vcl/bmpacc.hxx
index a233e96..a6472b4 100644
--- a/include/vcl/bmpacc.hxx
+++ b/include/vcl/bmpacc.hxx
@@ -254,7 +254,7 @@ inline Point BitmapReadAccess::BottomRight() const
inline bool BitmapReadAccess::IsTopDown() const
{
DBG_ASSERT( mpBuffer, "Access is not valid!" );
- return( mpBuffer ? sal::static_int_cast<sal_Bool>( BMP_SCANLINE_ADJUSTMENT( mpBuffer->mnFormat ) == BMP_FORMAT_TOP_DOWN ) : sal_False );
+ return( mpBuffer ? sal::static_int_cast<bool>( BMP_SCANLINE_ADJUSTMENT( mpBuffer->mnFormat ) == BMP_FORMAT_TOP_DOWN ) : false );
}
// ------------------------------------------------------------------
diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx
index 86b37ee..1e46087 100644
--- a/include/vcl/combobox.hxx
+++ b/include/vcl/combobox.hxx
@@ -86,7 +86,7 @@ protected:
protected:
explicit ComboBox( WindowType nType );
- bool IsDropDownBox() const { return mpFloatWin ? sal_True : sal_False; }
+ bool IsDropDownBox() const { return mpFloatWin ? true : false; }
virtual void FillLayoutData() const;
public:
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx
index f1f3fbd..2c0a3d4 100644
--- a/include/vcl/dockwin.hxx
+++ b/include/vcl/dockwin.hxx
@@ -285,7 +285,7 @@ public:
virtual void StartDocking();
virtual bool Docking( const Point& rPos, Rectangle& rRect );
- virtual void EndDocking( const Rectangle& rRect, sal_Bool bFloatMode );
+ virtual void EndDocking( const Rectangle& rRect, bool bFloatMode );
virtual bool PrepareToggleFloatingMode();
virtual void ToggleFloatingMode();
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx
index 747a96e..3fe232d 100644
--- a/include/vcl/edit.hxx
+++ b/include/vcl/edit.hxx
@@ -183,7 +183,7 @@ public:
void SetEchoChar( sal_Unicode c );
sal_Unicode GetEchoChar() const { return mcEchoChar; }
- virtual void SetReadOnly( sal_Bool bReadOnly = sal_True );
+ virtual void SetReadOnly( bool bReadOnly = true );
virtual bool IsReadOnly() const { return mbReadOnly; }
void SetInsertMode( bool bInsert );
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index 01f6c2f..e3e066da 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -356,7 +356,7 @@ public:
// --------------------------------------------------------------
// MT: Remove these methods too, ExtDateFormat should be enough!
- // What should happen if using DDMMYYYY, but ShowCentury=sal_False?
+ // What should happen if using DDMMYYYY, but ShowCentury=false?
// --------------------------------------------------------------
void SetLongFormat( bool bLong );
bool IsLongFormat() const { return mbLongFormat; }
diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx
index d62cf40..03403d7 100644
--- a/include/vcl/graphicfilter.hxx
+++ b/include/vcl/graphicfilter.hxx
@@ -187,9 +187,9 @@ public:
/** starts the detection
- if bExtendedInfo == sal_True the file header is used to derive
+ if bExtendedInfo == true the file header is used to derive
as many properties as possible (size, color, etc.) */
- virtual bool Detect( sal_Bool bExtendedInfo = sal_False );
+ virtual bool Detect( bool bExtendedInfo = false );
/** @return the file format, GFF_NOT if no format was recognized */
sal_uInt16 GetFileFormat() const { return nFormat; }
diff --git a/include/vcl/keycod.hxx b/include/vcl/keycod.hxx
index 4e8cf1f..4029c30 100644
--- a/include/vcl/keycod.hxx
+++ b/include/vcl/keycod.hxx
@@ -67,7 +67,7 @@ public:
OUString GetName( Window* pWindow = NULL ) const;
bool IsFunction() const
- { return ((eFunc != KEYFUNC_DONTKNOW) ? sal_True : sal_False); }
+ { return ((eFunc != KEYFUNC_DONTKNOW) ? true : false); }
KeyFuncType GetFunction() const;
diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx
index 8f986fc..76ec86b 100644
--- a/include/vcl/lstbox.hxx
+++ b/include/vcl/lstbox.hxx
@@ -70,7 +70,7 @@ protected:
SAL_DLLPRIVATE void ImplInit( Window* pParent, WinBits nStyle );
SAL_DLLPRIVATE WinBits ImplInitStyle( WinBits nStyle );
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
- bool IsDropDownBox() const { return mpFloatWin ? sal_True : sal_False; }
+ bool IsDropDownBox() const { return mpFloatWin ? true : false; }
protected:
explicit ListBox( WindowType nType );
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index 96cf410..8b081d1 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -311,7 +311,7 @@ public:
void SetSelectHdl( const Link& rLink ) { aSelectHdl = rLink; }
const Link& GetSelectHdl() const { return aSelectHdl; }
- bool HasLogo() const { return pLogo ? sal_True : sal_False; }
+ bool HasLogo() const { return pLogo ? true : false; }
void AddEventListener( const Link& rEventListener );
void RemoveEventListener( const Link& rEventListener );
diff --git a/include/vcl/salbtype.hxx b/include/vcl/salbtype.hxx
index 6e92484..54889a3 100644
--- a/include/vcl/salbtype.hxx
+++ b/include/vcl/salbtype.hxx
@@ -277,7 +277,7 @@ inline BitmapColor::BitmapColor() :
mcBlueOrIndex ( 0 ),
mcGreen ( 0 ),
mcRed ( 0 ),
- mbIndex ( sal_False )
+ mbIndex ( false )
{
}
@@ -287,7 +287,7 @@ inline BitmapColor::BitmapColor( sal_uInt8 cRed, sal_uInt8 cGreen, sal_uInt8 cBl
mcBlueOrIndex ( cBlue ),
mcGreen ( cGreen ),
mcRed ( cRed ),
- mbIndex ( sal_False )
+ mbIndex ( false )
{
}
@@ -317,7 +317,7 @@ inline BitmapColor::BitmapColor( sal_uInt8 cIndex ) :
mcBlueOrIndex ( cIndex ),
mcGreen ( 0 ),
mcRed ( 0 ),
- mbIndex ( sal_True )
+ mbIndex ( true )
{
}
diff --git a/include/vcl/seleng.hxx b/include/vcl/seleng.hxx
index d6bb2d3..6762a1e 100644
--- a/include/vcl/seleng.hxx
+++ b/include/vcl/seleng.hxx
@@ -50,9 +50,9 @@ public:
virtual void DestroyAnchor() = 0;
// move cursor, at the same time match cursor position to the selection
- // starting at anchor. sal_True == Ok
+ // starting at anchor. true == Ok
virtual bool SetCursorAtPoint( const Point& rPointPixel,
- sal_Bool bDontSelectAtCursor = sal_False ) = 0;
+ bool bDontSelectAtCursor = false ) = 0;
virtual bool IsSelectionAtPoint( const Point& rPointPixel ) = 0;
virtual void DeselectAtPoint( const Point& rPointPixel ) = 0;
@@ -96,7 +96,7 @@ public:
sal_uLong nAutoRepeatInterval = SELENG_AUTOREPEAT_INTERVAL );
~SelectionEngine();
- // sal_True: Event was processed by Selection Engine
+ // true: Event was processed by Selection Engine
bool SelMouseButtonDown( const MouseEvent& rMEvt );
bool SelMouseButtonUp( const MouseEvent& rMEvt );
bool SelMouseMove( const MouseEvent& rMEvt );
diff --git a/include/vcl/spinfld.hxx b/include/vcl/spinfld.hxx
index bfb69b6..117b0a7 100644
--- a/include/vcl/spinfld.hxx
+++ b/include/vcl/spinfld.hxx
@@ -74,7 +74,7 @@ public:
explicit SpinField( Window* pParent, const ResId& );
virtual ~SpinField();
- virtual bool ShowDropDown( sal_Bool bShow );
+ virtual bool ShowDropDown( bool bShow );
virtual void Up();
virtual void Down();
diff --git a/include/vcl/textdata.hxx b/include/vcl/textdata.hxx
index f4bf408..3b3fc53 100644
--- a/include/vcl/textdata.hxx
+++ b/include/vcl/textdata.hxx
@@ -52,7 +52,7 @@ public:
inline bool TextPaM::operator == ( const TextPaM& rPaM ) const
{
- return ( ( mnPara == rPaM.mnPara ) && ( mnIndex == rPaM.mnIndex ) ) ? sal_True : sal_False;
+ return ( ( mnPara == rPaM.mnPara ) && ( mnIndex == rPaM.mnIndex ) ) ? true : false;
}
inline bool TextPaM::operator != ( const TextPaM& rPaM ) const
@@ -63,13 +63,13 @@ inline bool TextPaM::operator != ( const TextPaM& rPaM ) const
inline bool TextPaM::operator < ( const TextPaM& rPaM ) const
{
return ( ( mnPara < rPaM.mnPara ) ||
- ( ( mnPara == rPaM.mnPara ) && mnIndex < rPaM.mnIndex ) ) ? sal_True : sal_False;
+ ( ( mnPara == rPaM.mnPara ) && mnIndex < rPaM.mnIndex ) ) ? true : false;
}
inline bool TextPaM::operator > ( const TextPaM& rPaM ) const
{
return ( ( mnPara > rPaM.mnPara ) ||
- ( ( mnPara == rPaM.mnPara ) && mnIndex > rPaM.mnIndex ) ) ? sal_True : sal_False;
+ ( ( mnPara == rPaM.mnPara ) && mnIndex > rPaM.mnIndex ) ) ? true : false;
}
class VCL_DLLPUBLIC TextSelection
diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx
index 700def5..04416ea 100644
--- a/include/vcl/texteng.hxx
+++ b/include/vcl/texteng.hxx
@@ -273,7 +273,7 @@ public:
void SetRightToLeft( bool bR2L );
bool IsRightToLeft() const { return mbRightToLeft; }
- bool HasUndoManager() const { return mpUndoManager ? sal_True : sal_False; }
+ bool HasUndoManager() const { return mpUndoManager ? true : false; }
::svl::IUndoManager&
GetUndoManager();
void UndoActionStart( sal_uInt16 nId = 0 );
diff --git a/include/vcl/timer.hxx b/include/vcl/timer.hxx
index 474036b..91db8cb 100644
--- a/include/vcl/timer.hxx
+++ b/include/vcl/timer.hxx
@@ -49,7 +49,7 @@ public:
/// set the timeout in milliseconds
void SetTimeout( sal_uLong nTimeoutMs );
sal_uLong GetTimeout() const { return mnTimeout; }
- bool IsActive() const { return mbActive ? sal_True : sal_False; }
+ bool IsActive() const { return mbActive ? true : false; }
void SetTimeoutHdl( const Link& rLink ) { maTimeoutHdl = rLink; }
const Link& GetTimeoutHdl() const { return maTimeoutHdl; }
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index f0abfe9..35f4674 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -319,7 +319,7 @@ public:
virtual void ToggleFloatingMode();
virtual void StartDocking();
virtual bool Docking( const Point& rPos, Rectangle& rRect );
- virtual void EndDocking( const Rectangle& rRect, sal_Bool bFloatMode );
+ virtual void EndDocking( const Rectangle& rRect, bool bFloatMode );
virtual void Resizing( Size& rSize );
virtual Size GetOptimalSize() const;
diff --git a/include/vcl/vclevent.hxx b/include/vcl/vclevent.hxx
index 55ea330..cd5df4d 100644
--- a/include/vcl/vclevent.hxx
+++ b/include/vcl/vclevent.hxx
@@ -192,7 +192,7 @@ namespace com { namespace sun { namespace star {
#define VCLEVENT_WINDOW_STARTDOCKING 1227 // pData = DockingData
#define VCLEVENT_WINDOW_DOCKING 1228
#define VCLEVENT_WINDOW_ENDDOCKING 1229 // pData = EndDockingData
-#define VCLEVENT_WINDOW_PREPARETOGGLEFLOATING 1230 // pData = sal_Bool
+#define VCLEVENT_WINDOW_PREPARETOGGLEFLOATING 1230 // pData = bool
#define VCLEVENT_WINDOW_TOGGLEFLOATING 1231
#define VCLEVENT_WINDOW_ENDPOPUPMODE 1232 // pData = EndPopupModeData
@@ -261,8 +261,8 @@ public:
void Call( VclSimpleEvent* pEvent ) const;
// stops notifying when any handler has processed the event
- // and returns sal_True in that case
- // a handler must return sal_True to signal that it has processed the event
+ // and returns true in that case
+ // a handler must return true to signal that it has processed the event
bool Process( VclSimpleEvent* pEvent ) const;
void addListener( const Link& rListener );
void removeListener( const Link& rListener );
diff --git a/include/vcl/vclmedit.hxx b/include/vcl/vclmedit.hxx
index b0bbf97..7e21355 100644
--- a/include/vcl/vclmedit.hxx
+++ b/include/vcl/vclmedit.hxx
@@ -75,7 +75,7 @@ public:
virtual void EnableUpdateData( sal_uLong nTimeout = EDIT_UPDATEDATA_TIMEOUT );
virtual void DisableUpdateData() { delete pUpdateDataTimer; pUpdateDataTimer = NULL; }
- virtual void SetReadOnly( sal_Bool bReadOnly = sal_True );
+ virtual void SetReadOnly( bool bReadOnly = sal_True );
virtual bool IsReadOnly() const;
void EnableFocusSelectionHide( bool bHide );
diff --git a/include/vcl/wrkwin.hxx b/include/vcl/wrkwin.hxx
index be494af..1470241 100644
--- a/include/vcl/wrkwin.hxx
+++ b/include/vcl/wrkwin.hxx
@@ -72,7 +72,7 @@ public:
void ShowFullScreenMode( bool bFullScreenMode,
sal_Int32 nDisplayScreen );
/**
- @overload void ShowFullScreenMode(sal_Bool bFullScreenMode, sal_Int32 nDisplayScreen)
+ @overload void ShowFullScreenMode(bool bFullScreenMode, sal_Int32 nDisplayScreen)
*/
void ShowFullScreenMode( bool bFullScreenMode = true );
void EndFullScreenMode() { ShowFullScreenMode( false ); }
@@ -82,7 +82,7 @@ public:
sal_uInt16 nFlags,
sal_Int32 nDisplayScreen );
/**
- @overload void StartPresentationMode( sal_Bool bPresentation, sal_uInt16 nFlags, sal_uInt32 nDisplayScreen)
+ @overload void StartPresentationMode( bool bPresentation, sal_uInt16 nFlags, sal_uInt32 nDisplayScreen)
*/
void StartPresentationMode( bool bPresentation = true,
sal_uInt16 nFlags = 0 );
diff --git a/sc/source/ui/inc/select.hxx b/sc/source/ui/inc/select.hxx
index 81a1db5..355e1ca 100644
--- a/sc/source/ui/inc/select.hxx
+++ b/sc/source/ui/inc/select.hxx
@@ -69,7 +69,7 @@ public:
virtual void BeginDrag();
virtual void CreateAnchor();
virtual void DestroyAnchor();
- virtual bool SetCursorAtPoint( const Point& rPointPixel, sal_Bool bDontSelectAtCursor = false );
+ virtual bool SetCursorAtPoint( const Point& rPointPixel, bool bDontSelectAtCursor = false );
virtual bool IsSelectionAtPoint( const Point& rPointPixel );
virtual void DeselectAtPoint( const Point& rPointPixel );
virtual void DeselectAll();
@@ -100,7 +100,7 @@ public:
virtual void BeginDrag();
virtual void CreateAnchor();
virtual void DestroyAnchor();
- virtual bool SetCursorAtPoint( const Point& rPointPixel, sal_Bool bDontSelectAtCursor = false );
+ virtual bool SetCursorAtPoint( const Point& rPointPixel, bool bDontSelectAtCursor = false );
virtual bool IsSelectionAtPoint( const Point& rPointPixel );
virtual void DeselectAtPoint( const Point& rPointPixel );
virtual void DeselectAll();
diff --git a/sc/source/ui/view/select.cxx b/sc/source/ui/view/select.cxx
index 8541d9e..faee344 100644
--- a/sc/source/ui/view/select.cxx
+++ b/sc/source/ui/view/select.cxx
@@ -291,7 +291,7 @@ void ScViewFunctionSet::SetAnchorFlag( bool bSet )
bAnchor = bSet;
}
-bool ScViewFunctionSet::SetCursorAtPoint( const Point& rPointPixel, sal_Bool /* bDontSelectAtCursor */ )
+bool ScViewFunctionSet::SetCursorAtPoint( const Point& rPointPixel, bool /* bDontSelectAtCursor */ )
{
if ( bDidSwitch )
{
@@ -794,7 +794,7 @@ void ScHeaderFunctionSet::DestroyAnchor()
bAnchor = false;
}
-bool ScHeaderFunctionSet::SetCursorAtPoint( const Point& rPointPixel, sal_Bool /* bDontSelectAtCursor */ )
+bool ScHeaderFunctionSet::SetCursorAtPoint( const Point& rPointPixel, bool /* bDontSelectAtCursor */ )
{
if ( bDidSwitch )
{
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx
index 8d75488..0350df0 100644
--- a/sfx2/source/dialog/dockwin.cxx
+++ b/sfx2/source/dialog/dockwin.cxx
@@ -759,7 +759,7 @@ bool SfxDockingWindow::Docking( const Point& rPos, Rectangle& rRect )
-void SfxDockingWindow::EndDocking( const Rectangle& rRect, sal_Bool bFloatMode )
+void SfxDockingWindow::EndDocking( const Rectangle& rRect, bool bFloatMode )
/* [Description]
@@ -772,7 +772,7 @@ void SfxDockingWindow::EndDocking( const Rectangle& rRect, sal_Bool bFloatMode )
return;
SfxWorkWindow *pWorkWin = pBindings->GetWorkWindow_Impl();
- sal_Bool bReArrange = sal_False;
+ bool bReArrange = sal_False;
if ( pImp->bSplitable )
{
// If the alignment changes and the window is in a docked state in a
@@ -780,7 +780,7 @@ void SfxDockingWindow::EndDocking( const Rectangle& rRect, sal_Bool bFloatMode )
// PrepareToggleFloatingMode() and ToggleFloatingMode() preform the
// re-registered
if ( !bFloatMode )
- bReArrange = sal_True;
+ bReArrange = true;
}
if ( bReArrange )
diff --git a/sfx2/source/dialog/titledockwin.cxx b/sfx2/source/dialog/titledockwin.cxx
index e51167a..2a9a7a3 100644
--- a/sfx2/source/dialog/titledockwin.cxx
+++ b/sfx2/source/dialog/titledockwin.cxx
@@ -290,8 +290,8 @@ namespace sfx2
SfxDockingWindow::StateChanged( i_nType );
}
-
- void TitledDockingWindow::EndDocking( const Rectangle& i_rRect, sal_Bool i_bFloatMode )
+ //------------------------------------------------------------------------------------------------------------------
+ void TitledDockingWindow::EndDocking( const Rectangle& i_rRect, bool i_bFloatMode )
{
SfxDockingWindow::EndDocking( i_rRect, i_bFloatMode );
diff --git a/starmath/inc/ElementsDockingWindow.hxx b/starmath/inc/ElementsDockingWindow.hxx
index ac2f3b4..a5985d3 100644
--- a/starmath/inc/ElementsDockingWindow.hxx
+++ b/starmath/inc/ElementsDockingWindow.hxx
@@ -135,7 +135,7 @@ public:
Window* pParent );
~SmElementsDockingWindow();
- virtual void EndDocking( const Rectangle& rReactangle, sal_Bool bFloatMode);
+ virtual void EndDocking( const Rectangle& rReactangle, bool bFloatMode);
virtual void ToggleFloatingMode();
};
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index e093db0..79e1e5c 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -572,7 +572,7 @@ void SmElementsDockingWindow::ToggleFloatingMode()
GetFloatingWindow()->SetMinOutputSizePixel( Size(100, 100) );
}
-void SmElementsDockingWindow::EndDocking( const Rectangle& rReactangle, sal_Bool bFloatMode)
+void SmElementsDockingWindow::EndDocking( const Rectangle& rReactangle, bool bFloatMode)
{
SfxDockingWindow::EndDocking(rReactangle, bFloatMode);
bool bVertical = ( GetAlignment() == SFX_ALIGN_TOP || GetAlignment() == SFX_ALIGN_BOTTOM );
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index ae82da1..dac2f9866 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -2656,7 +2656,7 @@ void ImpLBSelEng::DestroyAnchor()
pImp->pAnchor = 0;
}
-bool ImpLBSelEng::SetCursorAtPoint(const Point& rPoint, sal_Bool bDontSelectAtCursor)
+bool ImpLBSelEng::SetCursorAtPoint(const Point& rPoint, bool bDontSelectAtCursor)
{
SvTreeListEntry* pNewCursor = pImp->MakePointVisible( rPoint );
if( pNewCursor != pImp->pCursor )
diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx
index 793a02a..1a1d7bf 100644
--- a/svtools/source/control/calendar.cxx
+++ b/svtools/source/control/calendar.cxx
@@ -2485,7 +2485,7 @@ void CalendarField::Select()
-bool CalendarField::ShowDropDown( sal_Bool bShow )
+bool CalendarField::ShowDropDown( bool bShow )
{
if ( bShow )
{
diff --git a/svtools/source/inc/svimpbox.hxx b/svtools/source/inc/svimpbox.hxx
index 3a407d3..23ea2af 100644
--- a/svtools/source/inc/svimpbox.hxx
+++ b/svtools/source/inc/svimpbox.hxx
@@ -57,7 +57,7 @@ public:
void CreateAnchor();
void DestroyAnchor();
bool SetCursorAtPoint( const Point& rPoint,
- sal_Bool bDontSelectAtCursor=sal_False );
+ bool bDontSelectAtCursor=false );
bool IsSelectionAtPoint( const Point& rPoint );
void DeselectAtPoint( const Point& rPoint );
void DeselectAll();
diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx
index 6f14300..3b6af63 100644
--- a/svtools/source/table/tablecontrol_impl.cxx
+++ b/svtools/source/table/tablecontrol_impl.cxx
@@ -2780,9 +2780,9 @@ namespace svt { namespace table
}
- bool TableFunctionSet::SetCursorAtPoint(const Point& rPoint, sal_Bool bDontSelectAtCursor)
+ bool TableFunctionSet::SetCursorAtPoint(const Point& rPoint, bool bDontSelectAtCursor)
{
- sal_Bool bHandled = sal_False;
+ bool bHandled = false;
// newRow is the row which includes the point, getCurRow() is the last selected row, before the mouse click
RowPos newRow = m_pTableControl->getRowAtPoint( rPoint );
if ( newRow == ROW_COL_HEADERS )
@@ -2799,7 +2799,7 @@ namespace svt { namespace table
{
if ( m_pTableControl->getSelectedRowCount() > 1 )
m_pTableControl->getSelEngine()->AddAlways(true);
- bHandled = sal_True;
+ bHandled = true;
}
else if ( m_pTableControl->getAnchor() == m_pTableControl->getCurRow() )
{
@@ -2829,7 +2829,7 @@ namespace svt { namespace table
m_pTableControl->setAnchor( m_pTableControl->getAnchor() - 1 );
}
m_pTableControl->invalidateSelectedRegion( m_pTableControl->getCurRow(), newRow );
- bHandled = sal_True;
+ bHandled = true;
}
//no region selected
else
@@ -2852,7 +2852,7 @@ namespace svt { namespace table
m_pTableControl->getSelEngine()->AddAlways(true);
m_pTableControl->invalidateRow( newRow );
- bHandled = sal_True;
+ bHandled = true;
}
m_pTableControl->goTo( newCol, newRow );
return bHandled;
diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx
index bd049c8..35ccaa0 100644
--- a/svtools/source/table/tablecontrol_impl.hxx
+++ b/svtools/source/table/tablecontrol_impl.hxx
@@ -496,7 +496,7 @@ namespace svt { namespace table
virtual void BeginDrag();
virtual void CreateAnchor();
virtual void DestroyAnchor();
- virtual bool SetCursorAtPoint(const Point& rPoint, sal_Bool bDontSelectAtCursor);
+ virtual bool SetCursorAtPoint(const Point& rPoint, bool bDontSelectAtCursor);
virtual bool IsSelectionAtPoint( const Point& rPoint );
virtual void DeselectAtPoint( const Point& rPoint );
virtual void DeselectAll();
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx
index 4c2443b..93cb40e 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -1138,7 +1138,7 @@ bool ServerFont::GetGlyphBitmap1( sal_GlyphId aGlyphId, RawBitmap& rRawBitmap )
((FT_OutlineGlyphRec*)pGlyphFT)->outline.flags |= FT_OUTLINE_HIGH_PRECISION;
FT_Render_Mode nRenderMode = FT_RENDER_MODE_MONO;
- rc = FT_Glyph_To_Bitmap( &pGlyphFT, nRenderMode, NULL, sal_True );
+ rc = FT_Glyph_To_Bitmap( &pGlyphFT, nRenderMode, NULL, true );
if( rc != FT_Err_Ok )
{
FT_Done_Glyph( pGlyphFT );
@@ -1261,7 +1261,7 @@ bool ServerFont::GetGlyphBitmap8( sal_GlyphId aGlyphId, RawBitmap& rRawBitmap )
bool bEmbedded = (pGlyphFT->format == FT_GLYPH_FORMAT_BITMAP);
if( !bEmbedded )
{
- rc = FT_Glyph_To_Bitmap( &pGlyphFT, FT_RENDER_MODE_NORMAL, NULL, sal_True );
+ rc = FT_Glyph_To_Bitmap( &pGlyphFT, FT_RENDER_MODE_NORMAL, NULL, true );
if( rc != FT_Err_Ok )
{
FT_Done_Glyph( pGlyphFT );
diff --git a/vcl/generic/print/common_gfx.cxx b/vcl/generic/print/common_gfx.cxx
index ae8943c..e7bb644 100644
--- a/vcl/generic/print/common_gfx.cxx
+++ b/vcl/generic/print/common_gfx.cxx
@@ -60,7 +60,7 @@ PrinterGfx::Init (PrinterJob &rPrinterJob)
mnDpi = rPrinterJob.GetResolution();
rPrinterJob.GetScale (mfScaleX, mfScaleY);
const PrinterInfo& rInfo( PrinterInfoManager::get().getPrinterInfo( rPrinterJob.GetPrinterName() ) );
- mbUploadPS42Fonts = rInfo.m_pParser ? ( rInfo.m_pParser->isType42Capable() ? sal_True : sal_False ) : sal_False;
+ mbUploadPS42Fonts = rInfo.m_pParser ? ( rInfo.m_pParser->isType42Capable() ? true : false ) : false;
return true;
}
@@ -72,13 +72,13 @@ PrinterGfx::Init (const JobData& rData)
mpPageBody = NULL;
mnDepth = rData.m_nColorDepth;
mnPSLevel = rData.m_nPSLevel ? rData.m_nPSLevel : (rData.m_pParser ? rData.m_pParser->getLanguageLevel() : 2 );
- mbColor = rData.m_nColorDevice ? ( rData.m_nColorDevice == -1 ? sal_False : sal_True ) : (( rData.m_pParser ? (rData.m_pParser->isColorDevice() ? sal_True : sal_False ) : sal_True ) );
+ mbColor = rData.m_nColorDevice ? ( rData.m_nColorDevice == -1 ? false : true ) : (( rData.m_pParser ? (rData.m_pParser->isColorDevice() ? true : false ) : true ) );
int nRes = rData.m_aContext.getRenderResolution();
mnDpi = nRes;
mfScaleX = (double)72.0 / (double)mnDpi;
mfScaleY = (double)72.0 / (double)mnDpi;
const PrinterInfo& rInfo( PrinterInfoManager::get().getPrinterInfo( rData.m_aPrinterName ) );
- mbUploadPS42Fonts = rInfo.m_pParser ? ( rInfo.m_pParser->isType42Capable() ? sal_True : sal_False ) : sal_False;
+ mbUploadPS42Fonts = rInfo.m_pParser ? ( rInfo.m_pParser->isType42Capable() ? true : false ) : false;
return true;
}
diff --git a/vcl/generic/print/genprnpsp.cxx b/vcl/generic/print/genprnpsp.cxx
index 3fb28d2..f49af9a 100644
--- a/vcl/generic/print/genprnpsp.cxx
+++ b/vcl/generic/print/genprnpsp.cxx
@@ -951,7 +951,7 @@ bool PspSalPrinter::StartJob(
#endif
m_aPrinterGfx.Init( m_aJobData );
- return m_aPrintJob.StartJob( ! m_aTmpFile.isEmpty() ? m_aTmpFile : m_aFileName, nMode, rJobName, rAppName, m_aJobData, &m_aPrinterGfx, bDirect ) ? sal_True : sal_False;
+ return m_aPrintJob.StartJob( ! m_aTmpFile.isEmpty() ? m_aTmpFile : m_aFileName, nMode, rJobName, rAppName, m_aJobData, &m_aPrinterGfx, bDirect ) ? true : false;
}
bool PspSalPrinter::EndJob()
@@ -986,12 +986,12 @@ bool PspSalPrinter::EndJob()
bool PspSalPrinter::AbortJob()
{
- bool bAbort = m_aPrintJob.AbortJob() ? sal_True : sal_False;
+ bool bAbort = m_aPrintJob.AbortJob() ? true : false;
GetSalData()->m_pInstance->jobEndedPrinterUpdate();
return bAbort;
}
-SalGraphics* PspSalPrinter::StartPage( ImplJobSetup* pJobSetup, sal_Bool )
+SalGraphics* PspSalPrinter::StartPage( ImplJobSetup* pJobSetup, bool )
{
OSL_TRACE("PspSalPrinter::StartPage");
@@ -1018,7 +1018,7 @@ bool PspSalPrinter::EndPage()
bool bResult = m_aPrintJob.EndPage();
m_aPrinterGfx.Clear();
OSL_TRACE("PspSalPrinter::EndPage");
- return bResult ? sal_True : sal_False;
+ return bResult ? true : false;
}
sal_uLong PspSalPrinter::GetErrorCode()
diff --git a/vcl/generic/print/glyphset.cxx b/vcl/generic/print/glyphset.cxx
index abb4b9d..adf08a3 100644
--- a/vcl/generic/print/glyphset.cxx
+++ b/vcl/generic/print/glyphset.cxx
@@ -855,7 +855,7 @@ GlyphSet::PSUploadFont (osl::File& rOutFile, PrinterGfx &rGfx, bool bAllowType42
#else
(void)rOutFile; (void)rGfx; (void)bAllowType42; (void)rSuppliedFonts;
# warning FIXME: Missing OpenTTFontFile outside of Unix ...
- return sal_False;
+ return false;
#endif
}
diff --git a/vcl/generic/print/printerjob.cxx b/vcl/generic/print/printerjob.cxx
index 6e15280..b6ef32f 100644
--- a/vcl/generic/print/printerjob.cxx
+++ b/vcl/generic/print/printerjob.cxx
@@ -157,9 +157,9 @@ PrinterJob::IsColorPrinter () const
bool bColor = false;
if( m_aLastJobData.m_nColorDevice )
- bColor = m_aLastJobData.m_nColorDevice == -1 ? sal_False : sal_True;
+ bColor = m_aLastJobData.m_nColorDevice == -1 ? false : true;
else if( m_aLastJobData.m_pParser )
- bColor = m_aLastJobData.m_pParser->isColorDevice() ? sal_True : sal_False;
+ bColor = m_aLastJobData.m_pParser->isColorDevice() ? true : false;
return bColor;
}
diff --git a/vcl/headless/svpdummies.cxx b/vcl/headless/svpdummies.cxx
index c45076b..b5e033a 100644
--- a/vcl/headless/svpdummies.cxx
+++ b/vcl/headless/svpdummies.cxx
@@ -40,7 +40,7 @@ void SvpSalObject::BeginSetClipRegion( sal_uLong ) {}
void SvpSalObject::UnionClipRegion( long, long, long, long ) {}
void SvpSalObject::EndSetClipRegion() {}
void SvpSalObject::SetPosSize( long, long, long, long ) {}
-void SvpSalObject::Show( sal_Bool ) {}
+void SvpSalObject::Show( bool ) {}
const SystemEnvData* SvpSalObject::GetSystemData() const { return &m_aSystemChildData; }
// SalI18NImeStatus
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index 98f0a44..e4ab5a1 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -218,7 +218,7 @@ void SvpSalFrame::SetExtendedFrameStyle( SalExtStyle )
{
}
-void SvpSalFrame::Show( sal_Bool bVisible, sal_Bool bNoActivate )
+void SvpSalFrame::Show( bool bVisible, bool bNoActivate )
{
if( bVisible && ! m_bVisible )
{
@@ -241,7 +241,7 @@ void SvpSalFrame::Show( sal_Bool bVisible, sal_Bool bNoActivate )
}
}
-void SvpSalFrame::Enable( sal_Bool )
+void SvpSalFrame::Enable( bool )
{
}
@@ -372,11 +372,11 @@ void SvpSalFrame::ShowFullScreen( bool, sal_Int32 )
SAL_FRAME_POSSIZE_WIDTH | SAL_FRAME_POSSIZE_HEIGHT );
}
-void SvpSalFrame::StartPresentation( sal_Bool )
+void SvpSalFrame::StartPresentation( bool )
{
}
-void SvpSalFrame::SetAlwaysOnTop( sal_Bool )
+void SvpSalFrame::SetAlwaysOnTop( bool )
{
}
@@ -389,7 +389,7 @@ void SvpSalFrame::SetPointer( PointerStyle )
{
}
-void SvpSalFrame::CaptureMouse( sal_Bool )
+void SvpSalFrame::CaptureMouse( bool )
{
}
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx
index 9aa08e9..a9953a9 100644
--- a/vcl/headless/svpinst.cxx
+++ b/vcl/headless/svpinst.cxx
@@ -207,7 +207,7 @@ void SvpSalInstance::DestroyFrame( SalFrame* pFrame )
delete pFrame;
}
-SalObject* SvpSalInstance::CreateObject( SalFrame*, SystemWindowData*, sal_Bool )
+SalObject* SvpSalInstance::CreateObject( SalFrame*, SystemWindowData*, bool )
{
return new SvpSalObject();
}
diff --git a/vcl/inc/generic/genprn.h b/vcl/inc/generic/genprn.h
index 539c2b4..a14a46a 100644
--- a/vcl/inc/generic/genprn.h
+++ b/vcl/inc/generic/genprn.h
@@ -90,7 +90,7 @@ public:
vcl::PrinterController& i_rController );
virtual bool EndJob();
virtual bool AbortJob();
- virtual SalGraphics* StartPage( ImplJobSetup* pSetupData, sal_Bool bNewJobData );
+ virtual SalGraphics* StartPage( ImplJobSetup* pSetupData, bool bNewJobData );
virtual bool EndPage();
virtual sal_uIntPtr GetErrorCode();
};
diff --git a/vcl/inc/headless/svpdummies.hxx b/vcl/inc/headless/svpdummies.hxx
index 49c2f99..2f1ea8a 100644
--- a/vcl/inc/headless/svpdummies.hxx
+++ b/vcl/inc/headless/svpdummies.hxx
@@ -44,7 +44,7 @@ public:
virtual void EndSetClipRegion();
virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight );
- virtual void Show( sal_Bool bVisible );
+ virtual void Show( bool bVisible );
virtual const SystemEnvData* GetSystemData() const;
};
diff --git a/vcl/inc/headless/svpframe.hxx b/vcl/inc/headless/svpframe.hxx
index 6068ba5..63986cf 100644
--- a/vcl/inc/headless/svpframe.hxx
+++ b/vcl/inc/headless/svpframe.hxx
@@ -79,7 +79,7 @@ public:
virtual SalGraphics* GetGraphics();
virtual void ReleaseGraphics( SalGraphics* pGraphics );
- virtual bool PostEvent( void* pData );
+ virtual bool PostEvent( void* pData );
virtual void SetTitle( const OUString& rTitle );
virtual void SetIcon( sal_uInt16 nIcon );
@@ -87,8 +87,8 @@ public:
virtual void DrawMenuBar();
virtual void SetExtendedFrameStyle( SalExtStyle nExtStyle );
- virtual void Show( sal_Bool bVisible, sal_Bool bNoActivate = sal_False );
- virtual void Enable( sal_Bool bEnable );
+ virtual void Show( bool bVisible, bool bNoActivate = sal_False );
+ virtual void Enable( bool bEnable );
virtual void SetMinClientSize( long nWidth, long nHeight );
virtual void SetMaxClientSize( long nWidth, long nHeight );
virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags );
@@ -96,21 +96,21 @@ public:
virtual void GetWorkArea( Rectangle& rRect );
virtual SalFrame* GetParent() const;
virtual void SetWindowState( const SalFrameState* pState );
- virtual bool GetWindowState( SalFrameState* pState );
+ virtual bool GetWindowState( SalFrameState* pState );
virtual void ShowFullScreen( bool bFullScreen, sal_Int32 nDisplay );
- virtual void StartPresentation( sal_Bool bStart );
- virtual void SetAlwaysOnTop( sal_Bool bOnTop );
+ virtual void StartPresentation( bool bStart );
+ virtual void SetAlwaysOnTop( bool bOnTop );
virtual void ToTop( sal_uInt16 nFlags );
virtual void SetPointer( PointerStyle ePointerStyle );
- virtual void CaptureMouse( sal_Bool bMouse );
+ virtual void CaptureMouse( bool bMouse );
virtual void SetPointerPos( long nX, long nY );
using SalFrame::Flush;
virtual void Flush();
virtual void Sync();
virtual void SetInputContext( SalInputContext* pContext );
virtual void EndExtTextInput( sal_uInt16 nFlags );
- virtual OUString GetKeyName( sal_uInt16 nKeyCode );
- virtual bool MapUnicodeToKeyCode( sal_Unicode aUnicode, LanguageType aLangType, KeyCode& rKeyCode );
+ virtual OUString GetKeyName( sal_uInt16 nKeyCode );
+ virtual bool MapUnicodeToKeyCode( sal_Unicode aUnicode, LanguageType aLangType, KeyCode& rKeyCode );
virtual LanguageType GetInputLanguage();
virtual void UpdateSettings( AllSettings& rSettings );
virtual void Beep();
diff --git a/vcl/inc/headless/svpinst.hxx b/vcl/inc/headless/svpinst.hxx
index 79e5e1f..50b0c8b 100644
--- a/vcl/inc/headless/svpinst.hxx
+++ b/vcl/inc/headless/svpinst.hxx
@@ -114,7 +114,7 @@ public:
virtual void DestroyFrame( SalFrame* pFrame );
// Object (System Child Window)
- virtual SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, sal_Bool bShow = sal_True );
+ virtual SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, bool bShow = true );
virtual void DestroyObject( SalObject* pObject );
// VirtualDevice
diff --git a/vcl/inc/ilstbox.hxx b/vcl/inc/ilstbox.hxx
index cb90e5d..294f7c9 100644
--- a/vcl/inc/ilstbox.hxx
+++ b/vcl/inc/ilstbox.hxx
@@ -127,7 +127,7 @@ public:
long GetEntryHeight( sal_uInt16 nPos ) const;
sal_uInt16 GetEntryCount() const { return (sal_uInt16)maEntries.size(); }
- bool HasImages() const { return mnImages ? sal_True : sal_False; }
+ bool HasImages() const { return mnImages ? true : false; }
OUString GetEntryText( sal_uInt16 nPos ) const;
diff --git a/vcl/inc/osx/salframe.h b/vcl/inc/osx/salframe.h
index 6cc843b..bbd638b 100644
--- a/vcl/inc/osx/salframe.h
+++ b/vcl/inc/osx/salframe.h
@@ -120,8 +120,8 @@ public:
virtual void SetRepresentedURL( const OUString& );
virtual void SetMenu( SalMenu* pSalMenu );
virtual void DrawMenuBar();
- virtual void Show( sal_Bool bVisible, sal_Bool bNoActivate = sal_False );
- virtual void Enable( sal_Bool bEnable );
+ virtual void Show( bool bVisible, bool bNoActivate = false );
+ virtual void Enable( bool bEnable );
virtual void SetMinClientSize( long nWidth, long nHeight );
virtual void SetMaxClientSize( long nWidth, long nHeight );
virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags );
@@ -131,11 +131,11 @@ public:
virtual void SetWindowState( const SalFrameState* pState );
virtual bool GetWindowState( SalFrameState* pState );
virtual void ShowFullScreen( bool bFullScreen, sal_Int32 nDisplay );
- virtual void StartPresentation( sal_Bool bStart );
- virtual void SetAlwaysOnTop( sal_Bool bOnTop );
+ virtual void StartPresentation( bool bStart );
+ virtual void SetAlwaysOnTop( bool bOnTop );
virtual void ToTop( sal_uInt16 nFlags );
virtual void SetPointer( PointerStyle ePointerStyle );
- virtual void CaptureMouse( sal_Bool bMouse );
+ virtual void CaptureMouse( bool bMouse );
virtual void SetPointerPos( long nX, long nY );
virtual void Flush( void );
virtual void Flush( const Rectangle& );
diff --git a/vcl/inc/osx/salinst.h b/vcl/inc/osx/salinst.h
index d6d2824..c0b41c2 100644
--- a/vcl/inc/osx/salinst.h
+++ b/vcl/inc/osx/salinst.h
@@ -88,7 +88,7 @@ public:
virtual SalFrame* CreateChildFrame( SystemParentData* pParent, sal_uLong nStyle );
virtual SalFrame* CreateFrame( SalFrame* pParent, sal_uLong nStyle );
virtual void DestroyFrame( SalFrame* pFrame );
- virtual SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, sal_Bool bShow = sal_True );
+ virtual SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, bool bShow = true );
virtual void DestroyObject( SalObject* pObject );
virtual SalVirtualDevice* CreateVirtualDevice( SalGraphics* pGraphics,
long nDX, long nDY,
@@ -114,7 +114,7 @@ public:
virtual bool CheckYieldMutex();
virtual void Yield( bool bWait, bool bHandleAllCurrentEvents );
virtual bool AnyInput( sal_uInt16 nType );
- virtual SalMenu* CreateMenu( sal_Bool bMenuBar, Menu* pVCLMenu );
+ virtual SalMenu* CreateMenu( bool bMenuBar, Menu* pVCLMenu );
virtual void DestroyMenu( SalMenu* );
virtual SalMenuItem* CreateMenuItem( const SalItemParams* pItemData );
virtual void DestroyMenuItem( SalMenuItem* );
diff --git a/vcl/inc/osx/salmenu.h b/vcl/inc/osx/salmenu.h
index 6bd9b72..66ec2f0 100644
--- a/vcl/inc/osx/salmenu.h
+++ b/vcl/inc/osx/salmenu.h
@@ -63,8 +63,8 @@ public:
virtual void RemoveItem( unsigned nPos );
virtual void SetSubMenu( SalMenuItem* pSalMenuItem, SalMenu* pSubMenu, unsigned nPos );
virtual void SetFrame( const SalFrame* pFrame );
- virtual void CheckItem( unsigned nPos, sal_Bool bCheck );
- virtual void EnableItem( unsigned nPos, sal_Bool bEnable );
+ virtual void CheckItem( unsigned nPos, bool bCheck );
+ virtual void EnableItem( unsigned nPos, bool bEnable );
virtual void SetItemText( unsigned nPos, SalMenuItem* pSalMenuItem, const OUString& rText );
virtual void SetItemImage( unsigned nPos, SalMenuItem* pSalMenuItem, const Image& rImage);
virtual void SetAccelerator( unsigned nPos, SalMenuItem* pSalMenuItem, const KeyCode& rKeyCode, const OUString& rKeyName );
diff --git a/vcl/inc/osx/salobj.h b/vcl/inc/osx/salobj.h
index 5994144..f289b72 100644
--- a/vcl/inc/osx/salobj.h
+++ b/vcl/inc/osx/salobj.h
@@ -66,7 +66,7 @@ public:
virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight );
virtual void EndSetClipRegion();
virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight );
- virtual void Show( sal_Bool bVisible );
+ virtual void Show( bool bVisible );
virtual const SystemEnvData* GetSystemData() const;
};
diff --git a/vcl/inc/osx/salprn.h b/vcl/inc/osx/salprn.h
index 3fb3dc9..1906cda 100644
--- a/vcl/inc/osx/salprn.h
+++ b/vcl/inc/osx/salprn.h
@@ -143,7 +143,7 @@ class AquaSalPrinter : public SalPrinter
virtual bool EndJob();
virtual bool AbortJob();
- virtual SalGraphics* StartPage( ImplJobSetup* i_pSetupData, sal_Bool i_bNewJobData );
+ virtual SalGraphics* StartPage( ImplJobSetup* i_pSetupData, bool i_bNewJobData );
virtual bool EndPage();
virtual sal_uLong GetErrorCode();
diff --git a/vcl/inc/salframe.hxx b/vcl/inc/salframe.hxx
index 8f8621a..9142e7a 100644
--- a/vcl/inc/salframe.hxx
+++ b/vcl/inc/salframe.hxx
@@ -127,8 +127,8 @@ public:
// Before the window is visible, a resize event
// must be sent with the correct size
- virtual void Show( sal_Bool bVisible, sal_Bool bNoActivate = sal_False ) = 0;
- virtual void Enable( sal_Bool bEnable ) = 0;
+ virtual void Show( bool bVisible, bool bNoActivate = false ) = 0;
+ virtual void Enable( bool bEnable ) = 0;
// Set ClientSize and Center the Window to the desktop
// and send/post a resize message
virtual void SetMinClientSize( long nWidth, long nHeight ) = 0;
@@ -146,9 +146,9 @@ public:
virtual void ShowFullScreen( bool bFullScreen, sal_Int32 nDisplay ) = 0;
// Enable/Disable ScreenSaver, SystemAgents, ...
- virtual void StartPresentation( sal_Bool bStart ) = 0;
+ virtual void StartPresentation( bool bStart ) = 0;
// Show Window over all other Windows
- virtual void SetAlwaysOnTop( sal_Bool bOnTop ) = 0;
+ virtual void SetAlwaysOnTop( bool bOnTop ) = 0;
// Window to top and grab focus
virtual void ToTop( sal_uInt16 nFlags ) = 0;
@@ -156,7 +156,7 @@ public:
// this function can call with the same
// pointer style
virtual void SetPointer( PointerStyle ePointerStyle ) = 0;
- virtual void CaptureMouse( sal_Bool bMouse ) = 0;
+ virtual void CaptureMouse( bool bMouse ) = 0;
virtual void SetPointerPos( long nX, long nY ) = 0;
// flush output buffer
@@ -171,7 +171,7 @@ public:
virtual OUString GetKeyName( sal_uInt16 nKeyCode ) = 0;
// returns in 'rKeyCode' the single keycode that translates to the given unicode when using a keyboard layout of language 'aLangType'
- // returns sal_False if no mapping exists or function not supported
+ // returns false if no mapping exists or function not supported
// this is required for advanced menu support
virtual bool MapUnicodeToKeyCode( sal_Unicode aUnicode, LanguageType aLangType, KeyCode& rKeyCode ) = 0;
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx
index bfed8fc..add4547 100644
--- a/vcl/inc/salgdi.hxx
+++ b/vcl/inc/salgdi.hxx
@@ -250,7 +250,7 @@ public:
// CreateFontSubset: a method to get a subset of glyhps of a font
// inside a new valid font file
- // returns sal_True if creation of subset was successful
+ // returns true if creation of subset was successful
// parameters: rToFile: contains a osl file URL to write the subset to
// pFont: describes from which font to create a subset
// pGlyphIDs: the glyph ids to be extracted
diff --git a/vcl/inc/salinst.hxx b/vcl/inc/salinst.hxx
index bcf7548..75b390a 100644
--- a/vcl/inc/salinst.hxx
+++ b/vcl/inc/salinst.hxx
@@ -75,7 +75,7 @@ public:
virtual void DestroyFrame( SalFrame* pFrame ) = 0;
// Object (System Child Window)
- virtual SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, sal_Bool bShow = sal_True ) = 0;
+ virtual SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, bool bShow = true ) = 0;
virtual void DestroyObject( SalObject* pObject ) = 0;
// VirtualDevice
@@ -128,7 +128,7 @@ public:
virtual bool AnyInput( sal_uInt16 nType ) = 0;
// menus
- virtual SalMenu* CreateMenu( sal_Bool bMenuBar, Menu* pMenu );
+ virtual SalMenu* CreateMenu( bool bMenuBar, Menu* pMenu );
virtual void DestroyMenu( SalMenu* pMenu);
virtual SalMenuItem* CreateMenuItem( const SalItemParams* pItemData );
virtual void DestroyMenuItem( SalMenuItem* pItem );
diff --git a/vcl/inc/salmenu.hxx b/vcl/inc/salmenu.hxx
index 6515fc2..f0cafe3 100644
--- a/vcl/inc/salmenu.hxx
+++ b/vcl/inc/salmenu.hxx
@@ -65,15 +65,15 @@ public:
SalMenu() {}
virtual ~SalMenu();
- virtual bool VisibleMenuBar() = 0; // must return sal_True to actually DISPLAY native menu bars
+ virtual bool VisibleMenuBar() = 0; // must return true to actually DISPLAY native menu bars
// otherwise only menu messages are processed (eg, OLE on Windows)
virtual void InsertItem( SalMenuItem* pSalMenuItem, unsigned nPos ) = 0;
virtual void RemoveItem( unsigned nPos ) = 0;
virtual void SetSubMenu( SalMenuItem* pSalMenuItem, SalMenu* pSubMenu, unsigned nPos ) = 0;
virtual void SetFrame( const SalFrame* pFrame ) = 0;
- virtual void CheckItem( unsigned nPos, sal_Bool bCheck ) = 0;
- virtual void EnableItem( unsigned nPos, sal_Bool bEnable ) = 0;
+ virtual void CheckItem( unsigned nPos, bool bCheck ) = 0;
+ virtual void EnableItem( unsigned nPos, bool bEnable ) = 0;
virtual void SetItemText( unsigned nPos, SalMenuItem* pSalMenuItem, const OUString& rText )= 0;
virtual void SetItemImage( unsigned nPos, SalMenuItem* pSalMenuItem, const Image& rImage ) = 0;
virtual void SetAccelerator( unsigned nPos, SalMenuItem* pSalMenuItem, const KeyCode& rKeyCode, const OUString& rKeyName ) = 0;
@@ -83,7 +83,7 @@ public:
virtual void RemoveMenuBarButton( sal_uInt16 nId );
// TODO: implement show/hide for the Win/Mac VCL native backends
- virtual void ShowItem( unsigned nPos, sal_Bool bShow ) { EnableItem( nPos, bShow ); }
+ virtual void ShowItem( unsigned nPos, bool bShow ) { EnableItem( nPos, bShow ); }
// return an empty rectangle if not implemented
// return Rectangle( Point( -1, -1 ), Size( 1, 1 ) ) if menu bar buttons implemented
diff --git a/vcl/inc/salobj.hxx b/vcl/inc/salobj.hxx
index a9d224f..065eb0d 100644
--- a/vcl/inc/salobj.hxx
+++ b/vcl/inc/salobj.hxx
@@ -52,14 +52,14 @@ public:
virtual void EndSetClipRegion() = 0;
virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight ) = 0;
- virtual void Show( sal_Bool bVisible ) = 0;
- virtual void Enable( sal_Bool /* nEnable */ ) {}
+ virtual void Show( bool bVisible ) = 0;
+ virtual void Enable( bool /* nEnable */ ) {}
virtual void GrabFocus() {}
virtual void SetBackground() {}
virtual void SetBackground( SalColor /* nSalColor */ ) {}
- virtual void SetForwardKey( sal_Bool /* bEnable */ ) {}
+ virtual void SetForwardKey( bool /* bEnable */ ) {}
virtual const SystemEnvData* GetSystemData() const = 0;
diff --git a/vcl/inc/salprn.hxx b/vcl/inc/salprn.hxx
index ce003ff..368ec3d 100644
--- a/vcl/inc/salprn.hxx
+++ b/vcl/inc/salprn.hxx
@@ -99,7 +99,7 @@ public:
ImplJobSetup* pSetupData ) = 0;
// implement for pull model print systems only,
- // default implementations (see salvtables.cxx) just returns sal_False
+ // default implementations (see salvtables.cxx) just returns false
virtual bool StartJob( const OUString* pFileName,
const OUString& rJobName,
const OUString& rAppName,
@@ -108,7 +108,7 @@ public:
virtual bool EndJob() = 0;
virtual bool AbortJob() = 0;
- virtual SalGraphics* StartPage( ImplJobSetup* pSetupData, sal_Bool bNewJobData ) = 0;
+ virtual SalGraphics* StartPage( ImplJobSetup* pSetupData, bool bNewJobData ) = 0;
virtual bool EndPage() = 0;
virtual sal_uLong GetErrorCode() = 0;
diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx
index f46bf003..7a40ba6 100644
--- a/vcl/inc/svdata.hxx
+++ b/vcl/inc/svdata.hxx
@@ -137,10 +137,10 @@ struct ImplSVAppData
bool mbInAppMain; // is Application::Main() on stack
bool mbInAppExecute; // is Application::Execute() on stack
bool mbAppQuit; // is Application::Quit() called
- bool mbSettingsInit; // sal_True: Settings are initialized
+ bool mbSettingsInit; // true: Settings are initialized
bool mbNoYield; // Application::Yield will not wait for events if the queue is empty
// essentially that makes it the same as Application::Reschedule
- Application::DialogCancelMode meDialogCancel; // sal_True: All Dialog::Execute() calls will be terminated immediately with return sal_False
+ Application::DialogCancelMode meDialogCancel; // true: All Dialog::Execute() calls will be terminated immediately with return false
long mnDefaultLayoutBorder; // default value in pixel for layout distances used
// in window arrangers
@@ -175,7 +175,7 @@ struct ImplSVGDIData
long mnRealAppFontX; // AppFont X-Numenator for 40/tel Width
long mnAppFontX; // AppFont X-Numenator for 40/tel Width + DialogScaleX
long mnAppFontY; // AppFont Y-Numenator for 80/tel Height
- bool mbFontSubChanged; // sal_True: FontSubstitution was changed between Begin/End
+ bool mbFontSubChanged; // true: FontSubstitution was changed between Begin/End
bool mbNativeFontConfig; // true: do not override UI font
bool mbNoXORClipping; // true: do not use XOR to achieve clipping effects
};
@@ -200,9 +200,9 @@ struct ImplSVWinData
Window* mpAutoScrollWin; // window, that is in AutoScrollMode mode
sal_uInt16 mnTrackFlags; // tracking flags
sal_uInt16 mnAutoScrollFlags; // auto scroll flags
- bool mbNoDeactivate; // sal_True: do not execute Deactivate
- bool mbNoSaveFocus; // sal_True: menus must not save/restore focus
- bool mbNoSaveBackground; // sal_True: save background is unnecessary or even less performant
+ bool mbNoDeactivate; // true: do not execute Deactivate
+ bool mbNoSaveFocus; // true: menus must not save/restore focus
+ bool mbNoSaveBackground; // true: save background is unnecessary or even less performant
};
@@ -318,8 +318,8 @@ struct ImplSVData
ResMgr* mpResMgr; // SV-Resource-Manager
sal_uLong mnTimerPeriod; // current timer period
sal_uLong mnTimerUpdate; // TimerCallbackProcs on stack
- bool mbNotAllTimerCalled;// sal_True: Es muessen noch Timer abgearbeitet werden
- bool mbNoCallTimer; // sal_True: No Timeout calls
+ bool mbNotAllTimerCalled;// true: Es muessen noch Timer abgearbeitet werden
+ bool mbNoCallTimer; // true: No Timeout calls
ImplSVAppData maAppData; // indepen data for class Application
ImplSVGDIData maGDIData; // indepen data for Output classes
ImplSVWinData maWinData; // indepen data for Windows classes
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx
index bfa420e..82cee5d 100644
--- a/vcl/inc/unx/gtk/gtkframe.hxx
+++ b/vcl/inc/unx/gtk/gtkframe.hxx
@@ -368,8 +368,8 @@ public:
virtual void SetExtendedFrameStyle( SalExtStyle nExtStyle );
// Before the window is visible, a resize event
// must be sent with the correct size
- virtual void Show( sal_Bool bVisible, sal_Bool bNoActivate = sal_False );
- virtual void Enable( sal_Bool bEnable );
+ virtual void Show( bool bVisible, bool bNoActivate = false );
+ virtual void Enable( bool bEnable );
// Set ClientSize and Center the Window to the desktop
// and send/post a resize message
virtual void SetMinClientSize( long nWidth, long nHeight );
@@ -382,9 +382,9 @@ public:
virtual bool GetWindowState( SalFrameState* pState );
virtual void ShowFullScreen( bool bFullScreen, sal_Int32 nDisplay );
// Enable/Disable ScreenSaver, SystemAgents, ...
- virtual void StartPresentation( sal_Bool bStart );
+ virtual void StartPresentation( bool bStart );
// Show Window over all other Windows
- virtual void SetAlwaysOnTop( sal_Bool bOnTop );
+ virtual void SetAlwaysOnTop( bool bOnTop );
// Window to top and grab focus
virtual void ToTop( sal_uInt16 nFlags );
@@ -392,7 +392,7 @@ public:
// this function can call with the same
// pointer style
virtual void SetPointer( PointerStyle ePointerStyle );
- virtual void CaptureMouse( sal_Bool bMouse );
+ virtual void CaptureMouse( bool bMouse );
virtual void SetPointerPos( long nX, long nY );
// flush output buffer
diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx
index 9ec7c1e..bb997a6 100644
--- a/vcl/inc/unx/gtk/gtkinst.hxx
+++ b/vcl/inc/unx/gtk/gtkinst.hxx
@@ -71,11 +71,11 @@ public:
virtual SalFrame* CreateFrame( SalFrame* pParent, sal_uLong nStyle );
virtual SalFrame* CreateChildFrame( SystemParentData* pParent, sal_uLong nStyle );
- virtual SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, sal_Bool bShow = sal_True );
+ virtual SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, bool bShow = true );
virtual SalSystem* CreateSalSystem();
virtual SalInfoPrinter* CreateInfoPrinter(SalPrinterQueueInfo* pPrinterQueueInfo, ImplJobSetup* pJobSetup);
virtual SalPrinter* CreatePrinter( SalInfoPrinter* pInfoPrinter );
- virtual SalMenu* CreateMenu( sal_Bool, Menu* );
+ virtual SalMenu* CreateMenu( bool, Menu* );
virtual void DestroyMenu( SalMenu* pMenu );
virtual SalMenuItem* CreateMenuItem( const SalItemParams* );
virtual void DestroyMenuItem( SalMenuItem* pItem );
diff --git a/vcl/inc/unx/gtk/gtkobject.hxx b/vcl/inc/unx/gtk/gtkobject.hxx
index 39ef5b8..34710ff 100644
--- a/vcl/inc/unx/gtk/gtkobject.hxx
+++ b/vcl/inc/unx/gtk/gtkobject.hxx
@@ -51,9 +51,9 @@ public:
virtual void EndSetClipRegion();
virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight );
- virtual void Show( sal_Bool bVisible );
+ virtual void Show( bool bVisible );
- virtual void SetForwardKey( sal_Bool bEnable );
+ virtual void SetForwardKey( bool bEnable );
virtual const SystemEnvData* GetSystemData() const;
};
diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx
index aa99268..a2e59e7 100644
--- a/vcl/inc/unx/gtk/gtksalmenu.hxx
+++ b/vcl/inc/unx/gtk/gtksalmenu.hxx
@@ -66,9 +66,9 @@ public:
virtual void SetSubMenu( SalMenuItem* pSalMenuItem, SalMenu* pSubMenu, unsigned nPos );
virtual void SetFrame( const SalFrame* pFrame );
virtual const GtkSalFrame* GetFrame() const;
- virtual void CheckItem( unsigned nPos, sal_Bool bCheck );
- virtual void EnableItem( unsigned nPos, sal_Bool bEnable );
- virtual void ShowItem( unsigned nPos, sal_Bool bShow );
+ virtual void CheckItem( unsigned nPos, bool bCheck );
+ virtual void EnableItem( unsigned nPos, bool bEnable );
+ virtual void ShowItem( unsigned nPos, bool bShow );
virtual void SetItemText( unsigned nPos, SalMenuItem* pSalMenuItem, const OUString& rText );
virtual void SetItemImage( unsigned nPos, SalMenuItem* pSalMenuItem, const Image& rImage);
virtual void SetAccelerator( unsigned nPos, SalMenuItem* pSalMenuItem, const KeyCode& rKeyCode, const OUString& rKeyName );
diff --git a/vcl/inc/unx/kde/kdedata.hxx b/vcl/inc/unx/kde/kdedata.hxx
index 249dde6..0b8afea 100644
--- a/vcl/inc/unx/kde/kdedata.hxx
+++ b/vcl/inc/unx/kde/kdedata.hxx
@@ -66,7 +66,7 @@ public:
virtual void ReleaseGraphics( SalGraphics *pGraphics );
virtual void updateGraphics( bool bClear );
virtual void UpdateSettings( AllSettings& rSettings );
- virtual void Show( sal_Bool bVisible, sal_Bool bNoActivate );
+ virtual void Show( bool bVisible, bool bNoActivate );
};
class KDESalInstance : public X11SalInstance
diff --git a/vcl/inc/unx/salframe.h b/vcl/inc/unx/salframe.h
index a41fac4..e5f4126 100644
--- a/vcl/inc/unx/salframe.h
+++ b/vcl/inc/unx/salframe.h
@@ -225,10 +225,10 @@ public:
virtual void DrawMenuBar();
virtual void SetExtendedFrameStyle( SalExtStyle nExtStyle );
- virtual void Show( sal_Bool bVisible, sal_Bool bNoActivate = sal_False );
- virtual void Enable( sal_Bool bEnable );
- virtual void SetMinClientSize( long nWidth, long nHeight );
- virtual void SetMaxClientSize( long nWidth, long nHeight );
+ virtual void Show( bool bVisible, bool bNoActivate = false );
+ virtual void Enable( bool bEnable );
+ virtual void SetMinClientSize( long nWidth, long nHeight );
+ virtual void SetMaxClientSize( long nWidth, long nHeight );
virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags );
virtual void GetClientSize( long& rWidth, long& rHeight );
virtual void GetWorkArea( Rectangle& rRect );
@@ -236,11 +236,11 @@ public:
virtual void SetWindowState( const SalFrameState* pState );
virtual bool GetWindowState( SalFrameState* pState );
virtual void ShowFullScreen( bool bFullScreen, sal_Int32 nMonitor );
- virtual void StartPresentation( sal_Bool bStart );
- virtual void SetAlwaysOnTop( sal_Bool bOnTop );
+ virtual void StartPresentation( bool bStart );
+ virtual void SetAlwaysOnTop( bool bOnTop );
virtual void ToTop( sal_uInt16 nFlags );
virtual void SetPointer( PointerStyle ePointerStyle );
- virtual void CaptureMouse( sal_Bool bMouse );
+ virtual void CaptureMouse( bool bMouse );
virtual void SetPointerPos( long nX, long nY );
using SalFrame::Flush;
virtual void Flush();
diff --git a/vcl/inc/unx/salinst.h b/vcl/inc/unx/salinst.h
index 9c4fd3f..215b3ff 100644
--- a/vcl/inc/unx/salinst.h
+++ b/vcl/inc/unx/salinst.h
@@ -50,7 +50,7 @@ public:
virtual SalFrame* CreateFrame( SalFrame* pParent, sal_uIntPtr nStyle );
virtual void DestroyFrame( SalFrame* pFrame );
- virtual SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, sal_Bool bShow = sal_True );
+ virtual SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, bool bShow = true );
virtual void DestroyObject( SalObject* pObject );
virtual SalVirtualDevice* CreateVirtualDevice( SalGraphics* pGraphics,
diff --git a/vcl/inc/unx/salmenu.h b/vcl/inc/unx/salmenu.h
index 5b398ae..93dc2f0 100644
--- a/vcl/inc/unx/salmenu.h
+++ b/vcl/inc/unx/salmenu.h
@@ -36,8 +36,8 @@ public:
virtual void RemoveItem( unsigned nPos );
virtual void SetSubMenu( SalMenuItem* pSalMenuItem, SalMenu* pSubMenu, unsigned nPos );
virtual void SetFrame( const SalFrame* pFrame );
- virtual void CheckItem( unsigned nPos, sal_Bool bCheck );
- virtual void EnableItem( unsigned nPos, sal_Bool bEnable );
+ virtual void CheckItem( unsigned nPos, bool bCheck );
+ virtual void EnableItem( unsigned nPos, bool bEnable );
virtual void SetItemText( unsigned nPos, SalMenuItem* pSalMenuItem, const OUString& rText );
virtual void SetItemImage( unsigned nPos, SalMenuItem* pSalMenuItem, const Image& rImage);
virtual void SetAccelerator( unsigned nPos, SalMenuItem* pSalMenuItem, const KeyCode& rKeyCode, const OUString& rKeyName );
diff --git a/vcl/inc/unx/salobj.h b/vcl/inc/unx/salobj.h
index e8b71ee..5bb5990 100644
--- a/vcl/inc/unx/salobj.h
+++ b/vcl/inc/unx/salobj.h
@@ -67,7 +67,7 @@ public:
bool mbVisible;
static VCL_DLLPUBLIC bool Dispatch( XEvent* pEvent );
- static VCL_DLLPUBLIC X11SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, bool bShow = sal_True );
+ static VCL_DLLPUBLIC X11SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, bool bShow = true );
X11SalObject();
virtual ~X11SalObject();
@@ -80,7 +80,7 @@ public:
virtual void EndSetClipRegion();
virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight );
- virtual void Show( sal_Bool bVisible );
+ virtual void Show( bool bVisible );
virtual void GrabFocus();
virtual const SystemEnvData* GetSystemData() const;
diff --git a/vcl/inc/unx/tde/tdedata.hxx b/vcl/inc/unx/tde/tdedata.hxx
index c6b8dac..940947b 100644
--- a/vcl/inc/unx/tde/tdedata.hxx
+++ b/vcl/inc/unx/tde/tdedata.hxx
@@ -76,7 +76,7 @@ public:
virtual void ReleaseGraphics( SalGraphics *pGraphics );
virtual void updateGraphics( bool bClear );
virtual void UpdateSettings( AllSettings& rSettings );
- virtual void Show( sal_Bool bVisible, sal_Bool bNoActivate );
+ virtual void Show( bool bVisible, bool bNoActivate );
};
class TDESalInstance : public X11SalInstance
diff --git a/vcl/inc/win/saldata.hxx b/vcl/inc/win/saldata.hxx
index ecaeca5..8d297cd 100644
--- a/vcl/inc/win/saldata.hxx
+++ b/vcl/inc/win/saldata.hxx
@@ -68,7 +68,7 @@ public:
void initKeyCodeMap();
// checks if the menuhandle was created by VCL
- sal_Bool IsKnownMenuHandle( HMENU hMenu );
+ bool IsKnownMenuHandle( HMENU hMenu );
public:
HINSTANCE mhInst; // default instance handle
@@ -86,7 +86,7 @@ public:
DWORD mnNextTimerTime;
DWORD mnLastEventTime;
UINT mnTimerId; // windows timer id
- sal_Bool mbInTimerProc; // timer event is currently being dispatched
+ bool mbInTimerProc; // timer event is currently being dispatched
HHOOK mhSalObjMsgHook; // hook to get interesting msg for SalObject
HWND mhWantLeaveMsg; // window handle, that want a MOUSELEAVE message
AutoTimer* mpMouseLeaveTimer; // Timer for MouseLeave Test
@@ -106,16 +106,16 @@ public:
sal_uInt16 mnStockBrushCount; // count of static brushes
WPARAM mnSalObjWantKeyEvt; // KeyEvent that should be processed by SalObj-Hook
BYTE mnCacheDCInUse; // count of CacheDC in use
- sal_Bool mbObjClassInit; // is SALOBJECTCLASS initialised
- sal_Bool mbInPalChange; // is in WM_QUERYNEWPALETTE
+ bool mbObjClassInit; // is SALOBJECTCLASS initialised
+ bool mbInPalChange; // is in WM_QUERYNEWPALETTE
DWORD mnAppThreadId; // Id from Applikation-Thread
BOOL mbScrSvrEnabled; // ScreenSaver enabled
int mnSageStatus; // status of Sage-DLL (DISABLE_AGENT == does not exist)
SysAgt_Enable_PROC mpSageEnableProc; // funktion to deactivate the system agent
SalIcon* mpFirstIcon; // icon cache, points to first icon, NULL if none
TempFontItem* mpTempFontItem;
- sal_Bool mbThemeChanged; // true if visual theme was changed: throw away theme handles
- sal_Bool mbThemeMenuSupport;
+ bool mbThemeChanged; // true if visual theme was changed: throw away theme handles
+ bool mbThemeMenuSupport;
// for GdiPlus GdiplusStartup/GdiplusShutdown
ULONG_PTR gdiplusToken;
@@ -166,13 +166,13 @@ void ImplReleaseTempFonts( SalData& );
HCURSOR ImplLoadSalCursor( int nId );
HBITMAP ImplLoadSalBitmap( int nId );
-sal_Bool ImplLoadSalIcon( int nId, HICON& rIcon, HICON& rSmallIcon );
+bool ImplLoadSalIcon( int nId, HICON& rIcon, HICON& rSmallIcon );
void ImplInitSalGDI();
void ImplFreeSalGDI();
void ImplSalYieldMutexAcquireWithWait();
-sal_Bool ImplSalYieldMutexTryToAcquire();
+bool ImplSalYieldMutexTryToAcquire();
void ImplSalYieldMutexAcquire();
void ImplSalYieldMutexRelease();
sal_uLong ImplSalReleaseYieldMutex();
@@ -184,14 +184,14 @@ LRESULT CALLBACK SalFrameWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM l
void CALLBACK SalTimerProc( HWND hWnd, UINT nMsg, UINT_PTR nId, DWORD nTime );
void SalTestMouseLeave();
-sal_Bool ImplWriteLastError( DWORD lastError, const char *szApiCall );
+bool ImplWriteLastError( DWORD lastError, const char *szApiCall );
long ImplHandleSalObjKeyMsg( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam );
long ImplHandleSalObjSysCharMsg( HWND hWnd, WPARAM wParam, LPARAM lParam );
-sal_Bool ImplHandleGlobalMsg( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam, LRESULT& rlResult );
+bool ImplHandleGlobalMsg( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam, LRESULT& rlResult );
WinSalObject* ImplFindSalObject( HWND hWndChild );
-sal_Bool ImplSalPreDispatchMsg( MSG* pMsg );
+bool ImplSalPreDispatchMsg( MSG* pMsg );
void ImplSalPostDispatchMsg( MSG* pMsg, LRESULT nDispatchResult );
void ImplSalLogFontToFontW( HDC hDC, const LOGFONTW& rLogFont, Font& rFont );
diff --git a/vcl/inc/win/salframe.h b/vcl/inc/win/salframe.h
index cc8fd16..990d5bf 100644
--- a/vcl/inc/win/salframe.h
+++ b/vcl/inc/win/salframe.h
@@ -53,35 +53,35 @@ public:
int mnFullScreenShowState; // fullscreen restore show state
UINT mnInputLang; // current Input Language
UINT mnInputCodePage; // current Input CodePage
- sal_uIntPtr mnStyle; // style
- sal_Bool mbGraphics; // is Graphics used
- sal_Bool mbCaption; // has window a caption
- sal_Bool mbBorder; // has window a border
- sal_Bool mbFixBorder; // has window a fixed border
- sal_Bool mbSizeBorder; // has window a sizeable border
- sal_Bool mbNoIcon; // is an window without an icon
- sal_Bool mbFloatWin; // is a FloatingWindow
+ sal_uIntPtr mnStyle; // style
+ bool mbGraphics; // is Graphics used
+ bool mbCaption; // has window a caption
+ bool mbBorder; // has window a border
+ bool mbFixBorder; // has window a fixed border
+ bool mbSizeBorder; // has window a sizeable border
+ bool mbNoIcon; // is an window without an icon
+ bool mbFloatWin; // is a FloatingWindow
bool mbFullScreen; // TRUE: in full screen mode
- sal_Bool mbPresentation; // TRUE: Presentation Mode running
- sal_Bool mbInShow; // innerhalb eines Show-Aufrufs
- sal_Bool mbRestoreMaximize; // Restore-Maximize
- sal_Bool mbInMoveMsg; // Move-Message wird verarbeitet
- sal_Bool mbInSizeMsg; // Size-Message wird verarbeitet
- sal_Bool mbFullScreenToolWin; // WS_EX_TOOLWINDOW reset in FullScreenMode
- sal_Bool mbDefPos; // default-position
- sal_Bool mbOverwriteState; // TRUE: WindowState darf umgesetzt werden
- sal_Bool mbIME; // TRUE: We are in IME Mode
- sal_Bool mbHandleIME; // TRUE: Wir handeln die IME-Messages
- sal_Bool mbSpezIME; // TRUE: Spez IME
- sal_Bool mbAtCursorIME; // TRUE: Wir behandeln nur einige IME-Messages
- sal_Bool mbCandidateMode; // TRUE: Wir befinden uns im Candidate-Modus
- static sal_Bool mbInReparent; // TRUE: ignore focus lost and gain due to reparenting
+ bool mbPresentation; // TRUE: Presentation Mode running
+ bool mbInShow; // innerhalb eines Show-Aufrufs
+ bool mbRestoreMaximize; // Restore-Maximize
+ bool mbInMoveMsg; // Move-Message wird verarbeitet
+ bool mbInSizeMsg; // Size-Message wird verarbeitet
+ bool mbFullScreenToolWin; // WS_EX_TOOLWINDOW reset in FullScreenMode
+ bool mbDefPos; // default-position
+ bool mbOverwriteState; // TRUE: WindowState darf umgesetzt werden
+ bool mbIME; // TRUE: We are in IME Mode
+ bool mbHandleIME; // TRUE: Wir handeln die IME-Messages
+ bool mbSpezIME; // TRUE: Spez IME
+ bool mbAtCursorIME; // TRUE: Wir behandeln nur einige IME-Messages
+ bool mbCandidateMode; // TRUE: Wir befinden uns im Candidate-Modus
+ static bool mbInReparent; // TRUE: ignore focus lost and gain due to reparenting
- RGNDATA* mpClipRgnData;
- RECT* mpNextClipRect;
- sal_Bool mbFirstClipRect;
- sal_Int32 mnDisplay; // Display used for Fullscreen, 0 is primary monitor
- sal_Bool mbPropertiesStored; // has values stored in the window property store
+ RGNDATA* mpClipRgnData;
+ RECT* mpNextClipRect;
+ bool mbFirstClipRect;
+ sal_Int32 mnDisplay; // Display used for Fullscreen, 0 is primary monitor
+ bool mbPropertiesStored; // has values stored in the window property store
void updateScreenNumber();
public:
@@ -96,8 +96,8 @@ public:
virtual void SetMenu( SalMenu* pSalMenu );
virtual void DrawMenuBar();
virtual void SetExtendedFrameStyle( SalExtStyle nExtStyle );
- virtual void Show( sal_Bool bVisible, sal_Bool bNoActivate = FALSE );
- virtual void Enable( sal_Bool bEnable );
+ virtual void Show( bool bVisible, bool bNoActivate = FALSE );
+ virtual void Enable( bool bEnable );
virtual void SetMinClientSize( long nWidth, long nHeight );
virtual void SetMaxClientSize( long nWidth, long nHeight );
virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags );
@@ -107,11 +107,11 @@ public:
virtual void SetWindowState( const SalFrameState* pState );
virtual bool GetWindowState( SalFrameState* pState );
virtual void ShowFullScreen( bool bFullScreen, sal_Int32 nDisplay );
- virtual void StartPresentation( sal_Bool bStart );
- virtual void SetAlwaysOnTop( sal_Bool bOnTop );
+ virtual void StartPresentation( bool bStart );
+ virtual void SetAlwaysOnTop( bool bOnTop );
virtual void ToTop( sal_uInt16 nFlags );
virtual void SetPointer( PointerStyle ePointerStyle );
- virtual void CaptureMouse( sal_Bool bMouse );
+ virtual void CaptureMouse( bool bMouse );
virtual void SetPointerPos( long nX, long nY );
using SalFrame::Flush;
virtual void Flush();
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h
index d417833..5505130 100644
--- a/vcl/inc/win/salgdi.h
+++ b/vcl/inc/win/salgdi.h
@@ -171,7 +171,7 @@ public:
ImplFontAttrCache* mpFontAttrCache; // Cache font attributes from files in so/share/fonts
BYTE* mpFontCharSets; // All Charsets for the current font
BYTE mnFontCharSetCount; // Number of Charsets of the current font; 0 - if not queried
- sal_Bool mbFontKernInit; // FALSE: FontKerns must be queried
+ bool mbFontKernInit; // FALSE: FontKerns must be queried
KERNINGPAIR* mpFontKernPairs; // Kerning Pairs of the current Font
sal_uIntPtr mnFontKernPairCount;// Number of Kerning Pairs of the current Font
int mnPenWidth; // Linienbreite
diff --git a/vcl/inc/win/salinst.h b/vcl/inc/win/salinst.h
index f9f5e0a..0839203 100644
--- a/vcl/inc/win/salinst.h
+++ b/vcl/inc/win/salinst.h
@@ -39,7 +39,7 @@ public:
virtual SalFrame* CreateChildFrame( SystemParentData* pParent, sal_uIntPtr nStyle );
virtual SalFrame* CreateFrame( SalFrame* pParent, sal_uIntPtr nStyle );
virtual void DestroyFrame( SalFrame* pFrame );
- virtual SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, sal_Bool bShow = sal_True );
+ virtual SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, bool bShow = true );
virtual void DestroyObject( SalObject* pObject );
virtual SalVirtualDevice* CreateVirtualDevice( SalGraphics* pGraphics,
long nDX, long nDY,
@@ -66,7 +66,7 @@ public:
virtual void Yield( bool bWait, bool bHandleAllCurrentEvents );
virtual bool AnyInput( sal_uInt16 nType );
- virtual SalMenu* CreateMenu( sal_Bool bMenuBar, Menu* );
+ virtual SalMenu* CreateMenu( bool bMenuBar, Menu* );
virtual void DestroyMenu( SalMenu* );
virtual SalMenuItem* CreateMenuItem( const SalItemParams* pItemData );
virtual void DestroyMenuItem( SalMenuItem* );
@@ -79,8 +79,8 @@ public:
SalFrame* ImplSalCreateFrame( WinSalInstance* pInst, HWND hWndParent, sal_uIntPtr nSalFrameStyle );
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list