diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-14 18:06:56 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-15 00:04:31 +0200 |
commit | dd6d9fd5db0a02d5fd4b63a07408921266a38989 (patch) | |
tree | 1e7fef391721ea40f7ed45890de5d8b560b23f72 /sw | |
parent | e9e0ab477728f543efa78a04411057aed6c6c1e5 (diff) |
ww8: warning C4701: potentially uninitialized local variable
Apparently xmloff supports at least one value that has no equivalent in
OOXML; just use "none" for now.
Change-Id: I76d2802c7c91ea756125e66c229ec5fdb2e7ec3b
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 2ad4a32034e7..360e0a4169a8 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -6333,6 +6333,7 @@ void DocxAttributeOutput::CharEmphasisMark( const SvxEmphasisMarkItem& rEmphasis switch ( rEmphasisMark.GetValue() ) { + default: case EMPHASISMARK_NONE: pEmphasis = "none"; break; |