summaryrefslogtreecommitdiff
path: root/embeddedobj/source/msole/ownview.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:16:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:40 +0200
commitbc9047540a9c6c961bd686c61bed13ce18a28edb (patch)
tree99a6cadc2fc2273d368e3f4dde86f00afa2b2359 /embeddedobj/source/msole/ownview.cxx
parent9ad66e5ae924b22c589601085c0a7355073a1daf (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I8542bfaf9e27792369617c44258ddcc393e490a2
Diffstat (limited to 'embeddedobj/source/msole/ownview.cxx')
-rw-r--r--embeddedobj/source/msole/ownview.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/embeddedobj/source/msole/ownview.cxx b/embeddedobj/source/msole/ownview.cxx
index 53e2d0b20225..b81627ff224a 100644
--- a/embeddedobj/source/msole/ownview.cxx
+++ b/embeddedobj/source/msole/ownview.cxx
@@ -116,14 +116,14 @@ bool OwnView_Impl::CreateModelFromURL( const OUString& aFileURL )
aArgs[0].Value <<= aFileURL;
aArgs[1].Name = "ReadOnly";
- aArgs[1].Value <<= sal_True;
+ aArgs[1].Value <<= true;
aArgs[2].Name = "InteractionHandler";
aArgs[2].Value <<= uno::Reference< task::XInteractionHandler >(
static_cast< ::cppu::OWeakObject* >( new DummyHandler_Impl() ), uno::UNO_QUERY );
aArgs[3].Name = "DontEdit";
- aArgs[3].Value <<= sal_True;
+ aArgs[3].Value <<= true;
if ( !m_aFilterName.isEmpty() )
{
@@ -216,7 +216,7 @@ OUString OwnView_Impl::GetFilterNameFromExtentionAndInStream(
aArgs[2].Value <<= aTypeName;
}
- aTypeName = xTypeDetection->queryTypeByDescriptor( aArgs, sal_True );
+ aTypeName = xTypeDetection->queryTypeByDescriptor( aArgs, true );
OUString aFilterName;
for ( sal_Int32 nInd = 0; nInd < aArgs.getLength(); nInd++ )
@@ -264,7 +264,7 @@ bool OwnView_Impl::ReadContentsAndGenerateTempFile( const uno::Reference< io::XI
throw uno::RuntimeException();
try {
- xNativeTempFile->setPropertyValue("RemoveFile", uno::makeAny( sal_False ) );
+ xNativeTempFile->setPropertyValue("RemoveFile", uno::makeAny( false ) );
uno::Any aUrl = xNativeTempFile->getPropertyValue("Uri");
aUrl >>= aNativeTempURL;
}
@@ -562,7 +562,7 @@ void OwnView_Impl::Close()
xCloseable->removeCloseListener( uno::Reference< util::XCloseListener >(
static_cast< ::cppu::OWeakObject* >( this ),
uno::UNO_QUERY ) );
- xCloseable->close( sal_True );
+ xCloseable->close( true );
}
}
catch( uno::Exception& )