summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/view/viewprn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx
index dfe49c1e4855..8ae4c73d1207 100644
--- a/sfx2/source/view/viewprn.cxx
+++ b/sfx2/source/view/viewprn.cxx
@@ -600,7 +600,7 @@ void SfxViewShell::StartPrint( const uno::Sequence < beans::PropertyValue >& rPr
SfxObjectShell *pObjShell = GetObjectShell();
xNewController->setValue( "JobName",
- makeAny( OUString( pObjShell->GetTitle() ) ) );
+ makeAny( OUString( pObjShell->GetTitle(1) ) ) );
xNewController->setPrinterModified( mbPrinterSettingsModified );
}