summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:33:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:36:04 +0100
commit5516df0aee8139bdc3ccba6f3f16c084d8ad85ee (patch)
tree96908e465c7de975a9f0b059540efbf0caa16362 /unotools
parentf3dbc6f9011144df3af7f42f0df1895d75140baf (diff)
loplugin:deletedspecial
Change-Id: I53a088b74b95230aa3842bcac0bb1fd09e39cc12
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/ucbhelper/XTempFile.hxx2
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx4
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/ucbhelper/XTempFile.hxx b/unotools/source/ucbhelper/XTempFile.hxx
index 3a76a2b6b8c7..a2ed5e511287 100644
--- a/unotools/source/ucbhelper/XTempFile.hxx
+++ b/unotools/source/ucbhelper/XTempFile.hxx
@@ -135,7 +135,7 @@ public:
static ::com::sun::star::uno::Reference < com::sun::star::lang::XSingleComponentFactory > createServiceFactory_Static();
private:
- OTempFileService( OTempFileService & );
+ OTempFileService( OTempFileService & ) SAL_DELETED_FUNCTION;
virtual ~OTempFileService ();
};
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index 271b80c63059..1fcf878c9552 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -1515,7 +1515,7 @@ UcbLockBytesRef UcbLockBytes::CreateInputLockBytes( const Reference< XInputStrea
if( !xInputStream.is() )
return NULL;
- UcbLockBytesRef xLockBytes = new UcbLockBytes();
+ UcbLockBytesRef xLockBytes = new UcbLockBytes(nullptr);
xLockBytes->setDontClose_Impl();
xLockBytes->setInputStream_Impl( xInputStream );
xLockBytes->terminate_Impl();
@@ -1527,7 +1527,7 @@ UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference< XStream >& xStre
if( !xStream.is() )
return NULL;
- UcbLockBytesRef xLockBytes = new UcbLockBytes();
+ UcbLockBytesRef xLockBytes = new UcbLockBytes(nullptr);
xLockBytes->setDontClose_Impl();
xLockBytes->setStream_Impl( xStream );
xLockBytes->terminate_Impl();
diff --git a/unotools/source/ucbhelper/ucblockbytes.hxx b/unotools/source/ucbhelper/ucblockbytes.hxx
index 3c8e319b0c6d..e19c919dedb4 100644
--- a/unotools/source/ucbhelper/ucblockbytes.hxx
+++ b/unotools/source/ucbhelper/ucblockbytes.hxx
@@ -105,7 +105,7 @@ class UcbLockBytes : public virtual SvLockBytes
DECL_LINK( DataAvailHdl, void * );
- UcbLockBytes( UcbLockBytesHandler* pHandler=NULL );
+ UcbLockBytes( UcbLockBytesHandler* pHandler );
protected:
virtual ~UcbLockBytes (void);