summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-24 11:13:09 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-24 11:13:42 +0100
commit146c7c5c89d9ce26c3de951ff049d36df1b5857b (patch)
treed66d72cb77002c96f528790f88012617243ccbf3 /svx
parent569756aaf4606313297eace88b3ad5a6f57d8329 (diff)
toolkit: sal_Bool -> bool
Change-Id: I5153c4413004d1b50cc503b3e70657bc831a5793
Diffstat (limited to 'svx')
-rw-r--r--svx/source/fmcomp/fmgridif.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index f50c77f45b41..bc6df988aad3 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -506,7 +506,7 @@ void SAL_CALL FmXGridControl::createPeer(const Reference< ::com::sun::star::awt:
if (!getPeer().is())
{
- mbCreatingPeer = sal_True;
+ mbCreatingPeer = true;
// mbCreatingPeer is virtually the same as m_nPeerCreationLevel, but it's the base class' method
// to prevent recursion.
@@ -642,7 +642,7 @@ void SAL_CALL FmXGridControl::createPeer(const Reference< ::com::sun::star::awt:
xPeerView->setZoom( maComponentInfos.nZoomX, maComponentInfos.nZoomY );
xPeerView->setGraphics( mxGraphics );
}
- mbCreatingPeer = sal_False;
+ mbCreatingPeer = false;
}
}
@@ -752,7 +752,7 @@ void SAL_CALL FmXGridControl::setDesignMode(sal_Bool bOn) throw( RuntimeExceptio
Reference< XRowSetSupplier > xGrid(getPeer(), UNO_QUERY);
- if (xGrid.is() && (bOn != mbDesignMode || (!bOn && !xGrid->getRowSet().is())))
+ if (xGrid.is() && (bool(bOn) != mbDesignMode || (!bOn && !xGrid->getRowSet().is())))
{
if (bOn)
{