tphfedit.cxx (4d7c9de0) | tphfedit.cxx (c2eaa082) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 448 unchanged lines hidden (view full) --- 457// ----------------------------------------------------------------------- 458 459EditTextObject* __EXPORT ScEditWindow::CreateTextObject() 460{ 461 // wegen #38841# die Absatzattribute zuruecksetzen 462 // (GetAttribs beim Format-Dialog-Aufruf gibt immer gesetzte Items zurueck) 463 464 const SfxItemSet& rEmpty = pEdEngine->GetEmptyItemSet(); | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 448 unchanged lines hidden (view full) --- 457// ----------------------------------------------------------------------- 458 459EditTextObject* __EXPORT ScEditWindow::CreateTextObject() 460{ 461 // wegen #38841# die Absatzattribute zuruecksetzen 462 // (GetAttribs beim Format-Dialog-Aufruf gibt immer gesetzte Items zurueck) 463 464 const SfxItemSet& rEmpty = pEdEngine->GetEmptyItemSet(); |
465 sal_uInt16 nParCnt = pEdEngine->GetParagraphCount(); 466 for (sal_uInt16 i=0; i<nParCnt; i++) | 465 sal_uInt32 nParCnt = pEdEngine->GetParagraphCount(); 466 for (sal_uInt32 i=0; i<nParCnt; i++) |
467 pEdEngine->SetParaAttribs( i, rEmpty ); 468 469 return pEdEngine->CreateTextObject(); 470} 471 472// ----------------------------------------------------------------------- 473 474void ScEditWindow::SetFont( const ScPatternAttr& rPattern ) --- 405 unchanged lines hidden --- | 467 pEdEngine->SetParaAttribs( i, rEmpty ); 468 469 return pEdEngine->CreateTextObject(); 470} 471 472// ----------------------------------------------------------------------- 473 474void ScEditWindow::SetFont( const ScPatternAttr& rPattern ) --- 405 unchanged lines hidden --- |