summaryrefslogtreecommitdiff
path: root/svx/source/xml/xmlgrhlp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-14 16:15:22 +0200
committerNoel Grandin <noel@peralex.com>2014-04-15 09:02:33 +0200
commitbe88947bac607013c6b7a3c923a2eccd09e50942 (patch)
tree09cdc0803437ac8c76e12c60c6644c49cb1d5dd4 /svx/source/xml/xmlgrhlp.cxx
parentcfddda092b0c105b5be7942a94cbbd88d55677f1 (diff)
svx: sal_Bool->bool
Change-Id: I464eba5fd5521c31868c6fc8a2137f17428d421e
Diffstat (limited to 'svx/source/xml/xmlgrhlp.cxx')
-rw-r--r--svx/source/xml/xmlgrhlp.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx
index 7e00eb37c239..8d73719b84c5 100644
--- a/svx/source/xml/xmlgrhlp.cxx
+++ b/svx/source/xml/xmlgrhlp.cxx
@@ -110,7 +110,7 @@ SvXMLGraphicInputStream::SvXMLGraphicInputStream( const OUString& rGraphicId )
{
Graphic aGraphic( (Graphic&) aGrfObject.GetGraphic() );
const GfxLink aGfxLink( aGraphic.GetLink() );
- sal_Bool bRet = sal_False;
+ bool bRet = false;
if( aGfxLink.GetDataSize() && aGfxLink.GetData() )
{
@@ -214,7 +214,7 @@ private:
SvStream* mpOStm;
Reference< XOutputStream > mxStmWrapper;
GraphicObject maGrfObj;
- sal_Bool mbClosed;
+ bool mbClosed;
public:
@@ -227,7 +227,7 @@ public:
SvXMLGraphicOutputStream::SvXMLGraphicOutputStream() :
mpTmp( new ::utl::TempFile ),
- mbClosed( sal_False )
+ mbClosed( false )
{
mpTmp->EnableKillingFile();
@@ -270,7 +270,7 @@ void SAL_CALL SvXMLGraphicOutputStream::closeOutput()
mxStmWrapper->closeOutput();
mxStmWrapper.clear();
- mbClosed = sal_True;
+ mbClosed = true;
}
const GraphicObject& SvXMLGraphicOutputStream::GetGraphicObject()
@@ -374,7 +374,7 @@ bool SvXMLGraphicHelper::ImplGetStreamNames( const OUString& rURLStr,
OUString& rPictureStreamName )
{
OUString aURLStr( rURLStr );
- sal_Bool bRet = sal_False;
+ bool bRet = false;
if( !aURLStr.isEmpty() )
{
@@ -511,7 +511,7 @@ bool SvXMLGraphicHelper::ImplWriteGraphic( const OUString& rPictureStorageName,
bool bUseGfxLink )
{
GraphicObject aGrfObject( OUStringToOString(rGraphicId, RTL_TEXTENCODING_ASCII_US) );
- sal_Bool bRet = sal_False;
+ bool bRet = false;
if( aGrfObject.GetType() != GRAPHIC_NONE )
{
@@ -531,7 +531,7 @@ bool SvXMLGraphicHelper::ImplWriteGraphic( const OUString& rPictureStorageName,
xProps->setPropertyValue( "MediaType", aAny );
}
- const sal_Bool bCompressed = aMimeType.isEmpty() || aMimeType == "image/tiff" || aMimeType == "image/svg+xml";
+ const bool bCompressed = aMimeType.isEmpty() || aMimeType == "image/tiff" || aMimeType == "image/svg+xml";
aAny <<= bCompressed;
xProps->setPropertyValue( "Compressed", aAny );