diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/headless/svpdummies.cxx | 3 | ||||
-rw-r--r-- | vcl/headless/svpframe.cxx | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/vcl/headless/svpdummies.cxx b/vcl/headless/svpdummies.cxx index 21a054761ea2..9fab8f15f990 100644 --- a/vcl/headless/svpdummies.cxx +++ b/vcl/headless/svpdummies.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <string.h> #include <rtl/ustrbuf.hxx> #include <headless/svpdummies.hxx> #include <headless/svpinst.hxx> @@ -25,8 +24,6 @@ // SalObject SvpSalObject::SvpSalObject() { - // fast and easy cross-platform wiping of the data - memset( static_cast<void *>(&m_aSystemChildData), 0, sizeof( SystemEnvData ) ); m_aSystemChildData.nSize = sizeof( SystemEnvData ); } diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx index 4259a84d5a0b..977d83d08fcf 100644 --- a/vcl/headless/svpframe.cxx +++ b/vcl/headless/svpframe.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <string.h> - #include <comphelper/lok.hxx> #include <vcl/syswin.hxx> #include <sal/log.hxx> @@ -57,8 +55,6 @@ SvpSalFrame::SvpSalFrame( SvpSalInstance* pInstance, m_nMaxHeight( 0 ) { // SAL_DEBUG("SvpSalFrame::SvpSalFrame: " << this); - // fast and easy cross-platform wiping of the data - memset( static_cast<void *>(&m_aSystemChildData), 0, sizeof( SystemEnvData ) ); m_aSystemChildData.nSize = sizeof( SystemEnvData ); #ifdef IOS // Nothing |