diff options
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/toolbox.cxx | 2 | ||||
-rw-r--r-- | starmath/source/unomodel.cxx | 4 | ||||
-rw-r--r-- | starmath/source/view.cxx | 8 |
3 files changed, 7 insertions, 7 deletions
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) { |