summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/mailmodel.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-07 09:15:28 +0200
committerNoel Grandin <noel@peralex.com>2014-04-07 13:53:50 +0200
commit74fdda0cd41d97b6c97d2115584ee48fd552514e (patch)
treefa29308f180abbd7dec4c16f5603604a15fa079e /sfx2/source/dialog/mailmodel.cxx
parent1eee88dd6bf2c647aa3458d33a5f45c51c024186 (diff)
sfx2: sal_Bool->bool
Change-Id: I48ae51781f64e60deb0c03352087100729c8c3cd
Diffstat (limited to 'sfx2/source/dialog/mailmodel.cxx')
-rw-r--r--sfx2/source/dialog/mailmodel.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx
index 8c0a3b72b3db..65b558f32b4b 100644
--- a/sfx2/source/dialog/mailmodel.cxx
+++ b/sfx2/source/dialog/mailmodel.cxx
@@ -130,7 +130,7 @@ void PrepareListener_Impl::disposing(const css::lang::EventObject& /*rEvent*/) t
static const char PDF_DOCUMENT_TYPE[] = "pdf_Portable_Document_Format";
-sal_Bool HasDocumentValidSignature( const css::uno::Reference< css::frame::XModel >& xModel )
+bool HasDocumentValidSignature( const css::uno::Reference< css::frame::XModel >& xModel )
{
try
{
@@ -138,7 +138,7 @@ sal_Bool HasDocumentValidSignature( const css::uno::Reference< css::frame::XMode
if ( xPropSet.is() )
{
Any a = xPropSet->getPropertyValue("HasValidSignatures");
- sal_Bool bReturn = sal_Bool();
+ bool bReturn;
if ( a >>= bReturn )
return bReturn;
}
@@ -151,7 +151,7 @@ sal_Bool HasDocumentValidSignature( const css::uno::Reference< css::frame::XMode
{
}
- return sal_False;
+ return false;
}
SfxMailModel::SaveResult SfxMailModel::ShowFilterOptionsDialog(
@@ -660,7 +660,7 @@ SfxMailModel::SaveResult SfxMailModel::SaveDocumentAsFormat(
// We need 1:1 copy of the document to preserve an added signature.
aArgs.realloc( ++nNumArgs );
aArgs[nNumArgs-1].Name = "CopyStreamIfPossible";
- aArgs[nNumArgs-1].Value = css::uno::makeAny( (sal_Bool)sal_True );
+ aArgs[nNumArgs-1].Value = css::uno::makeAny( true );
try
{
@@ -864,11 +864,11 @@ SfxMailModel::SendMailResult SfxMailModel::Send( const css::uno::Reference< css:
}
xSimpleMailMessage->setAttachement( aAttachmentSeq );
- sal_Bool bSend( sal_False );
+ bool bSend( false );
try
{
xSimpleMailClient->sendSimpleMailMessage( xSimpleMailMessage, nSendFlags );
- bSend = sal_True;
+ bSend = true;
}
catch ( IllegalArgumentException& )
{
@@ -877,7 +877,7 @@ SfxMailModel::SendMailResult SfxMailModel::Send( const css::uno::Reference< css:
{
}
- if ( bSend == sal_False )
+ if ( bSend == false )
{
css::uno::Reference< css::awt::XWindow > xParentWindow = xFrame->getContainerWindow();