https://bugs.documentfoundation.org/show_bug.cgi?id=89470

            Bug ID: 89470
           Summary: Connecting a macro to Print document event gives
                    RuntimeException when printing a read-only file
           Product: LibreOffice
           Version: 4.2.5.2 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Cloned from bug 74536, comment 8.

Repro steps:

1. Go to Tools - Customize - Events. Select "Print document" and assign an
empty macro (standard - module1 - main)
2. Still in the Customize dialog, select Libreoffice in the "Save in" dropdown
3. Create and save a new text document
4. Change document editing status to read-only status using Edit - Edit mode
(Ctrl-Shift-M)
5. Print document

Printing fails with error message:
com.sun.star.uno.RuntimeExceptionScriptProtocolHandler::createScriptProvider(),

Tested on:
Win 7 Pro 64-bit Version: 4.5.0.0.alpha0+
Build ID: b13534de022972131b46f93f5ada90af155eec9e
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-02-19_00:21:37
Locale: fi_FI

Confirmed by raal on Linux and the original reporter on Win 7.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to