summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/streaming/streamhelper.cxx10
-rw-r--r--unotools/source/ucbhelper/ucbstreamhelper.cxx10
2 files changed, 10 insertions, 10 deletions
diff --git a/unotools/source/streaming/streamhelper.cxx b/unotools/source/streaming/streamhelper.cxx
index d3f41ad5e286..bad020f8049d 100644
--- a/unotools/source/streaming/streamhelper.cxx
+++ b/unotools/source/streaming/streamhelper.cxx
@@ -24,7 +24,7 @@ namespace utl
sal_Int32 SAL_CALL OInputStreamHelper::readBytes(css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead)
{
- if (!m_xLockBytes.Is())
+ if (!m_xLockBytes.is())
throw css::io::NotConnectedException(OUString(), static_cast<css::uno::XWeak*>(this));
if (nBytesToRead < 0)
@@ -61,7 +61,7 @@ sal_Int64 SAL_CALL OInputStreamHelper::getPosition( )
sal_Int64 SAL_CALL OInputStreamHelper::getLength( )
{
- if (!m_xLockBytes.Is())
+ if (!m_xLockBytes.is())
return 0;
::osl::MutexGuard aGuard( m_aMutex );
@@ -80,7 +80,7 @@ sal_Int32 SAL_CALL OInputStreamHelper::readSomeBytes(css::uno::Sequence< sal_Int
void SAL_CALL OInputStreamHelper::skipBytes(sal_Int32 nBytesToSkip)
{
::osl::MutexGuard aGuard( m_aMutex );
- if (!m_xLockBytes.Is())
+ if (!m_xLockBytes.is())
throw css::io::NotConnectedException(OUString(), static_cast<css::uno::XWeak*>(this));
if (nBytesToSkip < 0)
@@ -92,7 +92,7 @@ void SAL_CALL OInputStreamHelper::skipBytes(sal_Int32 nBytesToSkip)
sal_Int32 SAL_CALL OInputStreamHelper::available()
{
::osl::MutexGuard aGuard( m_aMutex );
- if (!m_xLockBytes.Is())
+ if (!m_xLockBytes.is())
throw css::io::NotConnectedException(OUString(), static_cast<css::uno::XWeak*>(this));
return m_nAvailable;
@@ -101,7 +101,7 @@ sal_Int32 SAL_CALL OInputStreamHelper::available()
void SAL_CALL OInputStreamHelper::closeInput()
{
::osl::MutexGuard aGuard( m_aMutex );
- if (!m_xLockBytes.Is())
+ if (!m_xLockBytes.is())
throw css::io::NotConnectedException(OUString(), static_cast<css::uno::XWeak*>(this));
m_xLockBytes = nullptr;
diff --git a/unotools/source/ucbhelper/ucbstreamhelper.cxx b/unotools/source/ucbhelper/ucbstreamhelper.cxx
index 8628634d59ac..034eaf287d33 100644
--- a/unotools/source/ucbhelper/ucbstreamhelper.cxx
+++ b/unotools/source/ucbhelper/ucbstreamhelper.cxx
@@ -120,7 +120,7 @@ static SvStream* lcl_CreateStream( const OUString& rFileName, StreamMode eOpenMo
comphelper::getProcessComponentContext() );
xLockBytes = UcbLockBytes::CreateLockBytes( aContent.get(), Sequence < PropertyValue >(),
eOpenMode, xInteractionHandler );
- if ( xLockBytes.Is() )
+ if ( xLockBytes.is() )
{
pStream = new SvStream( xLockBytes.get() );
pStream->SetBufferSize( 4096 );
@@ -169,7 +169,7 @@ SvStream* UcbStreamHelper::CreateStream( const Reference < XInputStream >& xStre
{
SvStream* pStream = nullptr;
UcbLockBytesRef xLockBytes = UcbLockBytes::CreateInputLockBytes( xStream );
- if ( xLockBytes.Is() )
+ if ( xLockBytes.is() )
{
pStream = new SvStream( xLockBytes.get() );
pStream->SetBufferSize( 4096 );
@@ -185,7 +185,7 @@ SvStream* UcbStreamHelper::CreateStream( const Reference < XStream >& xStream )
if ( xStream->getOutputStream().is() )
{
UcbLockBytesRef xLockBytes = UcbLockBytes::CreateLockBytes( xStream );
- if ( xLockBytes.Is() )
+ if ( xLockBytes.is() )
{
pStream = new SvStream( xLockBytes.get() );
pStream->SetBufferSize( 4096 );
@@ -202,7 +202,7 @@ SvStream* UcbStreamHelper::CreateStream( const Reference < XInputStream >& xStre
{
SvStream* pStream = nullptr;
UcbLockBytesRef xLockBytes = UcbLockBytes::CreateInputLockBytes( xStream );
- if ( xLockBytes.Is() )
+ if ( xLockBytes.is() )
{
if ( !bCloseStream )
xLockBytes->setDontClose_Impl();
@@ -221,7 +221,7 @@ SvStream* UcbStreamHelper::CreateStream( const Reference < XStream >& xStream, b
if ( xStream->getOutputStream().is() )
{
UcbLockBytesRef xLockBytes = UcbLockBytes::CreateLockBytes( xStream );
- if ( xLockBytes.Is() )
+ if ( xLockBytes.is() )
{
if ( !bCloseStream )
xLockBytes->setDontClose_Impl();