summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorPeter Burow <pb@openoffice.org>2001-09-05 11:10:30 +0000
committerPeter Burow <pb@openoffice.org>2001-09-05 11:10:30 +0000
commit44515a292b358bd777509a18341843bfdcd59bad (patch)
treed7b8c7ef265cfa86a03f5f27a6c808c81cc8f619 /sfx2
parent31b05da4038b7c086bcf97177a7250cd96df626f (diff)
fix: #91841# never load template dir list from property
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/doctemplates.cxx14
1 files changed, 2 insertions, 12 deletions
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index ae265a78cdd9..765389bd3ca5 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: doctemplates.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: dv $ $Date: 2001-06-11 10:42:06 $
+ * last change: $Author: pb $ $Date: 2001-09-05 12:10:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -533,19 +533,9 @@ OUString SfxDocTplService_Impl::getLongName( const OUString& rShortName )
void SfxDocTplService_Impl::getDirList()
{
OUString aPropName( RTL_CONSTASCII_USTRINGPARAM( PROPERTY_DIRLIST ) );
- sal_Bool bHasProperty = sal_False;
Any aValue;
// Get the template dir list
- bHasProperty = getProperty( maRootContent, aPropName, aValue );
-
- if ( bHasProperty )
- {
- aValue >>= maTemplateDirs;
- if ( maTemplateDirs.getLength() )
- return;
- }
-
INetURLObject aURL;
String aDirs = SvtPathOptions().GetTemplatePath();
USHORT nCount = aDirs.GetTokenCount( C_DELIM );