summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-03-01 12:43:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-03-01 12:44:14 +0000
commit4c8d4308d6e975c93d7d4bfb6f8a11d41c1f05a1 (patch)
treeccc34e006630b6ca8f5e6c00df4d742bd959282c /xmloff
parentee5d620011152e6f260a1712f02cb48da34734d6 (diff)
WaE: init variables
Change-Id: Ia9d120348787bd566a3c9049f7adaf76648d096e
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx4
1 files changed, 3 insertions, 1 deletions
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;