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.
This commit is contained in:
parent
badbf0c925
commit
9e6b086c62
1 changed files with 3 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue