summaryrefslogtreecommitdiff
path: root/sw/source/ui/app/swmodul1.cxx
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2000-10-09 09:49:36 +0000
committerjp <jp@openoffice.org>2000-10-09 09:49:36 +0000
commitce6a98e6f500b9f5f8ea4723f22276c022d4fece (patch)
treef37274f5388f3e18c9cd7458e3bff77bd16cac64 /sw/source/ui/app/swmodul1.cxx
parentdd4135000257785acb27a08f144a1c1d16f3ebb9 (diff)
should changes: don't use IniManager
Diffstat (limited to 'sw/source/ui/app/swmodul1.cxx')
-rw-r--r--sw/source/ui/app/swmodul1.cxx18
1 files changed, 12 insertions, 6 deletions
diff --git a/sw/source/ui/app/swmodul1.cxx b/sw/source/ui/app/swmodul1.cxx
index aa72d3ab4213..e88492b41cda 100644
--- a/sw/source/ui/app/swmodul1.cxx
+++ b/sw/source/ui/app/swmodul1.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: swmodul1.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: os $ $Date: 2000-09-28 15:22:17 $
+ * last change: $Author: jp $ $Date: 2000-10-09 10:49:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -75,6 +75,10 @@
#ifndef _SFXREQUEST_HXX
#include <sfx2/request.hxx>
#endif
+#ifndef INCLUDED_SVTOOLS_USEROPTIONS_HXX
+#include <svtools/useroptions.hxx>
+#endif
+
#ifndef _CPPUHELPER_WEAK_HXX_
#include <cppuhelper/weak.hxx>
#endif
@@ -90,6 +94,9 @@
#ifndef _COM_SUN_STAR_FRAME_XSTATUSLISTENER_HPP_
#include <com/sun/star/frame/XStatusListener.hpp>
#endif
+#ifndef _CPPUHELPER_IMPLBASE1_HXX_
+#include <cppuhelper/implbase1.hxx> // helper for implementations
+#endif
#ifndef _SBASLTID_HRC //autogen
#include <offmgr/sbasltid.hrc>
@@ -177,9 +184,7 @@
#ifndef _APP_HRC
#include <app.hrc>
#endif
-#ifndef _CPPUHELPER_IMPLBASE1_HXX_
-#include <cppuhelper/implbase1.hxx> // helper for implementations
-#endif
+
using namespace ::rtl;
using namespace ::com::sun::star;
/* -----------------------------05.01.00 15:14--------------------------------
@@ -723,7 +728,8 @@ sal_uInt16 SwModule::GetRedlineAuthor()
{
if (!bAuthorInitialised)
{
- sActAuthor = SFX_APP()->GetIniManager()->GetUserFullName();
+ SvtUserOptions aOpt;
+ sActAuthor = aOpt.GetFullName();
bAuthorInitialised = sal_True;
}