summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/targuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/targuno.cxx')
-rw-r--r--sc/source/ui/unoobj/targuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/targuno.cxx b/sc/source/ui/unoobj/targuno.cxx
index 339f3b10d60b..35e695451ce1 100644
--- a/sc/source/ui/unoobj/targuno.cxx
+++ b/sc/source/ui/unoobj/targuno.cxx
@@ -232,7 +232,7 @@ void ScLinkTargetTypeObj::SetLinkTargetBitmap( uno::Any& rRet, sal_uInt16 nType
}
if (nImgId != ScContentId::ROOT)
{
- BitmapEx aBitmapEx(aContentBmps[static_cast<int>(nImgId) -1 ]);
+ BitmapEx aBitmapEx { OUString(aContentBmps[static_cast<int>(nImgId) -1 ]) };
rRet <<= VCLUnoHelper::CreateBitmap(aBitmapEx);
}
}