This commit is contained in:
Tim Bentley 2016-04-01 18:15:45 +01:00
parent 0678155400
commit dbb07db257
2 changed files with 3 additions and 3 deletions

View File

@ -450,7 +450,7 @@ def get_web_page(url, header=None, update_openlp=False):
def get_uno_command(connection_type='pipe'): def get_uno_command(connection_type='pipe'):
""" """
Returns the UNO command to launch an openoffice.org instance. Returns the UNO command to launch an libreoffice.org instance.
""" """
for command in ['libreoffice', 'soffice']: for command in ['libreoffice', 'soffice']:
if which(command): if which(command):
@ -468,7 +468,7 @@ def get_uno_command(connection_type='pipe'):
def get_uno_instance(resolver, connection_type='pipe'): def get_uno_instance(resolver, connection_type='pipe'):
""" """
Returns a running openoffice.org instance. Returns a running libreoffice.org instance.
:param resolver: The UNO resolver to use to find a running instance. :param resolver: The UNO resolver to use to find a running instance.
""" """

View File

@ -18,4 +18,4 @@
# You should have received a copy of the GNU General Public License along # # You should have received a copy of the GNU General Public License along #
# with this program; if not, write to the Free Software Foundation, Inc., 59 # # with this program; if not, write to the Free Software Foundation, Inc., 59 #
# Temple Place, Suite 330, Boston, MA 02111-1307 USA # # Temple Place, Suite 330, Boston, MA 02111-1307 USA #
############################################################################### ###############################################################################