summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx7
1 files changed, 1 insertions, 6 deletions
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();
}