From 4c8d4308d6e975c93d7d4bfb6f8a11d41c1f05a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 1 Mar 2013 12:43:55 +0000 Subject: [PATCH] WaE: init variables Change-Id: Ia9d120348787bd566a3c9049f7adaf76648d096e --- xmloff/source/draw/sdxmlexp.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index 5ffed47fad38..86cdd8c01ddd 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -2935,7 +2935,9 @@ XMLFontAutoStylePool* SdXMLExport::CreateFontAutoStylePool() for( int i = 0; i < nLen; i++ ) { OUString sFamilyName, sStyleName; - sal_Int16 eFamily, ePitch, eCharSet; + sal_Int16 eFamily(FAMILY_DONTKNOW), + ePitch(PITCH_DONTKNOW), + eCharSet(RTL_TEXTENCODING_DONTKNOW); aAnySeq[nSeqIndex++] >>= sFamilyName; aAnySeq[nSeqIndex++] >>= sStyleName;