summaryrefslogtreecommitdiff
path: root/sw/inc/SwGetPoolIdFromName.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 06:54:50 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 06:54:50 +0000
commitabe738e473faa762ffceea5812735b017aeaea82 (patch)
tree250f7a940772fd877d784129460a3beb4304daa1 /sw/inc/SwGetPoolIdFromName.hxx
parent2797f8c71b4f4a15dc04a817e74bc3c241cfea4b (diff)
INTEGRATION: CWS swwarnings (1.2.710); FILE MERGED
2007/03/12 08:33:01 ama 1.2.710.2: #i69287#: warning free code 2007/03/09 15:35:17 ama 1.2.710.1: #i69287#: warning free code
Diffstat (limited to 'sw/inc/SwGetPoolIdFromName.hxx')
-rw-r--r--sw/inc/SwGetPoolIdFromName.hxx20
1 files changed, 11 insertions, 9 deletions
diff --git a/sw/inc/SwGetPoolIdFromName.hxx b/sw/inc/SwGetPoolIdFromName.hxx
index 4852bf5e3e0f..ceeff43ca996 100644
--- a/sw/inc/SwGetPoolIdFromName.hxx
+++ b/sw/inc/SwGetPoolIdFromName.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: SwGetPoolIdFromName.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 01:29:21 $
+ * last change: $Author: hr $ $Date: 2007-09-27 07:54:50 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -38,13 +38,15 @@
/* When using the NameMapper to translate pool ids to UI or programmatic
* names, this enum is used to define which family is required */
-enum SwGetPoolIdFromName
+typedef USHORT SwGetPoolIdFromName;
+
+namespace nsSwGetPoolIdFromName
{
- GET_POOLID_TXTCOLL = 0x01,
- GET_POOLID_CHRFMT = 0x02,
- GET_POOLID_FRMFMT = 0x04,
- GET_POOLID_PAGEDESC = 0x08,
- GET_POOLID_NUMRULE = 0x10
-};
+ const SwGetPoolIdFromName GET_POOLID_TXTCOLL = 0x01;
+ const SwGetPoolIdFromName GET_POOLID_CHRFMT = 0x02;
+ const SwGetPoolIdFromName GET_POOLID_FRMFMT = 0x04;
+ const SwGetPoolIdFromName GET_POOLID_PAGEDESC = 0x08;
+ const SwGetPoolIdFromName GET_POOLID_NUMRULE = 0x10;
+}
#endif