summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appdata.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-12-17 13:20:42 +0000
committerMathias Bauer <mba@openoffice.org>2001-12-17 13:20:42 +0000
commite53849b2453a7d34a78d7144a9917811a8f9fb6f (patch)
tree844a1bc36c7cb90a93f17ed8d0e93c8fdf851fa8 /sfx2/source/appl/appdata.cxx
parent49044581e56b0381e41277e54cdea3e6c92247ae (diff)
#95752#: update SfxDocumentTemplates from component
Diffstat (limited to 'sfx2/source/appl/appdata.cxx')
-rw-r--r--sfx2/source/appl/appdata.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sfx2/source/appl/appdata.cxx b/sfx2/source/appl/appdata.cxx
index 1f425993a35a..5b9595d37df7 100644
--- a/sfx2/source/appl/appdata.cxx
+++ b/sfx2/source/appl/appdata.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: appdata.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: mba $ $Date: 2001-11-15 15:03:07 $
+ * last change: $Author: mba $ $Date: 2001-12-17 14:19:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -200,10 +200,9 @@ void SfxAppData_Impl::UpdateApplicationSettings( sal_Bool bDontHide )
SfxDocumentTemplates* SfxAppData_Impl::GetDocumentTemplates()
{
if ( !pTemplates )
- {
pTemplates = new SfxDocumentTemplates;
- }
-
+ else
+ pTemplates->ReInitFromComponent();
return pTemplates;
}