summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-23 15:44:04 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-23 15:44:04 +0100
commit707c6c233808133eee4c0ddfe3045ba0b2b2b4dd (patch)
tree230ab5b6af35d20e3f9137ee380da6f70386b576
parentbe6d1c093c3bf1cb6c1781cd2710946eac529c63 (diff)
loplugin:stringconstant
Change-Id: I82c0f91dcc20af28decd6d6eb7cf5f0f946f0987
-rw-r--r--sw/source/filter/html/htmlflywriter.cxx4
-rw-r--r--sw/source/filter/html/htmlplug.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmlflywriter.cxx b/sw/source/filter/html/htmlflywriter.cxx
index 1053a3969bdd..12812312ea6b 100644
--- a/sw/source/filter/html/htmlflywriter.cxx
+++ b/sw/source/filter/html/htmlflywriter.cxx
@@ -1733,7 +1733,7 @@ static Writer & OutHTML_FrameFormatAsImage( Writer& rWrt, const SwFrameFormat& r
GraphicURL = *rHTMLWrt.GetOrigFileName();
if( aGraphic.GetType() == GRAPHIC_NONE ||
XOutBitmap::WriteGraphic( aGraphic, GraphicURL,
- OUString("JPG"),
+ "JPG",
(XOUTBMP_USE_GIF_IF_POSSIBLE|
XOUTBMP_USE_NATIVE_IF_POSSIBLE) ) != 0 )
{
@@ -1803,7 +1803,7 @@ static Writer& OutHTML_FrameFormatGrfNode( Writer& rWrt, const SwFrameFormat& rF
MapMode( MAP_TWIP ), MapMode( MAP_100TH_MM ));
sal_uInt16 nErr = XOutBitmap::WriteGraphic( pGrfNd->GetGrf(), aGraphicURL,
- OUString("JPG"), nFlags, &aMM100Size );
+ "JPG", nFlags, &aMM100Size );
if( nErr )
{
rHTMLWrt.m_nWarn = WARN_SWG_POOR_LOAD | WARN_SW_WRITE_BASE;
diff --git a/sw/source/filter/html/htmlplug.cxx b/sw/source/filter/html/htmlplug.cxx
index f85ab2e61736..90dd59e0df58 100644
--- a/sw/source/filter/html/htmlplug.cxx
+++ b/sw/source/filter/html/htmlplug.cxx
@@ -1323,7 +1323,7 @@ Writer& OutHTML_FrameFormatOLENodeGrf( Writer& rWrt, const SwFrameFormat& rFrame
aGraphicURL = *pTempFileName;
sal_uInt16 nErr = XOutBitmap::WriteGraphic( aGraphic, aGraphicURL,
- OUString("JPG"),
+ "JPG",
(XOUTBMP_USE_GIF_IF_POSSIBLE |
XOUTBMP_USE_NATIVE_IF_POSSIBLE) );
if( nErr ) // fehlerhaft, da ist nichts auszugeben