XMLTableShapeResizer.cxx (b3f79822) | XMLTableShapeResizer.cxx (870c3792) |
---|---|
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 --- 82 unchanged lines hidden (view full) --- 91 auto_ptr< vector<ScSharedTokenRef> > pRefTokens(new vector<ScSharedTokenRef>); 92 ScRefTokenHelper::compileRangeRepresentation(*pRefTokens, aRangeStr, pDoc); 93 if (!pRefTokens->empty()) 94 { 95 ScChartListener* pCL(new ScChartListener(rName, pDoc, pRefTokens.release())); 96 97 //for loading binary files e.g. 98 //if we have the flat filter we need to set the dirty flag thus the visible charts get repainted | 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 --- 82 unchanged lines hidden (view full) --- 91 auto_ptr< vector<ScSharedTokenRef> > pRefTokens(new vector<ScSharedTokenRef>); 92 ScRefTokenHelper::compileRangeRepresentation(*pRefTokens, aRangeStr, pDoc); 93 if (!pRefTokens->empty()) 94 { 95 ScChartListener* pCL(new ScChartListener(rName, pDoc, pRefTokens.release())); 96 97 //for loading binary files e.g. 98 //if we have the flat filter we need to set the dirty flag thus the visible charts get repainted |
99 //otherwise the charts keep their first visual representation which was created at a moment where the calc itself was not loaded completly and is incorect therefor | 99 //otherwise the charts keep their first visual representation which was created at a moment where the calc itself was not loaded completely and is incorrect therefor |
100 if( (rImport.getImportFlags() & IMPORT_ALL) == IMPORT_ALL ) 101 pCL->SetDirty( sal_True ); 102 else 103 { 104 // #i104899# If a formula cell is already dirty, further changes aren't propagated. 105 // This can happen easily now that row heights aren't updated for all sheets. 106 pDoc->InterpretDirtyCells( *pCL->GetRangeList() ); 107 } --- 274 unchanged lines hidden --- | 100 if( (rImport.getImportFlags() & IMPORT_ALL) == IMPORT_ALL ) 101 pCL->SetDirty( sal_True ); 102 else 103 { 104 // #i104899# If a formula cell is already dirty, further changes aren't propagated. 105 // This can happen easily now that row heights aren't updated for all sheets. 106 pDoc->InterpretDirtyCells( *pCL->GetRangeList() ); 107 } --- 274 unchanged lines hidden --- |