summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--canvas/source/tools/canvastools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/tools/canvastools.cxx b/canvas/source/tools/canvastools.cxx
index 54e93fcb3625..2ca1b5081724 100644
--- a/canvas/source/tools/canvastools.cxx
+++ b/canvas/source/tools/canvastools.cxx
@@ -1317,7 +1317,7 @@ namespace canvas::tools
for(sal_Int32 nIdx = 0; nIdx < rExtraFontProperties.getLength(); ++nIdx)
{
if (rExtraFontProperties[nIdx].Name == "EmphasisMark")
- rExtraFontProperties[0].Value >>= rEmphasisMark;
+ rExtraFontProperties[nIdx].Value >>= rEmphasisMark;
}
}