summaryrefslogtreecommitdiff
path: root/sc/inc/table.hxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2001-02-22 17:13:02 +0000
committerSascha Ballach <sab@openoffice.org>2001-02-22 17:13:02 +0000
commit67187545af35815a1b05c1fe9c35a85a8824d9c7 (patch)
treed0413267eddd88e688e0eb315b18e6260c1e0398 /sc/inc/table.hxx
parenta96efdab39ff7c163903665d8fc090b1b9f516d2 (diff)
new password added; password is only stored as hash value
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r--sc/inc/table.hxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 6ce9b0b83..2d96fad0b 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: table.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: er $ $Date: 2001-02-13 18:51:12 $
+ * last change: $Author: sab $ $Date: 2001-02-22 18:04:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -68,6 +68,9 @@
#ifndef _COLOR_HXX //autogen
#include <vcl/color.hxx>
#endif
+#ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
+#include <com/sun/star/uno/Sequence.hxx>
+#endif
#ifndef SC_COLUMN_HXX
#include "column.hxx"
@@ -132,7 +135,7 @@ private:
USHORT nRepeatEndY;
BOOL bProtected;
- String aProtectPass;
+ com::sun::star::uno::Sequence<sal_uInt8> aProtectPass;
USHORT* pColWidth;
USHORT* pRowHeight;
@@ -236,8 +239,8 @@ public:
void PageStyleModified( const String& rNewName );
BOOL IsProtected() const { return bProtected; }
- const String& GetPassword() const { return aProtectPass; }
- void SetProtection( BOOL bProtect, const String& rPasswd )
+ const com::sun::star::uno::Sequence<sal_uInt8>& GetPassword() const { return aProtectPass; }
+ void SetProtection( BOOL bProtect, const com::sun::star::uno::Sequence<sal_uInt8>& rPasswd )
{ bProtected = bProtect; aProtectPass = rPasswd; }
Size GetPageSize() const;