From 7bf1d06345f2bfa0c0b2b151fa8b2ffead092cfc Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Wed, 12 Mar 2008 10:39:43 +0000 Subject: INTEGRATION: CWS impresstables2 (1.14.44); FILE MERGED 2007/07/26 18:07:11 cl 1.14.44.1: #i68103# added cell styles --- sd/source/ui/func/fuprlout.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sd/source/ui/func/fuprlout.cxx') diff --git a/sd/source/ui/func/fuprlout.cxx b/sd/source/ui/func/fuprlout.cxx index d5366829f402..1c7190494591 100644 --- a/sd/source/ui/func/fuprlout.cxx +++ b/sd/source/ui/func/fuprlout.cxx @@ -4,9 +4,9 @@ * * $RCSfile: fuprlout.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: kz $ $Date: 2006-12-12 17:22:03 $ + * last change: $Author: rt $ $Date: 2008-03-12 11:39:43 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -302,15 +302,15 @@ void FuPresentationLayout::TransferLayoutTemplate(String aFromName, SfxStyleSheetBasePool* pFrom, SfxStyleSheetBasePool* pTo) { - SfxStyleSheetBase* pHis = pFrom->Find(aFromName,SD_LT_FAMILY); - SfxStyleSheetBase* pMy = pTo->Find(aToName, SD_LT_FAMILY); + SfxStyleSheetBase* pHis = pFrom->Find(aFromName,SD_STYLE_FAMILY_MASTERPAGE); + SfxStyleSheetBase* pMy = pTo->Find(aToName, SD_STYLE_FAMILY_MASTERPAGE); DBG_ASSERT(pHis, "neue Layoutvorlage nicht gefunden"); // gibt's noch nicht: neu anlegen if (!pMy) { - pMy = &(pTo->Make(aToName, SD_LT_FAMILY)); + pMy = &(pTo->Make(aToName, SD_STYLE_FAMILY_MASTERPAGE)); } // Inhalte neu setzen -- cgit