Kaydet (Commit) 9e6b086c authored tarafından Luboš Luňák's avatar Luboš Luňák

string literals in ?: don't get automatically converted to OUString

Technically these two are both const char[8], so gcc/clang keep
the resulting type the same, but msvc always converts to const char*,
even if the same sizes mean this is not required.
üst badbf0c9
......@@ -438,7 +438,9 @@ OUString SmOoxmlImport::handleLimLowUpp( LimLowUpp_t limlowupp )
return e.copy( 0, e.getLength() - 2 ) + lim + "}";
if( limlowupp == LimLow && e.endsWith( " underbrace { }" ))
return e.copy( 0, e.getLength() - 2 ) + lim + "}";
return e + ( limlowupp == LimLow ? " csub {" : " csup {" ) + lim + "}";
return e
+ ( limlowupp == LimLow ? OUString( " csub {" ) : OUString( " csup {" ))
+ lim + "}";
}
OUString SmOoxmlImport::handleGroupChr()
......
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