summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2000-11-08 10:20:51 +0000
committerOliver Specht <os@openoffice.org>2000-11-08 10:20:51 +0000
commit7d8d135bc4543397ed642bdbfaf41bcd4ae3c487 (patch)
tree080da83bd09199ccdd05e41a8cbb528a56723aec
parent1536920fc7dc3d32ca5b40bf3be0b2ed7f85ee2a (diff)
GetPoolId now static
-rw-r--r--sw/inc/doc.hxx6
-rw-r--r--sw/source/core/doc/poolfmt.cxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 97ac0809f9a4..ca1799d3f748 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: doc.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: tl $ $Date: 2000-10-27 11:44:54 $
+ * last change: $Author: os $ $Date: 2000-11-08 11:19:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1108,7 +1108,7 @@ public:
// ist der Name ein Pool-Vorlagen-Name, returne seine ID,
// sonst USHRT_MAX
- sal_uInt16 GetPoolId( const String& rName, SwGetPoolIdFromName ) const;
+ static sal_uInt16 GetPoolId( const String& rName, SwGetPoolIdFromName );
const SvStringsDtor& GetTextNmArray() const
{ return pTextNmArray ? *pTextNmArray : *NewTextNmArray(); }
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index 57048ed159e2..aa2200217569 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: poolfmt.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: jp $ $Date: 2000-10-23 11:57:39 $
+ * last change: $Author: os $ $Date: 2000-11-08 11:20:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2461,7 +2461,7 @@ USHORT lcl_ChkNm( USHORT nStt, USHORT nEnd, USHORT nResStt,
USHORT SwDoc::GetPoolId( const String& rName,
- SwGetPoolIdFromName eFlags ) const
+ SwGetPoolIdFromName eFlags )
{
USHORT nId;
if( GET_POOLID_TXTCOLL & eFlags )