[Libreoffice-commits] core.git: sfx2/source

thvallois Thibault.vallois2661 at gmail.com
Mon Jan 9 07:13:41 UTC 2017


 sfx2/source/view/viewprn.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cb8b05eb486d1def2d6332bcad221c7de333d67d
Author: thvallois <Thibault.vallois2661 at 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 <ci at libreoffice.org>
    Reviewed-by: jan iversen <jani at 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 );
 }
 


More information about the Libreoffice-commits mailing list