sfx2/source/view/viewprn.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cb8b05eb486d1def2d6332bcad221c7de333d67d Author: thvallois <thibault.vallois2...@gmail.com> Date: Tue Jan 3 01:55:52 2017 +0100 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 <c...@libreoffice.org> Reviewed-by: jan iversen <j...@documentfoundation.org> diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx index dfe49c1..8ae4c73 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 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits