diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
commit | e8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch) | |
tree | dae18a3acbf29c192118e7c003f80df8da8e21ae /starmath | |
parent | 1c8402465cfd4df862409dc310f5f099d044c4d8 (diff) |
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/toolbox.hxx | 2 | ||||
-rw-r--r-- | starmath/source/toolbox.cxx | 2 | ||||
-rw-r--r-- | starmath/source/unomodel.cxx | 4 | ||||
-rw-r--r-- | starmath/source/view.cxx | 8 |
4 files changed, 8 insertions, 8 deletions
diff --git a/starmath/inc/toolbox.hxx b/starmath/inc/toolbox.hxx index 19361d8da640..c4d7a6142533 100644 --- a/starmath/inc/toolbox.hxx +++ b/starmath/inc/toolbox.hxx @@ -39,7 +39,7 @@ protected: ImageList *aImageLists [NUM_TBX_CATEGORIES + 1]; /* regular */ sal_uInt16 nActiveCategoryRID; - virtual sal_Bool Close(); + virtual bool Close(); virtual void GetFocus(); void ApplyImageLists( sal_uInt16 nCategoryRID ); diff --git a/starmath/source/toolbox.cxx b/starmath/source/toolbox.cxx index ded70748944e..767c1ea761ce 100644 --- a/starmath/source/toolbox.cxx +++ b/starmath/source/toolbox.cxx @@ -268,7 +268,7 @@ void SmToolBoxWindow::AdjustPosSize( bool bSetPos ) } -sal_Bool SmToolBoxWindow::Close() +bool SmToolBoxWindow::Close() { SmViewShell *pViewSh = GetView(); if (pViewSh) diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 994e9ebb5d42..5519b1759b0e 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -137,7 +137,7 @@ SmPrintUIOptions::SmPrintUIOptions() ); // create a numeric box for scale dependent on PrintFormat = "Scaling" (matches to SID_PRINTZOOM) - vcl::PrinterOptionsHelper::UIControlOptions aRangeOpt( aPrintFormatProp, 2, sal_True ); + vcl::PrinterOptionsHelper::UIControlOptions aRangeOpt( aPrintFormatProp, 2, true ); m_aUIProperties[nIdx++].Value = setRangeControlOpt("scalingspin", OUString(), ".HelpID:vcl:PrintDialog:PrintScale:NumericField", PRTUIOPT_PRINT_SCALE, @@ -1106,7 +1106,7 @@ void SAL_CALL SmModel::render( // release SmPrintUIOptions when everything is done. // That way, when SmPrintUIOptions is needed again it will read the latest configuration settings in its c-tor. - if (m_pPrintUIOptions->getBoolValue( "IsLastPage", sal_False )) + if (m_pPrintUIOptions->getBoolValue( "IsLastPage", false )) { delete m_pPrintUIOptions; m_pPrintUIOptions = 0; } diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index eb9df3af59bb..f7e51242bc28 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1198,9 +1198,9 @@ void SmViewShell::Impl_Print( { SAL_INFO( "starmath", "SmViewShell::Impl_Print" ); - const bool bIsPrintTitle = rPrintUIOptions.getBoolValue( PRTUIOPT_TITLE_ROW, sal_True ); - const bool bIsPrintFrame = rPrintUIOptions.getBoolValue( PRTUIOPT_BORDER, sal_True ); - const bool bIsPrintFormulaText = rPrintUIOptions.getBoolValue( PRTUIOPT_FORMULA_TEXT, sal_True ); + const bool bIsPrintTitle = rPrintUIOptions.getBoolValue( PRTUIOPT_TITLE_ROW, true ); + const bool bIsPrintFrame = rPrintUIOptions.getBoolValue( PRTUIOPT_BORDER, true ); + const bool bIsPrintFormulaText = rPrintUIOptions.getBoolValue( PRTUIOPT_FORMULA_TEXT, true ); SmPrintSize ePrintSize( static_cast< SmPrintSize >( rPrintUIOptions.getIntValue( PRTUIOPT_PRINT_FORMAT, PRINT_SIZE_NORMAL ) )); const sal_uInt16 nZoomFactor = static_cast< sal_uInt16 >(rPrintUIOptions.getIntValue( PRTUIOPT_PRINT_SCALE, 100 )); @@ -1291,7 +1291,7 @@ void SmViewShell::Impl_Print( MapMode OutputMapMode; // PDF export should always use PRINT_SIZE_NORMAL ... - if (!rPrintUIOptions.getBoolValue( "IsPrinter", sal_False ) ) + if (!rPrintUIOptions.getBoolValue( "IsPrinter", false ) ) ePrintSize = PRINT_SIZE_NORMAL; switch (ePrintSize) { |