summaryrefslogtreecommitdiff
path: root/sw/inc/swtable.hxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-08-17 12:59:29 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-08-17 12:59:29 +0000
commit2c78ac557df8a5473154b162a92c49ca95f1e14d (patch)
tree4eb24cf64cbb99bc9812b5cfb1145e4217debf1c /sw/inc/swtable.hxx
parenta7f1fa373f4bf7e5a013dbef36137ece6c5ee0a7 (diff)
INTEGRATION: CWS swqbf104 (1.21.24); FILE MERGED
2007/08/03 13:02:44 od 1.21.24.1: #i80314# methods <SwTable::GetTblBox(..) and <SwTable::_GetBoxNum(..)> - introduce possibility to control validation check on input string
Diffstat (limited to 'sw/inc/swtable.hxx')
-rw-r--r--sw/inc/swtable.hxx18
1 files changed, 14 insertions, 4 deletions
diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx
index 51f0a2850538..95250891e205 100644
--- a/sw/inc/swtable.hxx
+++ b/sw/inc/swtable.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: swtable.hxx,v $
*
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
- * last change: $Author: obo $ $Date: 2007-07-18 14:45:01 $
+ * last change: $Author: ihi $ $Date: 2007-08-17 13:59:29 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -255,9 +255,19 @@ public:
// lese die 1. Nummer und loesche sie aus dem String
// (wird von GetTblBox und SwTblFld benutzt)
- static USHORT _GetBoxNum( String& rStr, BOOL bFirst = FALSE );
+ // --> OD 2007-08-03 #i80314#
+ // add 3rd parameter in order to control validation check on <rStr>
+ static USHORT _GetBoxNum( String& rStr,
+ BOOL bFirst = FALSE,
+ const bool bPerformValidCheck = false );
+ // <--
// suche die Inhaltstragende Box mit dem Namen
- const SwTableBox* GetTblBox( const String& rName ) const;
+ // --> OD 2007-08-03 #i80314#
+ // add 2nd parameter in order to control validation check in called method
+ // <_GetBoxNum(..)>
+ const SwTableBox* GetTblBox( const String& rName,
+ const bool bPerformValidCheck = false ) const;
+ // <--
// kopiere die selektierten Boxen in ein anderes Dokument.
BOOL MakeCopy( SwDoc*, const SwPosition&, const SwSelBoxes&,
BOOL bCpyNds = TRUE, BOOL bCpyName = FALSE ) const;