diff options
Diffstat (limited to 'sw/source/filter/ww8/ww8par2.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par2.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx index 757d14bb7284..233cc11627c6 100644 --- a/sw/source/filter/ww8/ww8par2.cxx +++ b/sw/source/filter/ww8/ww8par2.cxx @@ -224,6 +224,14 @@ void wwSectionManager::SetCurrentSectionHasFootnote() maSegments.back().mbHasFootnote = true; } +void wwSectionManager::SetCurrentSectionVerticalAdjustment(const drawing::TextVerticalAdjust nVA) +{ + OSL_ENSURE(!maSegments.empty(), + "should not be possible, must be at least one segment"); + if ( !maSegments.empty() ) + maSegments.back().mnVerticalAdjustment = nVA; +} + bool wwSectionManager::CurrentSectionIsVertical() const { OSL_ENSURE(!maSegments.empty(), |