summaryrefslogtreecommitdiff
path: root/sw/source/ui/app/appenv.cxx
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-07-19 15:59:17 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-07-19 15:59:17 +0000
commit4e696e996d8c8724b78efc4ced93327b99e126a7 (patch)
tree216b4e7b45427b99adffd942a723a2c677cb42cf /sw/source/ui/app/appenv.cxx
parent79a5d432ecb31cc4a06648986bbd10533ebe5815 (diff)
#89999# use the static methods in the new SwStyleNameMapper class for Programmatic Name <-> UI Name <-> Pool Id conversion
Diffstat (limited to 'sw/source/ui/app/appenv.cxx')
-rw-r--r--sw/source/ui/app/appenv.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/source/ui/app/appenv.cxx b/sw/source/ui/app/appenv.cxx
index a15ccf2708f7..da6bd92a39d5 100644
--- a/sw/source/ui/app/appenv.cxx
+++ b/sw/source/ui/app/appenv.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: appenv.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: os $ $Date: 2001-06-25 13:50:52 $
+ * last change: $Author: mtg $ $Date: 2001-07-19 16:48:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -146,6 +146,9 @@
#include "expfld.hxx"
#include "app.hrc"
#include "poolfmt.hrc"
+#ifndef _SWSTYLENAMEMAPPER_HXX
+#include <SwStyleNameMapper.hxx>
+#endif
#define ENV_NEWDOC RET_OK
#define ENV_INSERT RET_USER
@@ -280,7 +283,7 @@ static USHORT nTitleNo = 0;
if(pOldSh )
{
const SwPageDesc& rCurPageDesc = pOldSh->GetPageDesc(pOldSh->GetCurPageDesc());
- String sJacket; GetDocPoolNm( RES_POOLPAGE_JAKET, sJacket );
+ String sJacket; SwStyleNameMapper::GetUIName( RES_POOLPAGE_JAKET, sJacket );
bEnvChange = rCurPageDesc.GetName() == sJacket;
if(pOldSh->GetPrt(FALSE))
{