summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/docinf.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-08-31 11:35:13 +0000
committerKurt Zenker <kz@openoffice.org>2004-08-31 11:35:13 +0000
commit3366f4d16764a4bcac5d1a1ba8963cc7e27815e7 (patch)
treedb14421f1734fb1e581875ccbddb777dab0323f3 /sfx2/source/doc/docinf.cxx
parenta0adf64d942d51cb3c7bce088608c2337ac46e4f (diff)
INTEGRATION: CWS xmlsec05 (1.25.196); FILE MERGED
2004/08/23 12:17:46 pb 1.25.196.1: fix: #i33095# Is/SetLoadReadonly() added
Diffstat (limited to 'sfx2/source/doc/docinf.cxx')
-rw-r--r--sfx2/source/doc/docinf.cxx44
1 files changed, 29 insertions, 15 deletions
diff --git a/sfx2/source/doc/docinf.cxx b/sfx2/source/doc/docinf.cxx
index 11b8b7886ca9..68d484aa570b 100644
--- a/sfx2/source/doc/docinf.cxx
+++ b/sfx2/source/doc/docinf.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: docinf.cxx,v $
*
- * $Revision: 1.25 $
+ * $Revision: 1.26 $
*
- * last change: $Author: rt $ $Date: 2003-12-01 18:23:41 $
+ * last change: $Author: kz $ $Date: 2004-08-31 12:35:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -296,19 +296,21 @@ ULONG SfxPSStringProperty_Impl::Len()
class SfxDocumentInfo_Impl
{
public:
- String aCopiesTo;
- String aOriginal;
- String aReferences;
- String aRecipient;
- String aReplyTo;
- String aBlindCopies;
- String aInReplyTo;
- String aNewsgroups;
- String aSpecialMimeType;
- USHORT nPriority;
- BOOL bUseUserData;
-
- SfxDocumentInfo_Impl() : nPriority( 0 ), bUseUserData( 1 ) {}
+ String aCopiesTo;
+ String aOriginal;
+ String aReferences;
+ String aRecipient;
+ String aReplyTo;
+ String aBlindCopies;
+ String aInReplyTo;
+ String aNewsgroups;
+ String aSpecialMimeType;
+ USHORT nPriority;
+ BOOL bUseUserData;
+ // --> PB 2004-08-23 #i33095#
+ sal_Bool bLoadReadonly;
+
+ SfxDocumentInfo_Impl() : nPriority( 0 ), bUseUserData( 1 ), bLoadReadonly( sal_False ) {}
};
//=========================================================================
@@ -1661,3 +1663,15 @@ void SfxDocumentInfo::DeleteUserData( BOOL bUseAuthor )
SetTime( 0L );
SetDocumentNumber( 1 );
}
+
+// --> PB 2004-08-23 #i33095#
+sal_Bool SfxDocumentInfo::IsLoadReadonly() const
+{
+ return pImp->bLoadReadonly;
+}
+void SfxDocumentInfo::SetLoadReadonly( sal_Bool _bReadonly )
+{
+ pImp->bLoadReadonly = _bReadonly;
+}
+// <--
+