summaryrefslogtreecommitdiff
path: root/sfx2/source/inc/openflag.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/inc/openflag.hxx')
-rw-r--r--sfx2/source/inc/openflag.hxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/sfx2/source/inc/openflag.hxx b/sfx2/source/inc/openflag.hxx
index 5b719095eae8..7d9d881dc709 100644
--- a/sfx2/source/inc/openflag.hxx
+++ b/sfx2/source/inc/openflag.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -27,15 +28,16 @@
#ifndef _SFX_OPENFLAG_HXX
#define _SFX_OPENFLAG_HXX
-// Datei zum Bearbeiten "offnen, anschliessend funktioniert nur noch
-// die dritte Variante (Lesen einer Kopie)
+// Open file for editing, then only the third option (reading a copy) works
#define SFX_STREAM_READWRITE (STREAM_READWRITE | STREAM_SHARE_DENYWRITE)
-// Ich arbeite roh auf dem Original, keine Kopie
-// -> Datei kann anschliessend nicht zum Bearbeiten ge"offnet werden
+// I work on the original, not a copy
+// -> file then can not be opened for editing
#define SFX_STREAM_READONLY (STREAM_READ | STREAM_SHARE_DENYWRITE) // + !bDirect
-// Jemand anders bearbeitet das File, es wird eine Kopie erstellt
-// -> Datei kann anschliessend zum Bearbeiten ge"offnet werden
+// Someone else is editing the file, a copy it created
+// -> the file can then be opened for editing
#define SFX_STREAM_READONLY_MAKECOPY (STREAM_READ | STREAM_SHARE_DENYNONE)
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */