diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-17 14:13:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-18 10:07:59 +0200 |
commit | 38344505c779771c87fcae03bde0ecf254b0da5d (patch) | |
tree | 3ba11ae93c58ef339d1660963a06c93721c6cb12 /sc/source | |
parent | 8c4abf3792a2b9cacceeb7fd39cda97f14dff234 (diff) |
sal_Bool->bool
Change-Id: I04b1fd1bafdb8760b2fa08813ea21614ddbbf918
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/app/drwtrans.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/inc/drwtrans.hxx | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/app/drwtrans.cxx b/sc/source/ui/app/drwtrans.cxx index e4ec10594cd1..b46272f3bf76 100644 --- a/sc/source/ui/app/drwtrans.cxx +++ b/sc/source/ui/app/drwtrans.cxx @@ -120,7 +120,7 @@ ScDrawTransferObj::ScDrawTransferObj( SdrModel* pClipModel, ScDocShell* pContain { uno::Reference< embed::XEmbedPersist > xPersObj( ((SdrOle2Obj*)pObject)->GetObjRef(), uno::UNO_QUERY ); if ( xPersObj.is() && xPersObj->hasEntry() ) - bOleObj = sal_True; + bOleObj = true; } catch( uno::Exception& ) {} @@ -133,9 +133,9 @@ ScDrawTransferObj::ScDrawTransferObj( SdrModel* pClipModel, ScDocShell* pContain if (nSdrObjKind == OBJ_GRAF) { - bGraphic = sal_True; + bGraphic = true; if ( ((SdrGrafObj*)pObject)->GetGraphic().GetType() == GRAPHIC_BITMAP ) - bGrIsBit = sal_True; + bGrIsBit = true; } // @@ -698,7 +698,7 @@ void ScDrawTransferObj::SetDragSourceFlags( sal_uInt16 nFlags ) void ScDrawTransferObj::SetDragWasInternal() { - bDragWasInternal = sal_True; + bDragWasInternal = true; } SdrOle2Obj* ScDrawTransferObj::GetSingleObject() diff --git a/sc/source/ui/inc/drwtrans.hxx b/sc/source/ui/inc/drwtrans.hxx index 81b7b9060e77..9efef481cf9b 100644 --- a/sc/source/ui/inc/drwtrans.hxx +++ b/sc/source/ui/inc/drwtrans.hxx @@ -50,14 +50,14 @@ private: // extracted from model in ctor: Size aSrcSize; INetBookmark* pBookmark; - sal_Bool bGraphic; - sal_Bool bGrIsBit; - sal_Bool bOleObj; + bool bGraphic; + bool bGrIsBit; + bool bOleObj; // source information for drag&drop: // (view is needed to handle drawing obejcts) SdrView* pDragSourceView; - sal_uInt16 nDragSourceFlags; - sal_Bool bDragWasInternal; + sal_uInt16 nDragSourceFlags; + bool bDragWasInternal; sal_uInt32 nSourceDocID; |