summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-11 21:04:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-12 13:32:38 +0200
commitce8b63ed20aa9ce8a36c3b2c02a4f74459e91229 (patch)
tree022a686d4648d80930b8e9400609b1b76e75f9f2 /sw/source/filter
parent2d296ee94077f1fdbea42c7fbf340fdd725817f3 (diff)
silence Werror=class-memaccess
Change-Id: I2deac7b7df8d6b099a52b4e9e82ee0dd0c390c16 Reviewed-on: https://gerrit.libreoffice.org/54149 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index af15642868bc..54704142bd4e 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -1580,7 +1580,7 @@ void WW8TabBandDesc::ReadNewShd(const sal_uInt8* pS, bool bVer67)
void WW8TabBandDesc::setcelldefaults(WW8_TCell *pCells, short nCols)
{
- memset( pCells, 0, nCols * sizeof( WW8_TCell ) );
+ memset(static_cast<void*>(pCells), 0, nCols * sizeof(WW8_TCell));
}
namespace