summaryrefslogtreecommitdiff
path: root/filter/source/flash
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 19:56:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:24:40 +0100
commitf0dc6cda7580a2e070d3ad550fb4cd8577179203 (patch)
tree0b43dd6413d07bd971226c3398c7266af93f8f97 /filter/source/flash
parent6bdd60462f57650273cd4f3da3cc5a2cccf9c9c7 (diff)
bool improvements
Change-Id: Ib0f16e57ce84a40412fd95bffd4f41a113810a96
Diffstat (limited to 'filter/source/flash')
-rw-r--r--filter/source/flash/swffilter.cxx2
-rw-r--r--filter/source/flash/swfwriter1.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/flash/swffilter.cxx b/filter/source/flash/swffilter.cxx
index 54ea4efd9a48..76f920c84ea9 100644
--- a/filter/source/flash/swffilter.cxx
+++ b/filter/source/flash/swffilter.cxx
@@ -415,7 +415,7 @@ sal_Bool FlashExportFilter::ExportAsSingleFile(const Sequence< PropertyValue >&
if (!xOutputStream.is() )
{
- OSL_ASSERT ( 0 );
+ OSL_ASSERT ( false );
return sal_False;
}
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index 6efcd514ac86..482ab75d26ef 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -1668,7 +1668,7 @@ void Writer::Impl_writeActions( const GDIMetaFile& rMtf )
// skip all meta actions until "XPATHFILL_SEQ_END"
if( Impl_writeFilling( aFilling ) )
{
- bool bDone = sal_False;
+ bool bDone = false;
while( !bDone && ( ++i < nCount ) )
{
@@ -1677,7 +1677,7 @@ void Writer::Impl_writeActions( const GDIMetaFile& rMtf )
if( ( pAction->GetType() == META_COMMENT_ACTION ) &&
( ( (const MetaCommentAction*) pAction )->GetComment().equalsIgnoreAsciiCase("XPATHFILL_SEQ_END") ) )
{
- bDone = sal_True;
+ bDone = true;
}
}
}
@@ -1698,7 +1698,7 @@ void Writer::Impl_writeActions( const GDIMetaFile& rMtf )
// skip all meta actions until "XPATHSTROKE_SEQ_END"
if( Impl_writeStroke( aStroke ) )
{
- bool bDone = sal_False;
+ bool bDone = false;
while( !bDone && ( ++i < nCount ) )
{
@@ -1707,7 +1707,7 @@ void Writer::Impl_writeActions( const GDIMetaFile& rMtf )
if( ( pAction->GetType() == META_COMMENT_ACTION ) &&
( ( (const MetaCommentAction*) pAction )->GetComment().equalsIgnoreAsciiCase("XPATHSTROKE_SEQ_END") ) )
{
- bDone = sal_True;
+ bDone = true;
}
}
}