Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/obasync
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def create_dialog_library(storage, libname):
storage: The Basic macro storage, as a Storage object.
libname: The name of the dialog library.
"""
if storage.type is "user":
if storage.type == "user":
libraries = storage.oo.service_manager.createInstance(
"com.sun.star.script.ApplicationDialogLibraryContainer")
else:
Expand Down Expand Up @@ -626,7 +626,7 @@ def run_macro(storage, libname, macro):
libname: The name of the dialog library.
macro: The The macro to run.
"""
if storage.type is "user":
if storage.type == "user":
factory = storage.oo.service_manager.DefaultContext.getByName(
"/singletons/com.sun.star.script.provider."
"theMasterScriptProviderFactory")
Expand Down