Kaydet (Commit) b418ba93 authored tarafından rbuj's avatar rbuj Kaydeden (comit) Noel Grandin

javaunohelper: The assigned value is sometimes used

Change-Id: I292921ef5b98ffbae9a0d5b631498a2d6efefbfd
Reviewed-on: https://gerrit.libreoffice.org/10941Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 66c6d1ef
......@@ -295,12 +295,15 @@ public class UnoUrl {
private static UnoUrlPart parseUnoUrlPart(String thePart)
throws com.sun.star.lang.IllegalArgumentException {
String partName = thePart;
String theParamPart = "";
String partName;
String theParamPart;
int index = thePart.indexOf(",");
if (index != -1) {
partName = thePart.substring(0, index).trim();
theParamPart = thePart.substring(index + 1).trim();
} else {
partName = thePart;
theParamPart = "";
}
if (!isAlphaNumeric(partName)) {
......
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