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:
@@ -600,7 +600,7 @@ void SfxViewShell::StartPrint( const uno::Sequence < beans::PropertyValue >& rPr
|
|||||||
|
|
||||||
SfxObjectShell *pObjShell = GetObjectShell();
|
SfxObjectShell *pObjShell = GetObjectShell();
|
||||||
xNewController->setValue( "JobName",
|
xNewController->setValue( "JobName",
|
||||||
makeAny( OUString( pObjShell->GetTitle() ) ) );
|
makeAny( OUString( pObjShell->GetTitle(1) ) ) );
|
||||||
xNewController->setPrinterModified( mbPrinterSettingsModified );
|
xNewController->setPrinterModified( mbPrinterSettingsModified );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user