diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/grfmgr.hxx | 2 | ||||
-rw-r--r-- | svtools/source/graphic/grfmgr.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/inc/svtools/grfmgr.hxx b/svtools/inc/svtools/grfmgr.hxx index e9d470beb8e5..775d903660df 100644 --- a/svtools/inc/svtools/grfmgr.hxx +++ b/svtools/inc/svtools/grfmgr.hxx @@ -458,7 +458,7 @@ public: sal_Bool IsSwappedOut() const { return( mbAutoSwapped || maGraphic.IsSwapOut() ); } void SetSwapState(); - sal_Bool Draw( + bool Draw( OutputDevice* pOut, const Point& rPt, const Size& rSz, diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx index bd83f38e201c..de70efbe4201 100644 --- a/svtools/source/graphic/grfmgr.cxx +++ b/svtools/source/graphic/grfmgr.cxx @@ -513,7 +513,7 @@ void GraphicObject::ReleaseFromCache() mpMgr->ReleaseFromCache( *this ); } -sal_Bool GraphicObject::Draw( OutputDevice* pOut, const Point& rPt, const Size& rSz, +bool GraphicObject::Draw( OutputDevice* pOut, const Point& rPt, const Size& rSz, const GraphicAttr* pAttr, sal_uLong nFlags ) { GraphicAttr aAttr( pAttr ? *pAttr : GetAttr() ); @@ -522,7 +522,7 @@ sal_Bool GraphicObject::Draw( OutputDevice* pOut, const Point& rPt, const Size& const sal_uInt32 nOldDrawMode = pOut->GetDrawMode(); sal_Bool bCropped = aAttr.IsCropped(); sal_Bool bCached = sal_False; - sal_Bool bRet; + bool bRet; // #i29534# Provide output rects for PDF writer Rectangle aCropRect; |