summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-20 17:16:37 +0200
committerNoel Grandin <noel@peralex.com>2014-03-24 08:12:10 +0200
commita4dc5ea2f7290a925bf225e1b9babbf4df43b7e6 (patch)
tree0ba569b208aed8c3b04e68ff3092bf4be5e0b81e /include
parentb41badb803b4d4597901fdc6c899305f3e914aaa (diff)
svtools: sal_Bool->bool
Change-Id: I288a5c8b86d21a1b91f464aaf162aed9aca35a42
Diffstat (limited to 'include')
-rw-r--r--include/svtools/openfiledroptargetlistener.hxx2
-rw-r--r--include/svtools/optionsdrawinglayer.hxx46
-rw-r--r--include/svtools/parhtml.hxx2
-rw-r--r--include/svtools/printoptions.hxx24
-rw-r--r--include/svtools/prnsetup.hxx2
5 files changed, 38 insertions, 38 deletions
diff --git a/include/svtools/openfiledroptargetlistener.hxx b/include/svtools/openfiledroptargetlistener.hxx
index 538848818d96..7ff7a9198fd2 100644
--- a/include/svtools/openfiledroptargetlistener.hxx
+++ b/include/svtools/openfiledroptargetlistener.hxx
@@ -66,7 +66,7 @@ class SVT_DLLPUBLIC OpenFileDropTargetListener : public ::cppu::WeakImplHelper1<
private:
void implts_BeginDrag( const css::uno::Sequence< css::datatransfer::DataFlavor >& rSupportedDataFlavors );
void implts_EndDrag();
- sal_Bool implts_IsDropFormatSupported( SotFormatStringId nFormat );
+ bool implts_IsDropFormatSupported( SotFormatStringId nFormat );
void implts_OpenFile( const OUString& rFilePath );
};
diff --git a/include/svtools/optionsdrawinglayer.hxx b/include/svtools/optionsdrawinglayer.hxx
index 101ca4c06b7e..ccc7a4494907 100644
--- a/include/svtools/optionsdrawinglayer.hxx
+++ b/include/svtools/optionsdrawinglayer.hxx
@@ -106,48 +106,48 @@ class SVT_DLLPUBLIC SvtOptionsDrawinglayer
@seealso configuration package "org.openoffice.Office.Common/Drawinglayer"
*//*-*****************************************************************************************************/
- sal_Bool IsOverlayBuffer() const;
- sal_Bool IsPaintBuffer() const;
+ bool IsOverlayBuffer() const;
+ bool IsPaintBuffer() const;
Color GetStripeColorA() const;
Color GetStripeColorB() const;
sal_uInt16 GetStripeLength() const;
// #i73602#
- sal_Bool IsOverlayBuffer_Calc() const;
- sal_Bool IsOverlayBuffer_Writer() const;
- sal_Bool IsOverlayBuffer_DrawImpress() const;
+ bool IsOverlayBuffer_Calc() const;
+ bool IsOverlayBuffer_Writer() const;
+ bool IsOverlayBuffer_DrawImpress() const;
// #i74769#, #i75172#
- sal_Bool IsPaintBuffer_Calc() const;
- sal_Bool IsPaintBuffer_Writer() const;
- sal_Bool IsPaintBuffer_DrawImpress() const;
+ bool IsPaintBuffer_Calc() const;
+ bool IsPaintBuffer_Writer() const;
+ bool IsPaintBuffer_DrawImpress() const;
// #i4219#
- sal_uInt32 GetMaximumPaperWidth() const;
- sal_uInt32 GetMaximumPaperHeight() const;
- sal_uInt32 GetMaximumPaperLeftMargin() const;
- sal_uInt32 GetMaximumPaperRightMargin() const;
- sal_uInt32 GetMaximumPaperTopMargin() const;
- sal_uInt32 GetMaximumPaperBottomMargin() const;
+ sal_uInt32 GetMaximumPaperWidth() const;
+ sal_uInt32 GetMaximumPaperHeight() const;
+ sal_uInt32 GetMaximumPaperLeftMargin() const;
+ sal_uInt32 GetMaximumPaperRightMargin() const;
+ sal_uInt32 GetMaximumPaperTopMargin() const;
+ sal_uInt32 GetMaximumPaperBottomMargin() const;
// #i95644# helper to check if AA is allowed on this system. Currently, for WIN its disabled
// and OutDevSupport_TransparentRect is checked (this hits XRenderExtension, e.g.
// currently for SunRay as long as not supported there)
- sal_Bool IsAAPossibleOnThisSystem() const;
+ bool IsAAPossibleOnThisSystem() const;
// primitives
- bool IsAntiAliasing() const;
- sal_Bool IsSnapHorVerLinesToDiscrete() const;
- sal_Bool IsSolidDragCreate() const;
- sal_Bool IsRenderDecoratedTextDirect() const;
- sal_Bool IsRenderSimpleTextDirect() const;
+ bool IsAntiAliasing() const;
+ bool IsSnapHorVerLinesToDiscrete() const;
+ bool IsSolidDragCreate() const;
+ bool IsRenderDecoratedTextDirect() const;
+ bool IsRenderSimpleTextDirect() const;
sal_uInt32 GetQuadratic3DRenderLimit() const;
sal_uInt32 GetQuadraticFormControlRenderLimit() const;
- void SetAntiAliasing( sal_Bool bState );
+ void SetAntiAliasing( bool bState );
// #i97672# selection settings
- sal_Bool IsTransparentSelection() const;
+ bool IsTransparentSelection() const;
sal_uInt16 GetTransparentSelectionPercent() const;
sal_uInt16 GetSelectionMaximumLuminancePercent() const;
@@ -156,7 +156,7 @@ class SVT_DLLPUBLIC SvtOptionsDrawinglayer
// combined with Application::GetSettings().GetStyleSettings().GetHighlightColor())
Color getHilightColor() const;
- void SetTransparentSelection( sal_Bool bState );
+ void SetTransparentSelection( bool bState );
void SetTransparentSelectionPercent( sal_uInt16 nPercent );
diff --git a/include/svtools/parhtml.hxx b/include/svtools/parhtml.hxx
index 65817b8dd0f9..67497cac07e4 100644
--- a/include/svtools/parhtml.hxx
+++ b/include/svtools/parhtml.hxx
@@ -256,7 +256,7 @@ public:
// Einen Kommentar um den Inhalt von <SCRIPT> oder <STYLE> entfernen
// Bei 'bFull' wird ggf. die gesammte Zeile hinter einem "<!--"
// entfernt (fuer JavaSript)
- static void RemoveSGMLComment( OUString &rString, sal_Bool bFull );
+ static void RemoveSGMLComment( OUString &rString, bool bFull );
static bool InternalImgToPrivateURL( OUString& rURL );
static rtl_TextEncoding GetEncodingByHttpHeader( SvKeyValueIterator *pHTTPHeader );
diff --git a/include/svtools/printoptions.hxx b/include/svtools/printoptions.hxx
index 2d90abfd30e9..4e3994611331 100644
--- a/include/svtools/printoptions.hxx
+++ b/include/svtools/printoptions.hxx
@@ -51,29 +51,29 @@ public:
SvtBasePrintOptions();
virtual ~SvtBasePrintOptions();
- sal_Bool IsReduceTransparency() const;
+ bool IsReduceTransparency() const;
sal_Int16 GetReducedTransparencyMode() const;
- sal_Bool IsReduceGradients() const;
+ bool IsReduceGradients() const;
sal_Int16 GetReducedGradientMode() const;
sal_Int16 GetReducedGradientStepCount() const;
- sal_Bool IsReduceBitmaps() const;
+ bool IsReduceBitmaps() const;
sal_Int16 GetReducedBitmapMode() const;
sal_Int16 GetReducedBitmapResolution() const;
- sal_Bool IsReducedBitmapIncludesTransparency() const;
- sal_Bool IsConvertToGreyscales() const;
- sal_Bool IsPDFAsStandardPrintJobFormat() const;
+ bool IsReducedBitmapIncludesTransparency() const;
+ bool IsConvertToGreyscales() const;
+ bool IsPDFAsStandardPrintJobFormat() const;
- void SetReduceTransparency( sal_Bool bState );
+ void SetReduceTransparency( bool bState );
void SetReducedTransparencyMode( sal_Int16 nMode );
- void SetReduceGradients( sal_Bool bState );
+ void SetReduceGradients( bool bState );
void SetReducedGradientMode( sal_Int16 nMode );
void SetReducedGradientStepCount( sal_Int16 nStepCount );
- void SetReduceBitmaps( sal_Bool bState );
+ void SetReduceBitmaps( bool bState );
void SetReducedBitmapMode( sal_Int16 bState );
void SetReducedBitmapResolution( sal_Int16 nResolution );
- void SetReducedBitmapIncludesTransparency( sal_Bool bState );
- void SetConvertToGreyscales( sal_Bool bState );
- void SetPDFAsStandardPrintJobFormat( sal_Bool bState );
+ void SetReducedBitmapIncludesTransparency( bool bState );
+ void SetConvertToGreyscales( bool bState );
+ void SetPDFAsStandardPrintJobFormat( bool bState );
public:
diff --git a/include/svtools/prnsetup.hxx b/include/svtools/prnsetup.hxx
index b0dbf621dac1..7b0daef856f1 100644
--- a/include/svtools/prnsetup.hxx
+++ b/include/svtools/prnsetup.hxx
@@ -81,7 +81,7 @@ public:
void ImplFillPrnDlgListBox( const Printer* pPrinter,
ListBox* pBox, PushButton* pPropBtn );
-void ImplFreePrnDlgListBox( ListBox* pBox, sal_Bool bClear = sal_True );
+void ImplFreePrnDlgListBox( ListBox* pBox, bool bClear = true );
Printer* ImplPrnDlgListBoxSelect( ListBox* pBox, PushButton* pPropBtn,
Printer* pPrinter, Printer* pTempPrinter );
Printer* ImplPrnDlgUpdatePrinter( Printer* pPrinter, Printer* pTempPrinter );