summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-02-18 22:40:20 +0100
committerMichael Stahl <mstahl@redhat.com>2014-02-18 22:57:25 +0100
commitcdb405f4e4b168d1e2f6dea9ac985df319a76015 (patch)
tree56ea749cce698f7402d90cc8fe33da27cf22ee72 /sfx2
parent677855e67c0ebd4f695950dfadb2ef36718efe45 (diff)
vcl: CUPS printing: notify user if spooling failed
CUPS does not accept jobs for a printer that has been stopped; pop up an error message in this case instead of silently ignoring failure. Change-Id: I1bc9120c9c9f438e350c964ed7ef29924a72ce78
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/viewprn.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx
index c7bb3fc1e3c1..ea0eae420ed3 100644
--- a/sfx2/source/view/viewprn.cxx
+++ b/sfx2/source/view/viewprn.cxx
@@ -339,6 +339,7 @@ void SfxPrinterController::jobFinished( com::sun::star::view::PrintableState nSt
mpObjectShell->Broadcast( SfxPrintingHint( nState ) );
switch ( nState )
{
+ case view::PrintableState_JOB_SPOOLING_FAILED :
case view::PrintableState_JOB_FAILED :
{
// "real" problem (not simply printing cancelled by user)