Mac compil fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24944 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-05-26 13:43:35 +00:00
parent 050ec93722
commit 114f9755ec

View File

@ -186,7 +186,7 @@ public:
QString flavorFor(QString const & mime)
{
LYXERR(Debug::ACTION, "flavorFor " << mime);
if (mime == QLatin1String(pdfMimeType()))
if (mime == pdfMimeType())
return QLatin1String("com.adobe.pdf");
return QString();
}
@ -195,7 +195,7 @@ public:
{
LYXERR(Debug::ACTION, "mimeFor " << flav);
if (flav == QLatin1String("com.adobe.pdf"))
return QLatin1String(pdfMimeType());
return pdfMimeType();
return QString();
}