summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unostyle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unostyle.cxx')
-rw-r--r--sw/source/core/unocore/unostyle.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index a7d3b1764680..0e090be672a3 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -3411,7 +3411,9 @@ MakeObject:
}
else if (bFirst && !bShareFirst)
{
- pFrmFmt = &rDesc.GetFirst();
+ pFrmFmt = &rDesc.GetFirstMaster();
+ // no need to make GetFirstLeft() accessible
+ // since it is always shared
}
else
{