summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh2.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2006-05-04 14:03:15 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2006-05-04 14:03:15 +0000
commitbcab0a1d1295811c12c2bf90dfb7fd552166c38b (patch)
tree9c30616689b1616c3c9fab1d8919ad3a43525bc1 /sc/source/ui/docshell/docsh2.cxx
parent66f8b4e9a573ed0bd9702990568040d6f9abf058 (diff)
INTEGRATION: CWS perform07 (1.17.52); FILE MERGED
2005/11/08 16:09:52 mt 1.17.52.1: #i57182# No printer in startup...
Diffstat (limited to 'sc/source/ui/docshell/docsh2.cxx')
-rw-r--r--sc/source/ui/docshell/docsh2.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx
index 7d1b27ee5c42..69578651eab5 100644
--- a/sc/source/ui/docshell/docsh2.cxx
+++ b/sc/source/ui/docshell/docsh2.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: docsh2.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 20:45:55 $
+ * last change: $Author: rt $ $Date: 2006-05-04 15:03:15 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -131,13 +131,14 @@ void ScDocShell::InitItems()
{
// AllItemSet fuer Controller mit benoetigten Items fuellen:
- if ( pFontList )
- delete pFontList;
+ // if ( pFontList )
+ // delete pFontList;
// Druck-Optionen werden beim Drucken und evtl. in GetPrinter gesetzt
- pFontList = new FontList( GetPrinter(), Application::GetDefaultDevice() );
- PutItem( SvxFontListItem( pFontList, SID_ATTR_CHAR_FONTLIST ) );
+ // pFontList = new FontList( GetPrinter(), Application::GetDefaultDevice() );
+ //PutItem( SvxFontListItem( pFontList, SID_ATTR_CHAR_FONTLIST ) );
+ UpdateFontList();
ScDrawLayer* pDrawLayer = aDocument.GetDrawLayer();
if (pDrawLayer)