summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdoole2.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-04-07 23:05:56 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-04-07 23:58:31 +0900
commit93dc48ae47201cbcc9f30623bf1150f57d9353a6 (patch)
tree4310b7e38de5725b9d79256042c44e9d40b88c76 /svx/source/svdraw/svdoole2.cxx
parent84068dae548d8498bf63f5fe2273a44b9fc638bb (diff)
sal_Bool to bool
Change-Id: Iac3b6fbe42ae0ffd9229935b46d1352987f99596
Diffstat (limited to 'svx/source/svdraw/svdoole2.cxx')
-rw-r--r--svx/source/svdraw/svdoole2.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx
index c1ee6cf38574..3029917c93ba 100644
--- a/svx/source/svdraw/svdoole2.cxx
+++ b/svx/source/svdraw/svdoole2.cxx
@@ -603,7 +603,7 @@ public:
virtual ::sfx2::SvBaseLink::UpdateResult DataChanged(
const String& rMimeType, const ::com::sun::star::uno::Any & rValue );
- sal_Bool Connect() { return GetRealObject() != NULL; }
+ bool Connect() { return GetRealObject() != NULL; }
};
// -----------------------------------------------------------------------------
@@ -677,8 +677,8 @@ public:
SdrLightEmbeddedClient_Impl* pLightClient; // must be registered as client only using AddOwnLightClient() call
// New local var to avoid repeated loading if load of OLE2 fails
- sal_Bool mbLoadingOLEObjectFailed;
- sal_Bool mbConnected;
+ bool mbLoadingOLEObjectFailed;
+ bool mbConnected;
SdrEmbedObjectLink* mpObjectLink;
String maLinkURL;
@@ -687,8 +687,8 @@ public:
: pGraphicObject( NULL )
, pLightClient ( NULL )
// init to start situation, loading did not fail
- , mbLoadingOLEObjectFailed( sal_False )
- , mbConnected( sal_False )
+ , mbLoadingOLEObjectFailed( false )
+ , mbConnected( false )
, mpObjectLink( NULL )
{
}
@@ -1683,7 +1683,7 @@ void SdrOle2Obj::ImpSetVisAreaSize()
// the client is required to get access to scaling
SfxInPlaceClient* pClient = SfxInPlaceClient::GetClient( dynamic_cast<SfxObjectShell*>(pModel->GetPersist()), xObjRef.GetObject() );
- sal_Bool bHasOwnClient =
+ bool bHasOwnClient =
( mpImpl->pLightClient
&& xObjRef->getClientSite() == uno::Reference< embed::XEmbeddedClient >( mpImpl->pLightClient ) );
@@ -1991,7 +1991,7 @@ void SdrOle2Obj::GetObjRef_Impl()
// loop trying to load it again and again.
if( xObjRef.is() )
{
- mpImpl->mbLoadingOLEObjectFailed = sal_True;
+ mpImpl->mbLoadingOLEObjectFailed = true;
}
// For math objects, set closed state to transparent