drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
New commits: commit 5feff994b4ccd28d60537bdb8d984b9229bfb4c7 Author: Katarina Behrens <katarina.behr...@cib.de> AuthorDate: Tue Feb 19 15:48:25 2019 +0100 Commit: Thorsten Behrens <thorsten.behr...@cib.de> CommitDate: Mon Mar 4 08:55:55 2019 +0100 Don't include shape/object name when exporting to tagged PDF most of the time shapes have generated names such as 'Shape 42', those have ~no added value so let's not include them in Alt text Change-Id: I30314d5e901e11722e609dbf7ceddf74c5ed9707 Reviewed-on: https://gerrit.libreoffice.org/68520 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de> diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 60f45740b66a..d54d8e1fe1ce 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -1006,15 +1006,10 @@ namespace drawinglayer // for PDF export if(mpPDFExtOutDevData->GetIsExportTaggedPDF() && nullptr != getObjectInfoPrimitive2D()) { - OUString aAlternateDescription(getObjectInfoPrimitive2D()->getName()); + OUString aAlternateDescription; if(!getObjectInfoPrimitive2D()->getTitle().isEmpty()) { - if(!aAlternateDescription.isEmpty()) - { - aAlternateDescription += " - "; - } - aAlternateDescription += getObjectInfoPrimitive2D()->getTitle(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits