Update ooo320-m1
[ooovba.git] / applied_patches / 0368-oooXXXX.partial-revert-ooo95118.diff
blobc3231d99548e0200adc06b5aa040c64c536f4a8f
1 Revert pythonscript.py part of ooo#95118 for now
3 --- scripting/source/pyprov/pythonscript.py 2009-04-08 15:08:52.000000000 +0100
4 +++ scripting/source/pyprov/pythonscript.py 2009-04-08 15:08:56.000000000 +0100
5 @@ -734,8 +734,6 @@
6 uri = uri.replace( "vnd.sun.star.expand:", "",1)
7 uri = uno.getComponentContext().getByName(
8 "/singletons/com.sun.star.util.theMacroExpander" ).expandMacros( uri )
9 - if uri.startswith( "file:" ):
10 - uri = uno.absolutize("",uri) # necessary to get rid of .. in uri
11 return uri
13 #--------------------------------------------------------------