#i101955# improved previously modified fgetL10Nvalue

This commit is contained in:
sb
2009-10-09 16:16:01 +02:00
parent 4ba9368254
commit a6e835a448

View File

@@ -661,10 +661,10 @@ end function
'------------------------------------------------------------------------- '-------------------------------------------------------------------------
function fgetL10Nvalue() as string function fgetL10Nvalue() as string
dim args(1) as new com.sun.star.beans.NamedValue dim args(0) as new com.sun.star.beans.NamedValue
args(0).Name = "nodepath" args(0).Name = "nodepath"
args(0).Value = "/org.openoffice.Setup/L10N" args(0).Value = "/org.openoffice.Setup/L10N"
fgetL10Nvalue = hGetUnoService(TRUE)._ fgetL10Nvalue = hGetUNOService()._
createInstance("com.sun.star.configuration.DefaultProvider")._ createInstance("com.sun.star.configuration.DefaultProvider")._
createInstanceWithArguments(_ createInstanceWithArguments(_
"com.sun.star.configuration.ConfigurationAccess", args())._ "com.sun.star.configuration.ConfigurationAccess", args())._