svdedxv.cxx (3d9b0034) | svdedxv.cxx (5df46f50) |
---|---|
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 --- 197 unchanged lines hidden (view full) --- 206 207 // #108784# 208 Point aPvOfs(pTextObj->GetTextEditOffset()); 209 210 aEditArea1.Move(aPvOfs.X(),aPvOfs.Y()); 211 aMinArea1.Move(aPvOfs.X(),aPvOfs.Y()); 212 Rectangle aNewArea(aMinArea1); 213 aNewArea.Union(aEditArea1); | 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 --- 197 unchanged lines hidden (view full) --- 206 207 // #108784# 208 Point aPvOfs(pTextObj->GetTextEditOffset()); 209 210 aEditArea1.Move(aPvOfs.X(),aPvOfs.Y()); 211 aMinArea1.Move(aPvOfs.X(),aPvOfs.Y()); 212 Rectangle aNewArea(aMinArea1); 213 aNewArea.Union(aEditArea1); |
214 |
|
214 if (aNewArea!=aOldArea || aEditArea1!=aTextEditArea || aMinArea1!=aMinTextEditArea || 215 pTextEditOutliner->GetMinAutoPaperSize()!=aPaperMin1 || pTextEditOutliner->GetMaxAutoPaperSize()!=aPaperMax1) { 216 aTextEditArea=aEditArea1; 217 aMinTextEditArea=aMinArea1; 218 pTextEditOutliner->SetUpdateMode(sal_False); 219 pTextEditOutliner->SetMinAutoPaperSize(aPaperMin1); 220 pTextEditOutliner->SetMaxAutoPaperSize(aPaperMax1); 221 pTextEditOutliner->SetPaperSize(Size(0,0)); // Damit der Outliner neu formatiert --- 2052 unchanged lines hidden --- | 215 if (aNewArea!=aOldArea || aEditArea1!=aTextEditArea || aMinArea1!=aMinTextEditArea || 216 pTextEditOutliner->GetMinAutoPaperSize()!=aPaperMin1 || pTextEditOutliner->GetMaxAutoPaperSize()!=aPaperMax1) { 217 aTextEditArea=aEditArea1; 218 aMinTextEditArea=aMinArea1; 219 pTextEditOutliner->SetUpdateMode(sal_False); 220 pTextEditOutliner->SetMinAutoPaperSize(aPaperMin1); 221 pTextEditOutliner->SetMaxAutoPaperSize(aPaperMax1); 222 pTextEditOutliner->SetPaperSize(Size(0,0)); // Damit der Outliner neu formatiert --- 2052 unchanged lines hidden --- |