[Libreoffice-commits] core.git: drawinglayer/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Mar 4 07:56:18 UTC 2019
drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
New commits:
commit 5feff994b4ccd28d60537bdb8d984b9229bfb4c7
Author: Katarina Behrens <Katarina.Behrens at cib.de>
AuthorDate: Tue Feb 19 15:48:25 2019 +0100
Commit: Thorsten Behrens <Thorsten.Behrens at 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.Behrens at 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();
}
More information about the Libreoffice-commits
mailing list