diff options
Diffstat (limited to 'sw/source/ui/app/swmodul1.cxx')
-rw-r--r-- | sw/source/ui/app/swmodul1.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/ui/app/swmodul1.cxx b/sw/source/ui/app/swmodul1.cxx index 5677a5d01f..9c327681b4 100644 --- a/sw/source/ui/app/swmodul1.cxx +++ b/sw/source/ui/app/swmodul1.cxx @@ -427,6 +427,13 @@ sal_uInt16 SwModule::GetRedlineAuthor() return InsertRedlineAuthor( sActAuthor ); } +void SwModule::SetRedlineAuthor(const String &rAuthor) +{ + bAuthorInitialised = sal_True; + sActAuthor = rAuthor; + InsertRedlineAuthor( sActAuthor ); +} + const String& SwModule::GetRedlineAuthor(sal_uInt16 nPos) { OSL_ENSURE(nPos<pAuthorNames->Count(), "author not found!"); //#i45342# RTF doc with no author table caused reader to crash |