diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-11-14 12:52:29 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-11-14 12:52:29 +0000 |
commit | 7c98d8665c3165656ed88bf706f6dfff8263d787 (patch) | |
tree | ae353a4d4afc7bab050bc8a35c37531cd0c85d1a /svx/source/tbxctrls | |
parent | e3964655d84678d2d68c866f57c1e99ad1b86bcb (diff) |
INTEGRATION: CWS aw024 (1.6.78); FILE MERGED
2006/11/10 03:48:02 aw 1.6.78.6: RESYNC: (1.9-1.11); FILE MERGED
2006/09/21 19:36:42 aw 1.6.78.5: RESYNC: (1.8-1.9); FILE MERGED
2005/09/18 05:15:15 aw 1.6.78.4: RESYNC: (1.7-1.8); FILE MERGED
2005/07/22 10:58:07 aw 1.6.78.3: RESYNC: (1.6-1.7); FILE MERGED
2005/05/26 11:28:09 aw 1.6.78.2: #i39531#
2005/05/19 12:31:45 aw 1.6.78.1: #i39529#
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r-- | svx/source/tbxctrls/fontworkgallery.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx index 9dd3299e3c9f..99d578b61996 100644 --- a/svx/source/tbxctrls/fontworkgallery.cxx +++ b/svx/source/tbxctrls/fontworkgallery.cxx @@ -4,9 +4,9 @@ * * $RCSfile: fontworkgallery.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: hr $ $Date: 2006-10-24 13:43:08 $ + * last change: $Author: ihi $ $Date: 2006-11-14 13:52:29 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -259,7 +259,7 @@ void FontWorkGalleryDialog::insertSelectedFontwork() SdrObject* pNewObject = pPage->GetObj(0)->Clone(); // center shape on current view - OutputDevice* pOutDev = mpSdrView->GetWin(0); + OutputDevice* pOutDev = mpSdrView->GetFirstOutputDevice(); if( pOutDev ) { Rectangle aObjRect( pNewObject->GetLogicRect() ); @@ -277,7 +277,7 @@ void FontWorkGalleryDialog::insertSelectedFontwork() aPagePos.X() -= aObjRect.GetWidth() / 2; aPagePos.Y() -= aObjRect.GetHeight() / 2; Rectangle aNewObjectRectangle(aPagePos, aObjRect.GetSize()); - SdrPageView* pPV = mpSdrView->GetPageViewPvNum(0); + SdrPageView* pPV = mpSdrView->GetSdrPageView(); pNewObject->SetLogicRect(aNewObjectRectangle); if ( mppSdrObject ) @@ -287,7 +287,7 @@ void FontWorkGalleryDialog::insertSelectedFontwork() } else if( pPV ) { - mpSdrView->InsertObject( pNewObject, *pPV ); + mpSdrView->InsertObjectAtView( pNewObject, *pPV ); // changeText( PTR_CAST( SdrTextObj, pNewObject ) ); } } |