summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbawindow.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-01 14:35:59 +0200
committerNoel Grandin <noel@peralex.com>2014-04-03 09:17:51 +0200
commitba73873ea70b076e0c04d33fea2e243a1b6f3a43 (patch)
tree895fd1fefa82f9cd9c005eab68ab32c99096a94b /sc/source/ui/vba/vbawindow.cxx
parentf3802139ac6d21edbd1b30df9675eac1aae50360 (diff)
vbahelper: sal_Bool->bool
Change-Id: Ic4bcc2fa02426e1995d08a6992cc5b35777c1c9a
Diffstat (limited to 'sc/source/ui/vba/vbawindow.cxx')
-rw-r--r--sc/source/ui/vba/vbawindow.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx
index 0350f2a888fa..9bf7408a8c6f 100644
--- a/sc/source/ui/vba/vbawindow.cxx
+++ b/sc/source/ui/vba/vbawindow.cxx
@@ -673,14 +673,14 @@ double SAL_CALL
ScVbaWindow::getSplitHorizontal() throw (uno::RuntimeException, std::exception)
{
uno::Reference< sheet::XViewSplitable > xViewSplitable( getController(), uno::UNO_QUERY_THROW );
- return PixelsToPoints( getDevice(), xViewSplitable->getSplitHorizontal(), sal_True );
+ return PixelsToPoints( getDevice(), xViewSplitable->getSplitHorizontal(), true );
}
void SAL_CALL
ScVbaWindow::setSplitHorizontal( double _splithorizontal ) throw (uno::RuntimeException, std::exception)
{
uno::Reference< sheet::XViewSplitable > xViewSplitable( getController(), uno::UNO_QUERY_THROW );
- double fHoriPixels = PointsToPixels( getDevice(), _splithorizontal, sal_True );
+ double fHoriPixels = PointsToPixels( getDevice(), _splithorizontal, true );
xViewSplitable->splitAtPosition( static_cast< sal_Int32 >( fHoriPixels ), 0 );
}
@@ -706,14 +706,14 @@ double SAL_CALL
ScVbaWindow::getSplitVertical() throw (uno::RuntimeException, std::exception)
{
uno::Reference< sheet::XViewSplitable > xViewSplitable( getController(), uno::UNO_QUERY_THROW );
- return PixelsToPoints( getDevice(), xViewSplitable->getSplitVertical(), sal_False );
+ return PixelsToPoints( getDevice(), xViewSplitable->getSplitVertical(), false );
}
void SAL_CALL
ScVbaWindow::setSplitVertical(double _splitvertical ) throw (uno::RuntimeException, std::exception)
{
uno::Reference< sheet::XViewSplitable > xViewSplitable( getController(), uno::UNO_QUERY_THROW );
- double fVertiPixels = PointsToPixels( getDevice(), _splitvertical, sal_False );
+ double fVertiPixels = PointsToPixels( getDevice(), _splitvertical, false );
xViewSplitable->splitAtPosition( 0, static_cast<sal_Int32>( fVertiPixels ) );
}
@@ -857,7 +857,7 @@ ScVbaWindow::PrintOut( const css::uno::Any& From, const css::uno::Any&To, const
{
// need test, print current active sheet
// !! TODO !! get view shell from controller
- PrintOutHelper( excel::getBestViewShell( m_xModel ), From, To, Copies, Preview, ActivePrinter, PrintToFile, Collate, PrToFileName, sal_True );
+ PrintOutHelper( excel::getBestViewShell( m_xModel ), From, To, Copies, Preview, ActivePrinter, PrintToFile, Collate, PrToFileName, true );
}
void SAL_CALL