summaryrefslogtreecommitdiff
path: root/sc/inc/scextopt.hxx
diff options
context:
space:
mode:
authorJohn Marmion <jmarmion@openoffice.org>2002-12-10 13:07:24 +0000
committerJohn Marmion <jmarmion@openoffice.org>2002-12-10 13:07:24 +0000
commit4e1a6668ea36e4d1114385f75732e1629d5662d5 (patch)
tree846861ea20fed037c5f942db4f35cad4dee2638e /sc/inc/scextopt.hxx
parent667506d32f3e2087674b7367f77545083f198c03 (diff)
#i9835# preserve excel window protected state
Diffstat (limited to 'sc/inc/scextopt.hxx')
-rw-r--r--sc/inc/scextopt.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/inc/scextopt.hxx b/sc/inc/scextopt.hxx
index 39d041972abe..fcf708b02a5e 100644
--- a/sc/inc/scextopt.hxx
+++ b/sc/inc/scextopt.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: scextopt.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: dr $ $Date: 2001-06-08 14:51:06 $
+ * last change: $Author: jmarmion $ $Date: 2002-12-10 14:04:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -148,6 +148,7 @@ private:
CodenameList* pCodenames;
BOOL bChanged; // for import: copy data only first time to doc
+ bool bWinProtection; // Excel Workbook Windows protection flag
public:
UINT32 nLinkCnt; // Zaehlt die Rekursionstufe beim Laden
@@ -188,6 +189,8 @@ public:
void SetCodename( const String& ); // -> Workbook globals
void AddCodename( const String& ); // -> tables
+ inline void SetWinProtection(bool bImportWinProtection) {bWinProtection = bImportWinProtection; }
+ inline bool IsWinProtected() { return bWinProtection; }
};