summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edattr.cxx
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2001-01-18 14:52:20 +0000
committerjp <jp@openoffice.org>2001-01-18 14:52:20 +0000
commit2b2d30b3352e5867222227250ae959a17637fc40 (patch)
tree17fcbbd87c321e8837ea9352c96469faa2246dfe /sw/source/core/edit/edattr.cxx
parenta0c8015b88b16a4192000bd841eeff594dae9c65 (diff)
GetScriptType: return always an valid scripttype
Diffstat (limited to 'sw/source/core/edit/edattr.cxx')
-rw-r--r--sw/source/core/edit/edattr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx
index 38e0351befbf..31e8d9e40e68 100644
--- a/sw/source/core/edit/edattr.cxx
+++ b/sw/source/core/edit/edattr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: edattr.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: jp $ $Date: 2000-12-13 14:33:04 $
+ * last change: $Author: jp $ $Date: 2001-01-18 15:52:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -474,7 +474,7 @@ inline USHORT lcl_SetScriptFlags( USHORT nType )
// returns the scripttpye of the selection
USHORT SwEditShell::GetScriptType() const
{
- USHORT nRet = 0;
+ USHORT nRet = SCRIPTTYPE_LATIN; // which is the correct init value???
if( pBreakIt->xBreak.is() )
{
FOREACHPAM_START(this)