summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)Author
2014-10-03coverity#704318 Logically dead codeCaolán McNamara
Change-Id: I591188e0323bb75c55cad9a078eea188f79b3a03
2014-10-03rename SvRef::AddRef to AddFirstRefNoel Grandin
to make it's intended purpose clearly distinguishable from AddNextRef Change-Id: I5da780b48b19fd873667b648031bc394113f953b Reviewed-on: https://gerrit.libreoffice.org/11763 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-03fdo#84592 Fix wrong background color in listsSamuel Mehrbrodt
Change-Id: Ie154bfb15a19ae98b2bc4eb6626240a00cf182d4
2014-10-02Improved striped rows implementationSamuel Mehrbrodt
Some renaming, use variable for row background when not striped Change-Id: I5b36fc751aa163dbb127406d7aefad01974fa371
2014-10-01fdo#82577: Handle TimeNoel Grandin
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-30Improve SvTreeListBox classPalenik Mihály
It is possible to set alternating rows. Expert Configuration dialog use it. Change-Id: Ie43a87ca05be73fdb345fa4866f31c2c36b7cdf1 Reviewed-on: https://gerrit.libreoffice.org/11663 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-30Some glue for using std::unique_ptr with the Boost Pointer Container LibraryStephan Bergmann
Change-Id: Ie975e963ed64fb96542a9771f85eef72d8266496
2014-09-30fdo#82577: Handle PolyPolygonNoel Grandin
Put the TOOLS PolyPolygon class in the tools namespace. Avoids clash with the Windows PolyPolygon typedef. Change-Id: I811ecbb3d55ba4ce66e4555a8586f60fcd57fb66
2014-09-30fdo#82577: Handle RegionNoel Grandin
Put the VCL Region class in the vcl namespace. Avoids clash with the X11 Region typedef. Change-Id: I6e008111df7cf37121fbc3eaabd44a8306338291
2014-09-29MSVC 2012 apparently isn't ready yet for std::vector<std::unique_ptr<T>>Stephan Bergmann
...producing error messages about trying to access private undefined unique_ptr copy ctor etc. Partial revert of 014e7933af751bfe0a03867373b82efa806f3a3d "svtools: std::auto_ptr -> std::unique_ptr: ...changing HTMLOptions to std::vector<std::unique_ptr<...>> because boost::ptr_vector<...>::push_back only supports auto_ptr, not unique_ptr," going the awkward std::unique_ptr x(...); push_back(x.get()); x.release(); route instead (which could be simplified if boost::ptr_vector::push_back ever started to support unique_ptr). Change-Id: I15693030a0bbfdedbfdfbe76ede5d0c74f4e5b41
2014-09-29svtools: std::auto_ptr -> std::unique_ptrStephan Bergmann
...changing HTMLOptions to std::vector<std::unique_ptr<...>> because boost::ptr_vector<...>::push_back only supports auto_ptr, not unique_ptr. Change-Id: Ie5f92bc40ce5425dc1c634b17addc2b0dd9bbda3
2014-09-29loplugin: cstylecastNoel Grandin
Change-Id: Iea517d2287bded4a702c73dfdd1f182023425d67
2014-09-28border_width from 12 to 6, as the rest of dialogsAdolfo Jayme Barrientos
Second pass. Change-Id: Ic4702d2ca7a9d54ee4712dcd073006f16b2d5d1d Reviewed-on: https://gerrit.libreoffice.org/11669 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-28Restore missing title in addresstemplatedialog.uiAdolfo Jayme Barrientos
... to what its .src-based equivalent had before fbb1f977 Change-Id: I7db16afe06fca160d798bc1eeac43d6b90c1e1ad Reviewed-on: https://gerrit.libreoffice.org/11667 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-26remove unnecessary casts in misc calls to SvStream.Write*Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: Ib80032e8626f5476a89b958f590441994594f4e4
2014-09-26remove unnecessary casts in calls to SvStream.WriteUInt32Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I1d848f19f82783e6eabf2da37dbde78fe36ea1e0
2014-09-26remove unnecessary casts in calls to SvStream.WriteInt32Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I0c0172519479be0535a447e41a592fbf782751bd
2014-09-26remove unnecessary casts in calls to SvStream.WriteUInt16Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I482ca7abb84613971e7e8f839f7aa67a65cd71ff
2014-09-26remove pointless commentsNoel Grandin
Change-Id: I8edfe830b8f6ca7f1809332870e06d1d286b90e8
2014-09-26remove unnecessary casts'sNoel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I63f18be8e940098c2acbbc73ee49ede3a949fcb2
2014-09-26Resolves: fdo#83943 avoid infinite recursionCaolán McNamara
when attempting to make a cell visible when the parent simply isn't large enough to show any part of the cell Change-Id: I987c9b3be30a66a5e1e27ad9e452f2ca65330d9e
2014-09-23loplugin: cstylecast, update PTR_CAST macro to use static_castNoel Grandin
I introduce a template method into the PTR_CAST machinery to maintain constness. There is now a FIXME in sd/../docshell.cxx because I needed to use a dynamic_cast there to work around the games it appears to be playing with OLE in-place activation. Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, dropping the GCC-extension, unnecessary use of typeof from tools/rtti.hxx Change-Id: Iba5ace1aa27e02b34fcc91af1e658c43371afd03
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-22html: add applyEvents to HTML outputTomaž Vajngerl
Change-Id: I8cc2d752673254c0f23f63030a8fa7d4d288c0a9
2014-09-22Extend HTMLWriter: flush the stack, more values for attribute(..)Tomaž Vajngerl
Change-Id: I733426ba5f82ee25751387f88942dbc66689821d
2014-09-18callcatcher: update unused codeCaolán McNamara
Change-Id: I3010bdd736c15a086f3ce61cacbb34159f0b2abf
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-17add Kven Finnish [fkv-NO] to language list, fdo#83332Eike Rathke
Change-Id: I3faa39ebc32e909bd2e7eeee6ae67c6f3148fb7c
2014-09-17callcatcher: update unused codeCaolán McNamara
Change-Id: I2ddda0600ee876e9886ee3221f0ac5ad515fbd22
2014-09-16Remove shadows in tabs to make them look more flat.Tomaž Vajngerl
Change-Id: I7c125c10538a641ec723d95be987ad77cdebc9ba
2014-09-16Make tab label padding dependent on font height.Tomaž Vajngerl
Change-Id: I7de52945bdf3062174b49e12e2f05075632c7e4a
2014-09-16Change tabs (sheets in Calc) to better looking rectangle shape.Tomaž Vajngerl
Change-Id: Ib0b2812792ac7447bfb1d9e3d4d404bc5d5afb0b
2014-09-14convert Edit autocomplete Hdl to boost signals2Luboš Luňák
Here it also keep track of the connection, as it needs to be explicitly disconnected in one place. Change-Id: Id3e2882106ae55c2d880898956a36f84d3ce70ef
2014-09-13Resolves: fdo#82259 more fonts that lie or have no os/2 tableCaolán McNamara
Seems to be that the default mac fonts are way messy than the MS or Linux ones tend to me Change-Id: Ia0ed6f9fcc650bea9466c4127f6faf7adba72d44
2014-09-13USCRIPT_LAO->USCRIPT_MALAYALAMCaolán McNamara
Change-Id: I5ae275532ccb3e77acd2422f1d6b90078fe95a9e
2014-09-13Related: fdo#82259 GungSeo has no OS/2 tableCaolán McNamara
Change-Id: Idf2431927d8f501f87301d01a7bb884f1445125f
2014-09-13do HardCodedScriptName before getting Font CapabilitiesCaolán McNamara
Change-Id: I3f3f14b3b24abbbdb40f8eb6655d42b12d920999
2014-09-12Related: fdo#82259 BiauKai makes some crazy claimsCaolán McNamara
Change-Id: I002dd4834e0813b81548d6f275e261b37859f646
2014-09-12Related: fdo#82259 various "* MN" fonts incorrectly claim to support TAMILCaolán McNamara
Change-Id: Ie1f21052ff09fcf243a3cc0839cf7118efa09c68
2014-09-12svtools: sal_Bool -> boolStephan Bergmann
Change-Id: I3f1a110e95453599159d36a9d55f949351e03557
2014-09-10callcatcher: update unused codeCaolán McNamara
Change-Id: Ie31c16318b09699e080484292d489a378e3a6dce
2014-09-10vcl: sal_Bool -> boolStephan Bergmann
Change-Id: Iff4da6d6281eb9194db348ebc10fbe7718538401
2014-09-06SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin
Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-05fdo#69162 avoid crashing on Accellerator in poorly initialized contextNorbert Thiebaud
Change-Id: If3446ae33f2c2e737acf56bb523519e7b9d9935e
2014-09-02fdo#82259 Hardcode script for "GB18030 Bitmap"Matthew J. Francis
Change-Id: I3b3ad955f1793197e970c837ff53aa85a74b8cfb Reviewed-on: https://gerrit.libreoffice.org/11213 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-31Typo: childs->childrenJulien Nabet
Change-Id: Ib27b3e125581884b90efc9cc33b6b2aadab73851
2014-08-31Treeview may lose focus when left/right arrow is usedNiklas Johansson
In a treeview, for example the hierarchal view of the styles and formatting panel, if your not on a node that is expandable or collapsable when you press the left or right arrow key, the focus will move away from the tree view in a very awkward way. This patch makes the control work more like a native treeview. At this point I don't feel confident about the surrounding code to avoid the code duplication that this patch adds. Change-Id: Ibd04cf5329b4d226aac102d214a45e45811982e7 Reviewed-on: https://gerrit.libreoffice.org/10956 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-31GraphicManager: fix crash when swapping out graphicsMichael Stahl
GraphicManager::ImplCheckSizeOfSwappedInGraphics() may access a deleted GraphicObject because swapping out one GraphicObject may actually delete other ones, by deleting SdrGrafPrimitive2D instances via sdr::contact::ViewContactOfGraphic::flushGraphicObjects(). (regression from 0ca0202a0994c0b7c99c366fd5cafd8a655df203) Change-Id: I94bd465d90afbfdd14da28e42de3ecdff3a9d9f9 Reviewed-on: https://gerrit.libreoffice.org/11215 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-08-31GraphicManager: let's assert GraphicObjects are inserted and deleted onceMichael Stahl
Change-Id: Ie3bfb78434fa25fdbbdfb90cb9590649fec2dc28 Reviewed-on: https://gerrit.libreoffice.org/11214 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-08-29the DUMMY_CHART_FACTORY variable is not the only indicator for OpenGl chartsMarkus Mohrhard
Change-Id: Idab33c8611526dc4749b4dbe4fe84e68138b4f73