[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Mon Sep 14 01:40:25 PDT 2015
sw/source/uibase/uno/unotxdoc.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 58fb53d53e2bf46d448a5f52aa6714ae6c539e12
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Sep 14 09:38:31 2015 +0100
silence bogus warning
Change-Id: Ib8f4bcebfbd1f25f426a5d7954c3a55248c3c315
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index 7d19746..a3ed2de 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3972,7 +3972,7 @@ static Any lcl_GetDisplayBitmap(const OUString& _sLinkSuffix)
OUString sLinkSuffix = _sLinkSuffix;
if(!sLinkSuffix.isEmpty())
sLinkSuffix = sLinkSuffix.copy(1);
- ContentTypeId nImgId;
+ ContentTypeId nImgId(ContentTypeId::UNKNOWN);
bool bNotFound = false;
if(sLinkSuffix == "outline")
More information about the Libreoffice-commits
mailing list