summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-09-15 10:11:31 +0000
committerOliver Bolte <obo@openoffice.org>2006-09-15 10:11:31 +0000
commit83e7489b6176c1c888e689a8a67f88f7d724685a (patch)
tree028ba8996bc1d13127bf6235f8c907f7cb388b35
parent43267cda58b464e9aceb485359f972ac7dcf112d (diff)
INTEGRATION: CWS adc15 (1.3.34); FILE MERGED
2006/09/12 17:20:06 np 1.3.34.1: #i69082# fix problem with lost text in @see tags
-rw-r--r--autodoc/source/ary_i/kernel/d_token.cxx27
1 files changed, 25 insertions, 2 deletions
diff --git a/autodoc/source/ary_i/kernel/d_token.cxx b/autodoc/source/ary_i/kernel/d_token.cxx
index 4f27198c0d42..70cdd5f2e258 100644
--- a/autodoc/source/ary_i/kernel/d_token.cxx
+++ b/autodoc/source/ary_i/kernel/d_token.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: d_token.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 17:23:16 $
+ * last change: $Author: obo $ $Date: 2006-09-15 11:11:31 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -49,6 +49,11 @@ namespace csi
namespace dsapi
{
+bool
+DT_Dsapi::IsWhiteOnly() const
+{
+ return false;
+}
void
@@ -57,6 +62,18 @@ DT_TextToken::DisplayAt( DocumentationDisplay & o_rDisplay ) const
o_rDisplay.Display_TextToken( *this );
}
+bool
+DT_TextToken::IsWhiteOnly() const
+{
+ for ( const char * it = sText.c_str();
+ static_cast<UINT8>(*it) > 32;
+ ++it )
+ {
+ return false;
+ }
+ return true;
+}
+
void
DT_MupType::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{
@@ -87,6 +104,12 @@ DT_EOL::DisplayAt( DocumentationDisplay & o_rDisplay ) const
o_rDisplay.Display_EOL();
}
+bool
+DT_EOL::IsWhiteOnly() const
+{
+ return true;
+}
+
void
DT_StdAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{