path: root/chart2/source/model/main/Axis.cxx
AgeCommit message (Collapse)AuthorFilesLines
2020-04-09tdf#127792 implement UNO chart attribute MajorOriginTünde Tóth1-1/+10
based on the specification in OFFICE-3936 for ODF 1.4: Note: import of the embedded chart of the DOCX unit test document uses also ODF format in the background, testing also the extension of the native file format. Follow-up of commit 830e539547c463b932ce643517f880789185032d (tdf#127393 OOXML chart import: fix X axis position setting "CrossBetween"). See also commits with "ShiftedCategoryPosition" in their descriptions. Change-Id: I9cd278ac0172c0fab7c51d585a65c34a0ad60b82 Reviewed-on: Tested-by: László Németh <> Reviewed-by: László Németh <>
2019-07-31Improved loplugin:stringconstant (now that GCC 7 supports it): chart2Stephan Bergmann1-1/+1
Change-Id: I9fb8e2853b5ddb1f9fe589f4e47828025ea52915 Reviewed-on: Tested-by: Jenkins Reviewed-by: Stephan Bergmann <>
2019-06-10Use hasElements to check Sequence emptiness in chart2..connectivityArkadiy Illarionov1-1/+1
Similar to clang-tidy readability-container-size-empty Change-Id: I41824e8a4ef38d6a35a0ac4421cffcbcd17308e1 Reviewed-on: Tested-by: Jenkins Reviewed-by: Noel Grandin <>
2019-05-10Consolidate MutexContainer GetMutex() vs. direct m_aMutex accessStephan Bergmann1-2/+2 which point MutexContainer becomes all-inline and need no longer be OOO_DLLPUBLIC_CHARTTOOLS Change-Id: I2f9c089a1189cc8c0fe5cf1760f62e71c5bb7f51 Reviewed-on: Tested-by: Jenkins Reviewed-by: Stephan Bergmann <>
2019-05-09Drop redundant explicit initialization of MutexContainer base classStephan Bergmann1-1/+0
Change-Id: I028a34626f4e542d01f6ae7cd90fed5a24ad970d Reviewed-on: Tested-by: Jenkins Reviewed-by: Stephan Bergmann <>
2018-10-08tdf#42949 Fix IWYU warnings in chart2/source/model/*cxxGabor Kelemen1-7/+0
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ic4fdbad7469d506d7cf308cb96f069b781dd1f58 Reviewed-on: Tested-by: Jenkins Reviewed-by: Miklos Vajna <>
2018-09-11clang-tidy bugprone-copy-constructor-initNoel Grandin1-1/+1
Change-Id: Idd435b3a4d081f6d3af26ff8add69ad4af50db57 warning: calling a base constructor other than the copy constructor Reviewed-on: Tested-by: Jenkins Reviewed-by: Noel Grandin <>
2018-06-16tdf#42949 Fix IWYU warnings in chart2/source/model/{main,template}/*hxxGabor Kelemen1-0/+1
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I53b8ac58e5f5a3778835e06a73b5f6e11dce4357 Reviewed-on: Tested-by: Jenkins Reviewed-by: Jochen Nitschke <>
2018-04-09use more DBG_UNHANDLED_EXCEPTIONNoel Grandin1-6/+7
so we get nice logs of the exception dynamic type for UNO exceptions. Change-Id: Ic0b10dc14d354a2c9a0591b3a51d2f1640d54bdb Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2018-03-03Use for-range loops in chart2 (part1)Julien Nabet1-5/+4
Change-Id: I9310a6dc79d47f9058df8a3b463667389af1b2cb Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Julien Nabet <>
2017-12-11loplugin:salcall fix functionsNoel Grandin1-1/+1
since cdecl is the default calling convention on Windows for such functions, the annotation is redundant. Change-Id: I1a85fa27e5ac65ce0e04a19bde74c90800ffaa2d Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2017-11-03inline ASSERT_EXCEPTION macro in chart2Noel Grandin1-4/+3
Change-Id: I6bdcde5fd416531e2cdd3c9ec160833f1022247c Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2017-10-23loplugin:includeform: chart2Stephan Bergmann1-8/+8
Change-Id: I5b455c684e7cd689d5160135246f3400363c7d40
2017-09-11clang-tidy modernize-use-emplace in c*Noel Grandin1-57/+38
Change-Id: I419d1f67ba301050d05981db2a3d6178878684a9 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2017-07-28loplugin:checkunusedparams more part3Noel Grandin1-3/+3
Change-Id: I621fcf7ceb27238ca86d2299dfb2b8ed03c270fd Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2017-07-11use more range-for on uno::SequenceNoel Grandin1-5/+2
Change-Id: Ifad32425d79be5a22d33d721bdc5fb993f699759 Reviewed-on: Reviewed-by: Noel Grandin <> Tested-by: Noel Grandin <>
2017-07-02loplugin:casttovoid: chart2Stephan Bergmann1-1/+0
Change-Id: I63a2429860bf0ac3d80a8a43bcbde8b8f00f533f
2017-05-07revert OSL_ASSERT changesChris Sherlock1-2/+2
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
2017-05-07tdf#43157: convert chart2 model source from OSL_ASSERT to assertChris Sherlock1-2/+2
Change-Id: Id426cf71bfa63a202979e6bd3fa230cabeeb4dcc
2017-04-28commit: loplugin:checkunusedparams in chart2Noel Grandin1-2/+2
Change-Id: Ia1f42e74365ca1dace93babc132ad67fd09fc99d Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2017-02-15Drop :: prefix from std in c*/Tor Lillqvist1-3/+3
Change-Id: If078cda95fa6ccd37270a5e9d81cfa0b84e71155 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Tor Lillqvist <>
2017-02-03makeAny->Any in basctl..chart2Noel Grandin1-1/+1
Change-Id: Ief1cdffbfc59ab4e35ac945d020772ff84c50d61 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2017-01-26Remove dynamic exception specificationsStephan Bergmann1-17/+0
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Stephan Bergmann <>
2016-11-11loplugin:expandablemethods in chart2Noel Grandin1-14/+3
Change-Id: Ie6650628683ec7c67359351eec0e09033f2b50cb Reviewed-on: Reviewed-by: Noel Grandin <> Tested-by: Noel Grandin <>
2016-11-07loplugin:oncevar in chart2Noel Grandin1-3/+1
Change-Id: Id9308f9265c2453075971c8105b4d161bd145da7 Reviewed-on: Reviewed-by: Noel Grandin <> Tested-by: Noel Grandin <>
2016-07-13chart2: remove unused ContainerHelper.hxx includesJochen Nitschke1-1/+0
remove using namespace ::chart::ContainerHelper; to match other uses Change-Id: I343086a6b7d70c84499b209680973431c7317219 Reviewed-on: Reviewed-by: Jochen Nitschke <> Tested-by: Jenkins <>
2016-04-28teach stylepolice plugin about ref-counted-pointer namingNoel Grandin1-2/+2
Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2016-04-12cleanup: remove unused com/sun/star/uno includesJochen Nitschke1-1/+0
Sequence.h(xx), Any.h(xx) and Type.h(xx) and remove unused using-declarations from these files. Add a few missing includes provided by them. Change-Id: I6b91b6d1fdf9d0496dd546c0aab9bdcc6831a5d4 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2016-03-14com::sun::star->css in chart2Noel Grandin1-9/+9
Change-Id: I04320d32d6d5c54e461cfabef58645f8b772bc69
2016-03-14remove some unused typedefs, and inline some use-onceNoel Grandin1-2/+1
Change-Id: I5ada1cff98c0a3e065d126444f8052f444323743 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Noel Grandin <>
2015-11-19use comphelper::containerToSequenceNoel Grandin1-1/+1
in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-4/+4
Change-Id: I71de514405bb9bcc746c1ab9633e7fe659888943
2015-10-07tdf#88154 workaround and unit testMarco Cecchetti1-1/+14
Fixed 45-degree layout for axis labels, too. Change-Id: I9764e281aeee0a439fa9eec1e3b0df840221b72f Reviewed-on: Reviewed-by: Jan Holesovsky <> Tested-by: Jan Holesovsky <>
2015-07-09tdf#91725: Use lighter default colour for minor grid linesKatarina Behrens1-0/+1
Change-Id: I4be2adac1004ad4ace474c9a271cf8e21986da07 Reviewed-on: Reviewed-by: Markus Mohrhard <> Tested-by: Markus Mohrhard <>
2015-04-23loplugin:staticmethodsNoel Grandin1-2/+2
Change-Id: Iab2f10b000ef41fb090e0034785d4ed0bda4cf43
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann1-7/+7
Change-Id: I5bc47d62afa9cf43f4f1978e082bba43920eb10d
2015-02-12Use constructors for services from chartcore.component.Ursache Vladimir1-0/+7
Change-Id: I72227b45f305734060a669275044f6f9c8859bc5
2014-12-09inline UNO helper macrosNoel Grandin1-1/+23
Change-Id: Ia401dd2f51108d2f3b08cd3d6d433a12ac17ee74
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin1-2/+2
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida1-3/+12
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-19Use define constant to keep track of all NumberFormat property usage.Kohei Yoshida1-1/+3
Change-Id: I2a544922e03ec8253290ac8bf5a89c9cdd72d8dd
2014-05-28coverity#706261 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Ife4d1e828cc2b52c54e425ec7af533ebdacd0f1e
2014-05-18Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part16Julien Nabet1-11/+11
Change-Id: I78b3a0151397d4e69521e6b2451e93ea6e463376
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann1-13/+13
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-11fdo#74112 Preserve Chart displayunits properties during ODF import/export.sushil_shinde1-1/+21
Change-Id: I38508b71ee5b3b966e1d36b0d253304fe17c0ec0 Reviewed-on: Reviewed-by: Markus Mohrhard <> Tested-by: Markus Mohrhard <>
2013-07-29fdo#62475 removed pointless commentsJelle van der Waa1-9/+0
Change-Id: I3f5e86dba2df950aeb12c895f52d99274c0959aa Reviewed-on: Reviewed-by: Luboš Luňák <> Tested-by: Luboš Luňák <>
2013-05-23Revert "fdo#46808, Convert chart2::Title service to new style"Stephan Bergmann1-4/+4
This reverts commit d256dbede60533369d1aac64cca34721183f6a8a: For one, the new css.chart2.XTitle2 looked unfinished, in that it transfered the direct properties of the old-style css.chart2.Title service into attributes, but left out all the properties inherited by the old-style service from, css.drawing.FillProperties, css.drawing.LineProperties (and that missing FIXME css.layout.LayoutElement, whatever that is supposed to be). This needs more thought, to either make available all propertiers as attributes, or none. For another, this broke JunitTest_chart2_unoapi (sch.ChXChartDocument, sch.ChartTitle), for hard-to-debug reasons. Conflicts: chart2/source/model/main/Title.cxx chart2/source/model/main/Title.hxx offapi/com/sun/star/chart2/XTitle2.idl sc/source/filter/inc/xlchart.hxx Change-Id: I4747208a13984904d0e409ea49a73b0f667c86c7
2013-05-21fdo#46808, Convert chart2::Title service to new styleNoel Grandin1-4/+4
API CHANGE: The chart2::XTitled interface now takes and returns a XTitle2 instead of an XTitle. Change-Id: I96c35909d3a13f1abb544296a782a0b6a7a58ec6
2013-04-22fix the remaining issues with the changed handling of ErrorBar propsMarkus Mohrhard1-5/+5
Change-Id: I75c839cbfccbe84e7aa98aef6959bcd0c5390ab6
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-1/+0
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09