summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2014-08-28Resolves: fdo#77516 sub-grid shouldn't be allowed as 0Caolán McNamara1-2/+6
regression from commit 3cb6587abbf6888ac9fb3b0cccc9a5aa0dc29b55 Author: Csikós Tamás <csks.tomi@gmail.com> Date: Sun Jul 7 13:40:53 2013 +0200 modern .ui widgetlayout for optgrid Change-Id: I9e998ce203c16c2303e00347ce6a2992c92cc8dc
2014-08-27Resolves: fdo#83062 infinite recursionCaolán McNamara1-4/+4
regression from commit 7c03fc2fe77f9b1f910f4ab395923e52648c32b5 Date: Mon Sep 2 14:30:09 2013 +0000 Related: #i123048# Corrected connector layout after reload verified that #i123048# continues to work Change-Id: If5fce4b7a88d4d0972f52705334e4b9b48425cca
2014-08-27make .ui label translatableAndras Timar1-1/+1
Change-Id: I59153a29e6271abb4d184bd3c67cd8fb2c092669
2014-08-27callcatcher: update unused codeCaolán McNamara6-245/+7
Change-Id: Idaed255e4f004ad555ccbd6ba9dc29bf522d3c5f
2014-08-26set default buttonsCaolán McNamara2-5/+4
Change-Id: Id91f0d0bf3743e7304ff079bbc82bc8b347a9c74
2014-08-26bnc#770711: Make changing table text color in impress always workMatúš Kukan1-0/+2
We set text color for individual characters (in ContentNode::aCharAttribList) and for whole paragraph (in ContentNode::aContentAttribs) too. Problem: when table was loaded in an impress document with font color set, you could not change it by selecting a cell because only ContentNode::aContentAttribs was set, which has lower priority. So, in that case, remove font color character attributes. Change-Id: Ieb0c078481568dcb1739fe35d448c9591f687f2c
2014-08-25zoom slider: remove unneeded whitespacesTomaž Vajngerl1-21/+0
Change-Id: I220a4074c6d62a89aaab435210f52300c63315b2
2014-08-25zoom slider: impl as scoped_ptr and reduce code duplicationTomaž Vajngerl1-37/+29
Change-Id: I274e731c70c2735f513e9e8fbf2273aa52310fd2
2014-08-25convert MessBox with custom buttons to .uiCaolán McNamara5-24/+75
Change-Id: I05704746ce5f098a2caaafafdc574009b279e458
2014-08-25convert RID_QRY_SAVEMODIFIED with custom buttons to .uiCaolán McNamara4-8/+89
Change-Id: I782ca0f7e60f92e65e1a93bb8d1d38eded941cbb
2014-08-25Consistency around SdrMetricItem in svx/sderitm.hxxStephan Bergmann5-9/+9
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I4a0715b18bc3aa032779252cad2450c905a467a4
2014-08-25Remove unnecessary invalid downcastsStephan Bergmann1-4/+4
Change-Id: I04a6fa07ef4dfd2609b466c7c8ff9ba925c9683c
2014-08-25QueryBox RID_QRY_REMOVE_* -> MessageDialog + stringCaolán McNamara4-45/+34
Change-Id: Ife33eeaf38daf1aebc1ea35634ca56fae5c89d34
2014-08-25set names on a bunch more threads...Michael Stahl3-0/+6
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-08-25everything is independent from vos these days...Michael Stahl1-2/+0
Change-Id: Iccb94dcc31d6de8c9e4e7a31b3c2e36d4198b295
2014-08-25fdo#82260 Fix OS X font dropdown crashMatthew J. Francis1-1/+2
Without this, font dropdowns intermittently crash after a window is moved to another screen Change-Id: I1af5d8224fd164b73c43a9655fbde364f530c979 Reviewed-on: https://gerrit.libreoffice.org/11105 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2014-08-25loplugin:unreffunStephan Bergmann1-9/+0
Change-Id: I6a772c32071a85579861e9f2c03f7664032ff643
2014-08-25Consistency around SdrAngleItem in svx/inc/sxraitm.hxxStephan Bergmann3-8/+6
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: If88f88cfe0144b83b3228650a34d9bf2c468b936
2014-08-24fdo#73151 Make better use of the sidebarSamuel Mehrbrodt3-28/+5
The general idea is to encourage use of the sidebar instead of floating windows (for Navigator, Styles&Formatting and Gallery) Changes: * Show the sidebar by default in Writer & Impress * Remove the Gallery floating window (Gallery now always opens in the sidebar) * Remove all Gallery, Navigator and Styles&Formatting links from the default toolbar in Writer (since they have an icon in the sidebar and the sidebar is shown by default now) * When selecting "More" from the Styles dropdown, the Stylelist opens in the sidebar instead of the floating window This has all been discussed extensively here: https://bugs.freedesktop.org/show_bug.cgi?id=73151 Change-Id: I3a0461d1472711da7121801000af294b432fccb1 Reviewed-on: https://gerrit.libreoffice.org/11077 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-23fdo#82577: Handle KeyCodeTor Lillqvist17-17/+17
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11 KeyCode typedef. Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-23fdo#82577, fdo#82579: Handle CursorTor Lillqvist2-4/+4
Put the vcl Cursor in the vcl namespace. Avoids collision with the Xlib Cursor typedef and some ancient Carbon (?) Cursor typedef on OS X. Change-Id: I7af770c522b5774c87f58cc079ced9fc1bcc88b0
2014-08-22Remove some useless tools/debug.hxx includesMarcos Paulo de Souza5-17/+0
Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h header was necessary in some cases because of a macro or a typedef that was needed. Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9 Reviewed-on: https://gerrit.libreoffice.org/11075 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-08-22Point and Rectangle coordinates are long, not sal_Int32Stephan Bergmann2-3/+5
Change-Id: I0f97d12f55e506af699976bf81f4dcf956195aab
2014-08-22Consistency around SfxStringItem in svx/inc/sxonitm.hxxStephan Bergmann3-9/+6
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I694c42a53cb9041b51ef876416f0f61963b89f86
2014-08-22Consistency around SdrYesNoItem in svx/sxmspitm.hxxStephan Bergmann2-6/+6
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: If7a3c3834f63bd0b358da4d05e9510c3f695c5d0
2014-08-22Rectangle coordinates are long, not sal_Int32Stephan Bergmann1-2/+4
Change-Id: I2f4bd53bbf94ea439e774ea85e61adcdb920c497
2014-08-22Avoid invalid downcastsStephan Bergmann1-6/+7
Change-Id: Iea1688213cc0ebb8fcb3d3e3c862fd31275b9b38
2014-08-21Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happyStephan Bergmann2-0/+2
Change-Id: I52fa4656248dc67d85a81271c0dcef127d5869c5
2014-08-21These "newly added" record types are publicly documented nowadaysTor Lillqvist1-4/+4
Use symbolic names from the MS-PPT RecordType documentation, http://msdn.microsoft.com/en-us/library/dd945336(v=office.12).aspx Change-Id: I1deecfc69dd3360ef982f144d5ff5348a2953280
2014-08-21stario -> css::ioThomas Arnhold1-1/+1
Change-Id: I4e82694399e72ce17172ac3d3c3cd9f9bcd30ba5
2014-08-20vcl: use enum for complex text layout constantsNoel Grandin1-1/+1
Since these constants are bitfield flags, we define some methods to make working with them reasonably type safe. Move the definitions to outdevstate.hxx, since we need the values there, and that appears to be the "root most" header file. Also dump TEXT_LAYOUT_BIDI_LTR constant, since it means the same thing as TEXT_LAYOUT_DEFAULT (ie. 0), and leaving it in causes people to write weird code thinking that it's a real flag. Change-Id: Iddab86cd6c78181ceb8caa48e77e1f5a8e526343 Reviewed-on: https://gerrit.libreoffice.org/10676 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-20add a VclViewportCaolán McNamara1-0/+5
like GtkViewport so that the scrolled region will be clipped, which also has the side-effect of stopping glade clobbering the non view-port scrolled .ui files on editing Change-Id: Ic64174b3a35b77f068e0085cdc7721aeb33f1d82
2014-08-19svx: Cleanup ASCII art and useless commentsChris Laplante207-2329/+237
Change-Id: I5399362056276f324fd43eda05d3f606dc6f8c71 Reviewed-on: https://gerrit.libreoffice.org/11011 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-18remove cruftEike Rathke1-3/+0
Change-Id: Id5ba28d7862590e11cca24fc8e25ca68fae1d5a8
2014-08-18Consistency around XColorItem in svx/sdshcitm.hxxStephan Bergmann5-5/+5
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I7ecf827a0713efaecb4b0eb49f9f8c06f8c59091
2014-08-18Consistency around SdrPercentItem in svx/sdshtitm.hxxStephan Bergmann5-5/+5
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I4e98c362f811c19f03766d0c78f10c795d3ac79d
2014-08-18Consistency around SdrOnOffItem in svx/sdtcfitm.hxxStephan Bergmann3-3/+3
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: Ib461b5d3702e00a9d7cef3229c44e3328c776e1d
2014-08-18drop unnecessary shl.hxx includesCaolán McNamara52-61/+0
Change-Id: Ieb984987c4a4f888a563377e0500444b12f43506
2014-08-18ErrorBox->MessageDialogCaolán McNamara2-8/+6
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
2014-08-18Consistency around SdrMetricItem in svx/sdsxyitm.hxxStephan Bergmann4-10/+10
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I3734cb14b6ed8f556af85b234968682a55ac8a4c
2014-08-18remove unused ControlThomas Arnhold1-29/+0
Change-Id: I4f6dfe478ba6dd009153d77af26507e0e1795262
2014-08-17remove unused stringsThomas Arnhold1-3/+0
Change-Id: I1665bb72203964be071835547c50440f86e1761d
2014-08-16Reserve vector capacity in advanceMatteo Casalin1-0/+1
Change-Id: I2ee5913a274eecf86ad6bbf19b99e1fe61f0ade7
2014-08-16Simplify by early bail-outMatteo Casalin1-5/+3
Change-Id: Id3789fd994b54813b6f72857a625b496c7a6eef0
2014-08-16Consistently use size_t and SAL_MAX_SIZEMatteo Casalin41-304/+289
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
2014-08-16bDoInvalidate is always falseMatteo Casalin1-8/+0
Change-Id: I0e22f509b90acc9d4c3d7efb5a428f15bd21317d
2014-08-16Simplify loopMatteo Casalin1-9/+3
Change-Id: I100344543a6008f6f466d0cc5716001e5b6c1ddd
2014-08-16Remove repeated checkMatteo Casalin1-1/+1
Change-Id: I2ed6326f97bf6c0eefb3d309405261ffd30681b9
2014-08-16Just copy the boolean valueMatteo Casalin1-3/+3
Change-Id: I158f4e9eddf7ea666613d56a79d014dd3cbf9931
2014-08-16Remove pnMarkNum parameter: either NULL or pointed data is not readMatteo Casalin3-14/+6
Change-Id: I213a097616275765478a5f21a5f8e9645470a1e8