diff options
Diffstat (limited to 'framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java')
-rw-r--r-- | framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java b/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java index 96f24e57da30..c5cc63253f25 100644 --- a/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java +++ b/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java @@ -21,6 +21,7 @@ package complex.accelerators; import com.sun.star.awt.KeyEvent; import com.sun.star.beans.PropertyValue; import com.sun.star.beans.XPropertySet; +import com.sun.star.configuration.theDefaultProvider; import com.sun.star.container.XNameAccess; import com.sun.star.embed.XStorage; import com.sun.star.embed.XTransactedObject; @@ -750,7 +751,8 @@ public class AcceleratorsConfigurationTest boolean bReadOnly) throws java.lang.Exception { - XMultiServiceFactory xConfigRoot = UnoRuntime.queryInterface(XMultiServiceFactory.class, xSMGR.createInstance("com.sun.star.configuration.ConfigurationProvider")); + XMultiServiceFactory xConfigRoot = theDefaultProvider.get( + connection.getComponentContext()); PropertyValue[] lParams = new PropertyValue[2]; lParams[0] = new PropertyValue(); |