Kaydet (Commit) 62f91791 authored tarafından Michael Stahl's avatar Michael Stahl

spurious warning C4189 local variable initialized but not referenced

Change-Id: I67ac7757a05dfba5724f8f73856e0a23194adaf8
üst 288d12ba
...@@ -451,8 +451,9 @@ void RtfSdrExport::impl_writeGraphic() ...@@ -451,8 +451,9 @@ void RtfSdrExport::impl_writeGraphic()
return; return;
} }
OString aURLBS(OUStringToOString(sGraphicURL, RTL_TEXTENCODING_UTF8)); OString aURLBS(OUStringToOString(sGraphicURL, RTL_TEXTENCODING_UTF8));
const char aURLBegin[] = "vnd.sun.star.GraphicObject:"; Graphic aGraphic = GraphicObject(
Graphic aGraphic = GraphicObject(aURLBS.copy(RTL_CONSTASCII_LENGTH(aURLBegin))).GetTransformedGraphic(); aURLBS.copy(RTL_CONSTASCII_LENGTH("vnd.sun.star.GraphicObject:")))
.GetTransformedGraphic();
// Export it to a stream. // Export it to a stream.
SvMemoryStream aStream; SvMemoryStream aStream;
......
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