summaryrefslogtreecommitdiff
path: root/sc/inc/token.hxx
AgeCommit message (Collapse)Author
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: Ieeca9fe957e7bc6a4cf9d7d6ac57f9ed150aab78
2014-12-22Blind fix for MSVC buildStephan Bergmann
Change-Id: Ib5ed5a6bd598df660c3b865782e6a639e2c657ee
2014-12-22remove scmatrix.hxx include from a header fileMarkus Mohrhard
Change-Id: I153abe3a9c7ff784da16785fd9da8045c3581d8a
2014-10-31converity#1249470 Uninitialized scalar fieldEike Rathke
comment it's unnecessary Change-Id: Iebf2d1dbed1f9c1e2e09144f47e73d9628355f2e
2014-10-23Duplication of formula/token.hxx codeStephan Bergmann
...now that ScToken has dissolved into FormulaToken Change-Id: Idd28842125698fde62df7f70079f73105b918bc0
2014-10-23Remove ScToken from the formula::FormulaToken hierarchyStephan Bergmann
...to keep UBSan from complaining about illegal downcasts from FormulaToken to ScToken (which were practically harmless, given that ScToken did not add any data members). Change-Id: I8fdc026eec363442cc4b720b71d65c972b4a4446
2014-10-23Turn ScToken::checkTextEqual into a free functionStephan Bergmann
Change-Id: I03daf7bb68ed33d9610b7ef19d3bd6c18dc8170f
2014-10-23Move virtual ScToken members up to FormulaTokenStephan Bergmann
Change-Id: I20eb3b44d540f459cd1902a7a3b6a5c867e5bc07
2014-10-23Make ScToken::GetSingleRef etc. return * instead of &Stephan Bergmann
...so that default implementations can return nullptr without further ado Change-Id: Idc8778fe868efa00b1de597a54aa07a2e6fa3bc0
2014-10-23Turn virtual ScToken::Dump into a single free function DumpTokenStephan Bergmann
Change-Id: I2c81f24a27ede9922ed8ff16cf0ea4af824e9e59
2014-10-23loplugin:saloverrideStephan Bergmann
Change-Id: I94f330d31f142bbeea2274597c855481cb311e0c
2014-10-23Turn static ScToken::ExtendRangeReference into free functionStephan Bergmann
...and rename to extendRangeReference to avoid confusion with formula::FormulaCompiler::ExtendRangeReference. Change-Id: Ifcad309c14e04a0e37c80ca44462da587387241d
2014-10-23Move FormulaToken::TextEqual overrides down into specific subclassesStephan Bergmann
Change-Id: I5f27054ef2f9fdc4d0be0afe91ad31d053976bcf
2014-10-22Remove unused FormulaToken::Is3DRefStephan Bergmann
Change-Id: Ib720bc4b3bfff8e428d14d65ff73144db82c60e0
2014-06-25remove whitespaceMarkus Mohrhard
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
2014-05-11fix-includes.pl: scThomas Arnhold
Change-Id: Iade3fedac5d2f8e978b7dd9c30f001d7d1564946
2014-05-06Let's make this non-inline...Kohei Yoshida
Change-Id: Ib427cea392c953e6bce121bfe82e9215eb1bb99a
2014-04-19fixincludeguards.sh: scThomas Arnhold
sorry, huge one...
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-02-13Drop unnecessary #includeTakeshi Abe
Change-Id: I9bc9c21811100d6cc1ee7e381a3735567e3bda34
2013-10-11Formula tokens, formula cells and formula interpreters to use shared strings.Kohei Yoshida
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
2013-09-07iString to OUString in some calc core codeMarkus Mohrhard
Change-Id: I25fc70cfd01f5ad25f7362157796d3ddf06139e1
2013-09-06Wrong place to apply implicit intersection. Do it at the very last.Kohei Yoshida
Change-Id: I4b1e9d136d45f169ad1c1efee2275bab7dfe0f49
2013-09-06Correctly handle implicit intersection in group interpretation.Kohei Yoshida
Change-Id: I2ea6f41ad4036a6f3f5d99097e83fd988aacd105
2013-07-24Remove CalcAbsIfRel() virtual method from ScToken and all its children.Kohei Yoshida
Change-Id: I8d9c869161356a7adad9c57d34b001ebcf8992ce
2013-07-24Add dumping capability for ScTokenArray (for debugging).Kohei Yoshida
Change-Id: Ib3f6a87936a6c00b503f5d72b16b3e4712d7d762
2013-07-24Remove CalcRelFromAbs() virtual method from ScToken and all its child classes.Kohei Yoshida
Change-Id: I5def382f6495f332a0309795cbce8ebbd60ff471
2013-07-02Put the matrix header back in for Windows build...Kohei Yoshida
Change-Id: I676b3d9b702af51bf00dff9ef55d16e7fbdec65e
2013-07-01Reduce dependency on the matrix header.Kohei Yoshida
Change-Id: Iade09d108aec78f8cbe92f9103f206d0c99fab8e
2013-06-23we don't need this hack without inherited number formats, fdo#66076Markus Mohrhard
Change-Id: If315ce28a4182019002141c7330475e0843f9a40
2013-04-30Handle invariant group with single references.Kohei Yoshida
Change-Id: Ifbbac2b11b1023a5cf3d21204c12b9740af09aaf
2013-01-24import inherited number formats with cached values, fdo#59724Markus Mohrhard
Change-Id: I698f60daf4e591b57d8d99c130d2e524dc10c306
2013-01-09fdo#58539: Correctly set cached matrix formula result.Kohei Yoshida
During the import, a cached matrix value only has an empty matrix of correct geometry, plus the token type of the top-left cell. The rest of the elements are imported as hybrid values. For now, this seems to do the trick. In the future we may want to change it to fully populate the matrix cache value during the import, and skip setting the hybrid values for the non-top-left elements. This commit also make several other trivial changes: * Mark pRawToken mutable so that we can mark those IsFoo() methods const. * Move the ScCompiler instance from static instance to member of ScXMLImport. Since we don't need the instance to persist once the import is over, this is more appropriate. Change-Id: I1abde03c0fcd91b02ef4dbf8b5526f7965eaf19c
2012-12-04re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Herbert Duerr i#118735 prevent endless loop if vlookup/hlookup doesn't find anything http://svn.apache.org/viewvc?view=revision&revision=1239673 Patches contributed by Andre Fischer remove lp_solver http://svn.apache.org/viewvc?view=revision&revision=1199180 i#118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Armin Le-Grand i#118485 - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 i#118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 Patches contributed by lihuiibm i#108860 - Fix range validation. http://svn.apache.org/viewvc?view=revision&revision=1242846 i#118954 Chart data will lost after copy to different file http://svn.apache.org/viewvc?view=revision&revision=1301345 Patches contributed by Ariel Constenla-Haile Fix Linux build breaker: extra qualification on member http://svn.apache.org/viewvc?view=revision&revision=1301591 i#118696 - i#118697 - Fix some Sheet Tab Color API issues http://svn.apache.org/viewvc?view=revision&revision=1225428 i#118697 - Fix uninitialized variable http://svn.apache.org/viewvc?view=revision&revision=1225859 i#118771 - ScUndoImportTab should preserve tab background color http://svn.apache.org/viewvc?view=revision&revision=1230356 i#118921 - Repaint linked sheet tab background color after updating link http://svn.apache.org/viewvc?view=revision&revision=1245177 i#118927 - Undo/Redo "Update Link" does not reset sheet tab color http://svn.apache.org/viewvc?view=revision&revision=1245241 i#118747 - Copy tab color when transferring sheets across documents http://svn.apache.org/viewvc?view=revision&revision=1230355 Patch contributed by Oliver Rainer-Wittman i#118012 - methods <ScBroadcastAreaSlot::AreaBroadcast(..)> and <ScBroadcastAreaSlot::AreaBroadcastInRange(..)> adapt stl-container iteration in order to avoid destroyed iterators during iteration. http://svn.apache.org/viewvc?view=revision&revision=1297916 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 Patch contributed by Daniel Rentz calc69: #i116936# fix VBA symbol Cells http://svn.apache.org/viewvc?view=revision&revision=1172135 Patches contributed by leiw: i#118546 CPU 100% on switched off AutoCalculate with Conditional Formatting on date values http://svn.apache.org/viewvc?view=revision&revision=1301380 Re-add new function documentation. Many various cleanups. Add missing calc66: #o11817313# also look at formula result number format, remove redundant binaries.
2011-12-20another "ScToken::GetDoubleRef: virtual dummy called"Eike Rathke
When checking for svSingleRef or svDoubleRef, also check for svExternalSingleRef or svExternalDoubleRef. Otherwise the dummy reference is treated.
2011-08-24replace ScNameToken with proper FormulaIndexTokenEike Rathke
2011-08-16update range names/database ranges in formulas cellsMarkus Mohrhard
we need to update range names/database ranges when we copy/paste formula cells otherwise the ScNameToken may point to a different entry
2011-08-14sal_Bool -> bool and cosmeticsEike Rathke
2011-07-19fix for fdo#39333: database ranges don't work in formulasMarkus Mohrhard
2011-03-18Merge remote-tracking branch 'origin/integration/dev300_m101'Jan Holesovsky
Conflicts: chart2/source/controller/main/UndoManager.cxx chart2/source/tools/RegressionCurveHelper.cxx sc/inc/address.hxx sc/inc/attrib.hxx sc/inc/bigrange.hxx sc/inc/callform.hxx sc/inc/cell.hxx sc/inc/chartarr.hxx sc/inc/chartlis.hxx sc/inc/chgtrack.hxx sc/inc/collect.hxx sc/inc/compiler.hxx sc/inc/detdata.hxx sc/inc/document.hxx sc/inc/fillinfo.hxx sc/inc/olinetab.hxx sc/inc/prnsave.hxx sc/inc/queryparam.hxx sc/inc/sc.hrc sc/inc/scabstdlg.hxx sc/inc/table.hxx sc/inc/validat.hxx sc/inc/zforauto.hxx sc/source/core/data/documen2.cxx sc/source/core/data/document.cxx sc/source/core/data/table1.cxx sc/source/core/tool/address.cxx sc/source/core/tool/token.cxx sc/source/filter/excel/frmbase.cxx sc/source/filter/excel/impop.cxx sc/source/filter/excel/xename.cxx sc/source/filter/inc/formel.hxx sc/source/filter/inc/xename.hxx sc/source/filter/xml/xmlexprt.cxx sc/source/filter/xml/xmlnexpi.cxx sc/source/filter/xml/xmlnexpi.hxx sc/source/ui/dbgui/filtdlg.cxx sc/source/ui/inc/docfunc.hxx sc/source/ui/inc/namedlg.hxx sc/source/ui/namedlg/namedlg.cxx sc/source/ui/src/namedlg.src
2011-03-14making sc/source/filter compile againBjoern Michaelsen
2011-03-11Store additional flag for global vs local storage of named ranges.Kohei Yoshida
Also, store sheet-local named ranges from Excel into the table instead of the document.
2011-03-10Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Kohei Yoshida
2011-01-17removetooltypes01: #i112600# remove tooltypes from scMikhail Voytenko
2010-12-21ScRawTokenRef is now based on intrusive_ptr.Kohei Yoshida
2010-12-21No need to include the shared_ptr header.Kohei Yoshida
2010-12-21Removed ScSharedTokenRef and replaced it with ScTokenRef.Kohei Yoshida
ScSharedTokenRef was implemented by boost::shared_ptr, only because SimpleIntrusiveReference which the original ScTokenRef was implemented by could not be used with STL. Now that ScTokenRef is implemented by intrusive_ptr, we no longer need ScSharedTokenRef.
2010-12-21Adjusted for the new FormulaTokenRef now implemented by intrusive_ptr.Kohei Yoshida
Also, ScTokenRef is similarly now implemented by intrusive_ptr.
2010-12-17Implemented ScMatrixRef using boost::intrusive_ptr.Kohei Yoshida
2010-10-28add modelines to .hxx files as wellCaolán McNamara