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

-Werror,-Wformat-security

Change-Id: I23f4b906456fdba84f2772a4ed15ac6c141a094d
üst 7e16332d
...@@ -1530,7 +1530,7 @@ postCommandInThread (gpointer data) ...@@ -1530,7 +1530,7 @@ postCommandInThread (gpointer data)
priv->m_pDocument->pClass->setView(priv->m_pDocument, priv->m_nViewId); priv->m_pDocument->pClass->setView(priv->m_pDocument, priv->m_nViewId);
std::stringstream ss; std::stringstream ss;
ss << "lok::Document::postUnoCommand(" << pLOEvent->m_pCommand << ", " << pLOEvent->m_pArguments << ")"; ss << "lok::Document::postUnoCommand(" << pLOEvent->m_pCommand << ", " << pLOEvent->m_pArguments << ")";
g_info(ss.str().c_str()); g_info("%s", ss.str().c_str());
priv->m_pDocument->pClass->postUnoCommand(priv->m_pDocument, pLOEvent->m_pCommand, pLOEvent->m_pArguments, pLOEvent->m_bNotifyWhenFinished); priv->m_pDocument->pClass->postUnoCommand(priv->m_pDocument, pLOEvent->m_pCommand, pLOEvent->m_pArguments, pLOEvent->m_bNotifyWhenFinished);
} }
...@@ -1566,7 +1566,7 @@ paintTileInThread (gpointer data) ...@@ -1566,7 +1566,7 @@ paintTileInThread (gpointer data)
<< aTileRectangle.x << ", " << aTileRectangle.y << ", " << aTileRectangle.x << ", " << aTileRectangle.y << ", "
<< pixelToTwip(nTileSizePixels, pLOEvent->m_fPaintTileZoom) << ", " << pixelToTwip(nTileSizePixels, pLOEvent->m_fPaintTileZoom) << ", "
<< pixelToTwip(nTileSizePixels, pLOEvent->m_fPaintTileZoom) << ")"; << pixelToTwip(nTileSizePixels, pLOEvent->m_fPaintTileZoom) << ")";
g_info(ss.str().c_str()); g_info("%s", ss.str().c_str());
priv->m_pDocument->pClass->paintTile(priv->m_pDocument, priv->m_pDocument->pClass->paintTile(priv->m_pDocument,
pBuffer, pBuffer,
nTileSizePixels, nTileSizePixels, nTileSizePixels, nTileSizePixels,
......
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