[Libreoffice-commits] core.git: stoc/source
Tor Lillqvist
tml at collabora.com
Thu Feb 18 08:08:53 UTC 2016
stoc/source/javavm/javavm.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cf6cbd29fdeba54bd83a87c1165d49312dc2d2a6
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Feb 18 10:06:38 2016 +0200
WaE: replace OUString constructed from a string literal directly ...
... with the string literal [loplugin:stringconstant]
Change-Id: I38fff65c8b5da320ad82419f5c7b46f35da2aa62
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx
index 64b55f7..918707f 100644
--- a/stoc/source/javavm/javavm.cxx
+++ b/stoc/source/javavm/javavm.cxx
@@ -540,7 +540,7 @@ void initVMConfiguration(
// java-side force look and feel to something that doesn't
// crash when we are using gtk3
if (getenv("STOC_FORCE_SYSTEM_LAF"))
- pjvm->pushProp(OUString("swing.systemlaf=javax.swing.plaf.metal.MetalLookAndFeel"));
+ pjvm->pushProp("swing.systemlaf=javax.swing.plaf.metal.MetalLookAndFeel");
setTimeZone(pjvm);
}
More information about the Libreoffice-commits
mailing list