summaryrefslogtreecommitdiffstats
path: root/sw/inc/section.hxx
diff options
context:
space:
mode:
authorRobert Roth <robert.roth.off@gmail.com>2010-11-15 11:59:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-15 11:59:57 +0000
commitd67e79934fa19cd667c2455e5e95dd48df511179 (patch)
treefad02748be4007f72432d57a8a40e2ae9f64d49c /sw/inc/section.hxx
parentMisuse of RTL_CONSTASCII_STRINGPARAM instead of RTL_CONSTASCII_USTRINGPARAM (diff)
downloadcore-d67e79934fa19cd667c2455e5e95dd48df511179.tar.gz
core-d67e79934fa19cd667c2455e5e95dd48df511179.zip
Comment translations, bogus comments, commented code removed from SW includes
Diffstat (limited to 'sw/inc/section.hxx')
-rw-r--r--sw/inc/section.hxx21
1 files changed, 4 insertions, 17 deletions
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx
index 23c4ed535e75..e62735c0a2c3 100644
--- a/sw/inc/section.hxx
+++ b/sw/inc/section.hxx
@@ -65,12 +65,6 @@ enum SectionType { CONTENT_SECTION,
TOX_CONTENT_SECTION,
DDE_LINK_SECTION = OBJECT_CLIENT_DDE,
FILE_LINK_SECTION = OBJECT_CLIENT_FILE
-/*
-// verbleiben noch:
- OBJECT_CLIENT_SO = 0x80,
- OBJECT_CLIENT_OLE = 0x82,
- OBJECT_CLIENT_OLE_CACHE = 0x83,
-*/
};
enum LinkCreateType
@@ -88,7 +82,7 @@ private:
String m_sSectionName;
String m_sCondition;
String m_sLinkFileName;
- String m_sLinkFilePassword; // JP 27.02.2001: must be changed to Sequence
+ String m_sLinkFilePassword; // must be changed to Sequence
::com::sun::star::uno::Sequence <sal_Int8> m_Password;
/// it seems this flag caches the current final "hidden" state
@@ -98,9 +92,9 @@ private:
/// format attr has value for this section, while flag is
/// effectively ORed with parent sections!
bool m_bProtectFlag : 1;
- // --> FME 2004-06-22 #114856# edit in readonly sections
+ // edit in readonly sections
bool m_bEditInReadonlyFlag : 1;
- // <--
+
bool m_bHidden : 1; // all paragraphs hidden?
bool m_bCondHiddenFlag : 1; // Hiddenflag for condition
bool m_bConnectFlag : 1; // connected to server?
@@ -127,11 +121,9 @@ public:
bool IsProtectFlag() const { return m_bProtectFlag; }
SW_DLLPRIVATE void
SetProtectFlag(bool const bFlag) { m_bProtectFlag = bFlag; }
- // --> FME 2004-06-22 #114856# edit in readonly sections
bool IsEditInReadonlyFlag() const { return m_bEditInReadonlyFlag; }
void SetEditInReadonlyFlag(bool const bFlag)
{ m_bEditInReadonlyFlag = bFlag; }
- // <--
void SetCondHidden(bool const bFlag = true) { m_bCondHiddenFlag = bFlag; };
bool IsCondHidden() const { return m_bCondHiddenFlag; }
@@ -205,18 +197,14 @@ public:
void SetHidden (bool const bFlag = true);
bool IsProtect() const;
void SetProtect(bool const bFlag = true);
- // --> FME 2004-06-22 #114856# edit in readonly sections
bool IsEditInReadonly() const;
void SetEditInReadonly(bool const bFlag = true);
- // <--
// erfrage die internen Flags (Zustand inklusive Parents nicht, was
// aktuell an der Section gesetzt ist!!)
bool IsHiddenFlag() const { return m_Data.IsHiddenFlag(); }
bool IsProtectFlag() const { return m_Data.IsProtectFlag(); }
- // --> FME 2004-06-22 #114856# edit in readonly sections
bool IsEditInReadonlyFlag() const { return m_Data.IsEditInReadonlyFlag(); }
- // <--
void SetCondHidden(bool const bFlag = true);
bool IsCondHidden() const { return m_Data.IsCondHidden(); }
@@ -275,9 +263,8 @@ public:
// return the TOX base class if the section is a TOX section
const SwTOXBase* GetTOXBase() const;
- // --> OD 2007-02-14 #b6521322#
+ // #b6521322#
void BreakLink();
- // <--
};