First draft of w2l toolbar

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@184 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2014-10-10 13:51:02 +00:00
parent 25bc476ffa
commit a50dad69f4
20 changed files with 738 additions and 337 deletions

View file

@ -20,7 +20,7 @@
*
* All Rights Reserved.
*
* Version 1.4 (2014-09-16)
* Version 1.4 (2014-10-10)
*
*/
@ -329,10 +329,9 @@ public class Misc{
}
}
public static final String removeExtension(String sName) {
int n = sName.lastIndexOf(".");
if (n<0) { return sName; }
return sName.substring(0,n);
public static final String removeExtension(String sURL) {
String sExt = getFileExtension(sURL);
return sURL.substring(0, sURL.length()-sExt.length());
}
/*