summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2014-01-28bool improvementsStephan Bergmann
Change-Id: Ic32faa81bfbb66a9d8632fb3db187e33c31188ed
2014-01-28Introduce com.sun.star.frame.theAutoRecovery singleton.Matúš Kukan
To replace com.sun.star.frame.AutoRecovery single-instance service, incorrectly converted in 279859fdbc40f68d8f1649fa5b928d9de49e8d9e Unfortunately needs a lot of changes in autorecovery.cxx. Change-Id: Iba5188dffea3e03803236f23e0b3f343746ace90
2014-01-28Related: fdo#73051 make font size drop down of optimal widthCaolán McNamara
presumably keithcu felt the font size was too wide, so lets try and implement the desired effect of an optimal width. Change-Id: Idc1741de04b3559fa415ebcf2289f96ba240ca8f
2014-01-28Resolves: fdo#73051 font size menubar widget too narrowCaolán McNamara
regression since 7347482cc360ad3dc9ed77047441c2e30476fed3 Change-Id: I44e1709f5f391c4ce8b5eaddf02da6fd9652d030
2014-01-28Resolves: #i123950# Corrected/extended interactive crop feature...Armin Le Grand
to work in all situations (cherry picked from commit a440c753532e9ae1747ef3b3ed990d8b713913da) Conflicts: include/svx/sdr/overlay/overlaybitmapex.hxx svx/source/svdraw/svddrgm1.hxx svx/source/svdraw/svddrgmt.cxx svx/source/svdraw/svdmrkv.cxx svx/source/svdraw/svdograf.cxx Change-Id: I33601a429657965fcc9b18da85aa5ffabad65983
2014-01-28coverity#705894 Dereference before null checkCaolán McNamara
Change-Id: Ica2a7b9b53af2b3e17fa51f9b49762c01a1bfa90
2014-01-28coverity#705895 Dereference before null checkCaolán McNamara
Change-Id: I94e7507654e95b15338e1c467de59bf45b3077b0
2014-01-28coverity#705897 Dereference before null checkCaolán McNamara
Change-Id: I947abe661c0e85a65d915422f9d800256167d639
2014-01-28coverity#705898 Dereference before null checkCaolán McNamara
Change-Id: I16029411bd758914e87c7dc020ff8779218fefaa
2014-01-28coverity#705899 Dereference before null checkCaolán McNamara
Change-Id: I6938bc2bbedbf830f8f35b875b5b071447b8d7d1
2014-01-28coverity#705900 Dereference before null checkCaolán McNamara
Change-Id: I523aa738d4a15395f708aafa9edd266e5717421e
2014-01-28coverity#705902 Dereference before null checkCaolán McNamara
Change-Id: I3c23574125d039aa9671ef2d2fa6d2d91d3dd752
2014-01-28coverity#705906 Dereference before null checkCaolán McNamara
Change-Id: I977f221a3ffc1b5cc9a07bd7462464f3d2160ca7
2014-01-28coverity#1132708 Unintended sign extensionCaolán McNamara
Change-Id: Iaf73bf619c6dfa8c29b02c35410aadf972a71448
2014-01-27cp#1000025: Import casemaps from pptx.Muthu Subramanian
Note: This only imports it and it may not be even possible to export (even to othe formats). Change-Id: I8e104f1bc3a95c42ac932b6ab58365dc113fb2e0
2014-01-27coverity#1079287 : Uninitialized scalar fieldNorbert Thiebaud
Change-Id: I135b60ca13c237289735599b68c57edceb01b7da
2014-01-27coverity#1103750 : Uninitialized scalar fieldNorbert Thiebaud
Change-Id: Id7c5f53f604240b85ab6b48f641c57f31e74c08a
2014-01-27coverity#1103751 : Uninitialized scalar fieldNorbert Thiebaud
Change-Id: I33d7da5199ffb4f5372bfa4c16a1a7b566ef5a9f
2014-01-26coverity#1103752 : Uninitialized scalar fieldNorbert Thiebaud
Change-Id: Ifa23d7767a1e6b9a3573d9e58bf5b36ac67ef612
2014-01-26coverity#1103753 : Uninitialized scalar fieldNorbert Thiebaud
Change-Id: I1d4b59fb0a4f6eadcc1e46c6ce5bf2a209684299
2014-01-26bIsSetType is never readStephan Bergmann
Change-Id: Ic65f51fa1d10027a0299ee67e162ce51c57b2530
2014-01-25coverity#704343 Dead default in switchCaolán McNamara
only >= 0 and <= 4 are possible here, make 0 the default to keep coverity and compilers both happy Change-Id: I2e1e6a4ea3a1fd30f230e59ecdcb6b55e9028c08
2014-01-25coverity#704842 Dereference after NULL checkNorbert Thiebaud
Change-Id: If74a78ffe0bcbd936448ed70b8fc796561fc7001
2014-01-24coverity#1158401 Uncaught exceptionCaolán McNamara
Change-Id: I5066b2dbf935157869fdec5ae588df649e63b6ba
2014-01-23Let C++ inline functions return bool instead of sal_BoolStephan Bergmann
...to improve diagnosing misuses of boolean expressions in client code (cf. compilerplugins/clang/implicitboolconversion.cxx). This change should be transparent to client code. Missing overloads of insert() for bool have been added to OStringBuffer and OUStringBuffer (which required dropping one !VALID_CONVERSION check that would now pick that overload, but would be flagged by compilerplugins/clang/pointertobool.cxx). Change-Id: I2d64cd923b8f47bfaa31e753def6515c29a3f8c9
2014-01-23coverity#1158462 Uninitialized pointer fieldCaolán McNamara
Change-Id: Ie5b72f4d3f357e76e233ccf412e2f5863a6999dc
2014-01-23SfxNoLayoutSingleTabDialog not needed anymoreCaolán McNamara
all single tab dialogs are .ui enabled now. So now we can remove SfxNoLayoutSingleTabDialog and merge SfxSingleTabDialog and ~SfxNoLayoutSingleTabDialogBase together Change-Id: If0acc792d85b7d399572257d7e9b0e12993ba3fe
2014-01-23Resolves: #i123950# unified and redefined CropPrimitive2D::get2DDecompositionArmin Le Grand
(cherry picked from commit 08d42c4da0a3f6dc105080102c1b1de4bce987a1) Change-Id: I2d5f52de8e9fa595012a953affbaba9d54f4f2a9
2014-01-22remove SvStream::operator<< methodsNoel Grandin
.. and convert the last few places still using those methods. Change-Id: Id2cd8f9c0dd281df43af439d4fef65881f34a6fd Reviewed-on: https://gerrit.libreoffice.org/7495 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-01-22convert more SvStream::operator<< callsNoel Grandin
.. to more explicit SvStream::Write* calls This was done using another run of the clang rewriter, and then a lot of hand tweaking to fix all the places where the rewriter did not play nice with various macros. Change-Id: I7bcab93851c8dfb59cde6bc76290c6484d88fb18 Reviewed-on: https://gerrit.libreoffice.org/7494 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-01-22Introduce static inline cppu::acquire(), and make use of that.Jan Holesovsky
This is much better approach compared to the callback function, as it allows passing arguments to the c++ constructor directly, while still allowing some additional initialization after having acquired the instance. Change-Id: I5a0f981915dd58f1522ee6054e53a3550b29d624
2014-01-22bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)Stephan Bergmann
Change-Id: I9869d9709f28b68ef7b518527175589d80644668
2014-01-22Resolves: fdo#72989 color buttons not disabled in readonly docsCaolán McNamara
we we not calling EnableItem for most of the color options so it didn't get disabled in readonly mode, and anyway it was using nSID as the itemid rather than getId() so even if EnableItem was called it didn't have an effect. Change-Id: Ia7b55d78d369a79d3e45c8407f859d47fceac753
2014-01-22bool improvementsStephan Bergmann
Change-Id: I142196c59ff0dc5c26e0cc9a79293ddfb0ee94cf
2014-01-21Change _get_implementation()'s not to do initialization directly.Jan Holesovsky
Many of the initalizations (in eg. framework) have to be done on an acquire()'d object, so instead of doing the initialization directly, return the initialization member function back to the createInstance() / createInstanceWithContext() / ... and perform the initialization there. As a sideeffect, I belive the calling initialize() from servicemanager is not that much a hack any more - whoever converts the implementation to be constructor-base has the choice to provide the callback, or still initialize through XInitialization, where the callback is preferred by servicemanager when it exists. Change-Id: I8a87b75c54c1441ca0f184967d31ff4902fc4081
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-21WaE: C4805: unsafe mix of type 'bool' and type 'sal_Bool'Tor Lillqvist
Change-Id: Ia622d25a454eb2fe1928e095c635ad4655032f15
2014-01-21WaE: C4805: unsafe mix of type 'bool' and type 'sal_Bool'Tor Lillqvist
Change-Id: Ibfd666d4c7b2d92a65a01a84fe83319f056b1e7b
2014-01-21WaE: C4805: unsafe mix of type 'bool' and type 'sal_Bool'Tor Lillqvist
Change-Id: I3dfa4495ca7eeba3b3f4f6d81a2ef90fe60ca2d5
2014-01-21warning C4805: '!=' : unsafe mix of type 'sal_Bool' and type 'bool'Stephan Bergmann
Change-Id: I3d4f1ac0debf506e3c4f1ce9143cb8c1cf66925d
2014-01-21Consistently let SetDesingMode functions take bool argumentStephan Bergmann
...to avoid "warning C4805: '!=' : unsafe mix of type 'bool' and type 'sal_Bool' in opertaion" style errors. Additionally, mark those functions that are virtual overrides as such. Change-Id: I64f919f7e2d8f6224303f9bac67f6270d58de014
2014-01-21warning C4805: != unsafe mix of type 'bool' and type 'sal_Bool' in operationStephan Bergmann
Change-Id: I212ea47cabb5c556b7d822e4f45aacb6c96cb6e8
2014-01-20Minimize the constructor functions to a bare minimum.Jan Holesovsky
Most of the constructors are supposed to be only a call of new TheInstance(arguments) or an equivalent; so let's just change the constructor caller accordingly, to accept unacquired new instance. If there are exceptions that need to do more heavy lifting, they do not have to use the constructor feature, or there can be a wrapper for the real implementation, doing the additional work in their (C++) constructor. Change-Id: I035c378778aeda60d15af4e56ca3761c586d5ded
2014-01-20require icu_headers hereCaolán McNamara
Change-Id: If15c208f23d09dbd55ad0625448f864a7725c553
2014-01-20Related: #i56998# use locale rules to format percentageCaolán McNamara
Change-Id: I4b744cf10165383153d2a71c05df0c0ed327c641
2014-01-20Related: #i56998# use FUNIT_PERCENT instead of FUNIT_CUSTOMCaolán McNamara
Change-Id: Ibac028120286c9deb2411fc547877eebac93f36f
2014-01-20Remove space before percent signKhaled Hosny
Seems to be merge artifacts in 260df50ae67e0d9f9d80e0686e6a12903c53c130. Otherwise, I really like how Caolán implemented this in a proper, per-locale way. Caolán, you rock! Change-Id: I42e70b240fdf013316ad282e70b8e42eec8225a8
2014-01-20Resolves: #i56998# add a space separater between value and unit...Tsutomu Uchino
and remove separator between value and percent to match with ISO 31-0 (cherry picked from commit 0cea884e3f417e4b58d2fdcfc7b0111f3bfc6f30) Conflicts: chart2/source/controller/dialogs/tp_SeriesToAxis.src cui/source/dialogs/colorpicker.cxx cui/source/dialogs/colorpicker.src cui/source/dialogs/grfflt.src cui/source/dialogs/zoom.src cui/source/tabpages/tabline.src editeng/source/items/frmitems.cxx editeng/source/items/textitem.cxx sd/source/ui/animations/CustomAnimationDialog.src sd/source/ui/animations/SlideTransitionPane.src svx/source/dialog/bmpmask.src svx/source/engine3d/float3d.src svx/source/items/algitem.cxx svx/source/sidebar/text/TextCharacterSpacingControl.cxx svx/source/xoutdev/xattr.cxx sw/source/ui/utlui/attrdesc.cxx sw/source/ui/utlui/uiitems.cxx Change-Id: I554309cb72dd8956077c5ca6866a982cdd6529aa
2014-01-20Related: #i56998# use FUNIT_PERCENT instead of FUNIT_CUSTOM...Tsutomu Uchino
with percent CustomUnitText on metric fields (cherry picked from commit 4f5b26a97dbaef964af1fe323f24109b987cb952) Conflicts: chart2/source/controller/dialogs/tp_3D_SceneGeometry.src chart2/source/controller/dialogs/tp_SeriesToAxis.src cui/source/dialogs/zoom.src cui/source/options/optgdlg.src cui/source/tabpages/autocdlg.src cui/source/tabpages/backgrnd.src cui/source/tabpages/chardlg.src cui/source/tabpages/grfpage.src cui/source/tabpages/numpages.src cui/source/tabpages/paragrph.src cui/source/tabpages/tabarea.src cui/source/tabpages/tabline.src cui/source/tabpages/tparea.cxx cui/source/tabpages/tplnedef.cxx sc/source/ui/pagedlg/pagedlg.src sd/source/ui/animations/CustomAnimationDialog.src starmath/source/dialog.cxx starmath/source/smres.src svx/source/dialog/fontwork.cxx svx/source/sidebar/area/AreaPropertyPanel.src svx/source/sidebar/graphic/GraphicPropertyPanel.src svx/source/sidebar/line/LinePropertyPanel.src svx/source/tbxctrls/fontworkgallery.src sw/source/ui/frmdlg/column.src sw/source/ui/misc/pgfnote.src Change-Id: I8acc5f7fc80d4366750ad38fabbf49b02f013f7c
2014-01-20Related: #i56998# use locale rules to format percentage...Caolán McNamara
in zoom value and percent on zoom statusbar item. Change-Id: I0b863ab43399772fb52c4e03e0552fcb933e2832