summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-28 11:37:54 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-28 11:37:54 +0000
commit34e927d8597c1fa53fc3a0f2c171ec3911613ad2 (patch)
treec2808b148cc93a3d4d1ce37cec61552cfb336267
parent8e800bc150da72516759aacb4242405cb90f1749 (diff)
INTEGRATION: CWS vcl09 (1.3.10); FILE MERGED
2003/05/08 18:46:19 pl 1.3.10.1: #109426# make rpnp.so work on Linux
-rw-r--r--extensions/source/plugin/inc/plugin/unx/mediator.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/plugin/inc/plugin/unx/mediator.hxx b/extensions/source/plugin/inc/plugin/unx/mediator.hxx
index a8c368dedbf0..fbe827cdd637 100644
--- a/extensions/source/plugin/inc/plugin/unx/mediator.hxx
+++ b/extensions/source/plugin/inc/plugin/unx/mediator.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: mediator.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: vg $ $Date: 2003-04-15 16:17:41 $
+ * last change: $Author: vg $ $Date: 2003-05-28 12:37:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -108,13 +108,13 @@ struct MediatorMessage
~MediatorMessage()
{
if( m_pBytes )
- delete m_pBytes;
+ delete [] m_pBytes;
}
void Set( ULONG nBytes, char* pBytes )
{
if( m_pBytes )
- delete m_pBytes;
+ delete [] m_pBytes;
m_nBytes = nBytes;
m_pBytes = new char[ m_nBytes ];
memcpy( m_pBytes, pBytes, (size_t)m_nBytes );