tdf#104008: whole file name (file extension) for print job

Added parameter SFX_TITLE_FILENAME on getTitle method
in order to have the full name for print job.

Change-Id: I7a4722b93763f89424b6c6c4c247d658d57a249b
Reviewed-on: https://gerrit.libreoffice.org/32664
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
This commit is contained in:
thvallois
2017-01-03 01:55:52 +01:00
committed by jan iversen
parent 048e30c1f8
commit cb8b05eb48

View File

@@ -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 );
}