Kaydet (Commit) a9ae0c39 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: deal with those that are (technically) const_cast

Change-Id: Id57c9599a454e1156a6a248ebb143a88f6d78425
üst 75aa1bf8
......@@ -414,16 +414,16 @@ static int doc_saveAs(LibreOfficeKitDocument* pThis, const char* sUrl, const cha
switch (doc_getDocumentType(pThis))
{
case LOK_DOCTYPE_SPREADSHEET:
pMap = (const ExtensionMap*) aCalcExtensionMap;
pMap = aCalcExtensionMap;
break;
case LOK_DOCTYPE_PRESENTATION:
pMap = (const ExtensionMap*) aImpressExtensionMap;
pMap = aImpressExtensionMap;
break;
case LOK_DOCTYPE_DRAWING:
pMap = (const ExtensionMap*) aDrawExtensionMap;
pMap = aDrawExtensionMap;
break;
case LOK_DOCTYPE_TEXT:
pMap = (const ExtensionMap*) aWriterExtensionMap;
pMap = aWriterExtensionMap;
break;
case LOK_DOCTYPE_OTHER:
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment