Commit Graph

8177 Commits

Author SHA1 Message Date
aa906f3e8a Typo: childs->children
Change-Id: Ib27b3e125581884b90efc9cc33b6b2aadab73851
2014-08-31 21:36:08 +02:00
a6f78bf8fd Treeview may lose focus when left/right arrow is used
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-31 11:36:48 -05:00
790920befb GraphicManager: fix crash when swapping out graphics
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-31 07:51:46 -05:00
ac2ffe70ce GraphicManager: let's assert GraphicObjects are inserted and deleted once
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-31 07:50:59 -05:00
f61e453f84 the DUMMY_CHART_FACTORY variable is not the only indicator for OpenGl charts
Change-Id: Idab33c8611526dc4749b4dbe4fe84e68138b4f73
2014-08-29 17:40:35 +02:00
5d622c55ef cache the call to getenv
Change-Id: I13095b13694aa092e3d5f542b5be12e703eb4590
2014-08-29 17:40:35 +02:00
9991b50ccc Make opengl chart window always active
Fortunately there is a special ole object group with
the MS_EMBED_ACTIVATEWHENVISIBLE flag which define this
behaviour.
Problem is that both Aspect and EmbedMisc are MS specific
enums so we can't use them directly for non-MS objects. But we
can handle opengl charts the same as this ole object group.

Change-Id: I49abeffce319cbb775709a72ba198a1f76b65374
2014-08-29 17:40:27 +02:00
6e4f6ec445 Add a method to check whether an XEmbeddedObject is a chart
Change-Id: I6f860b9f1bce200c5366df0a32650705cf429a80
2014-08-29 17:40:26 +02:00
d54b2bd8dc Resolves: fdo#83068 ignore spaces in font-size unit detection
Change-Id: Id9a5c2ee576bd533d8b0a2b4356e319354abbbac
2014-08-29 09:27:38 +01:00
6a39fdf81f callcatcher: update unused code
Change-Id: I6cb74836f98d7507359f39e1fd03a1462b2e0c31
2014-08-28 09:50:33 +01:00
c6542e4f7a WaE: macro is not used
Change-Id: I37ec7e6104dc9526b1792f163fe58ec8673274c2
2014-08-27 13:26:11 +03:00
93b35682c4 WaE: Unreferenced function definitions
Change-Id: I8c21bfd70e5afb6d4f9a0a57f9946074c1b16a52
2014-08-27 13:26:10 +03:00
53617c8651 callcatcher: update unused code
Change-Id: Idaed255e4f004ad555ccbd6ba9dc29bf522d3c5f
2014-08-27 10:18:31 +01:00
69638beaba Related: fdo#82259 possible solution to 'GB18030 Bitmap' detected as Japanese
Change-Id: Ibcf9c02c341aecc747b8b5a1ee347f7ded173e27
2014-08-26 17:00:23 +01:00
fe7d0ea643 convert sw use of template manager to new manager
this completes the conversion of resource hosted
dialogs and tabpages to .ui gtkbuilder format

Change-Id: Ic1b49d5560bfa47f287e04918c01daeebba28163
2014-08-26 15:36:52 +01:00
e06014e0db bnc#719994: We need the proper alpha mask
Change-Id: Ic16dceaca431929238fcef6be31ee95e068b91e4
2014-08-26 16:30:54 +03:00
f6c0803e99 itemdel.[ch]xx is only used in sfx2
Change-Id: I240f15f87e27ba8a52bab244f8c784d527bff179
2014-08-26 13:34:04 +02:00
0696e59045 convert WARNINGBOX_* to MessageDialog + string
Change-Id: Icdd1cbd4660ebcc156d1a406bd853fce3b5cf1e1
2014-08-25 16:45:31 +01:00
7cf74a8e8e convert STR_QUESTION_JAVADISABLED with custom buttons to .ui
Change-Id: I6f806f27232865ab871576e18a33fae08c20ed31
2014-08-25 16:45:27 +01:00
30ae83c268 fdo#82577: Handle KeyCode
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11
KeyCode typedef.

Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-23 22:33:30 +03:00
150df3c020 star* -> css::*
Change-Id: I156d40badb1a11727d1320600a9d3af2b8b24e4a
2014-08-21 09:03:22 +02:00
afa5d63e2a TabPages are no longer loaded from resource files
Change-Id: I009e0f388cfe1861cef89d2148a02380dd47c1ff
2014-08-20 16:35:09 +01:00
b3d9852309 Remove more useless includes of tools/debug.hxx
Change-Id: If289dcbff125ac0088f01b5c9752f9f3173585dc
Reviewed-on: https://gerrit.libreoffice.org/11020
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-08-20 09:10:01 -05:00
d21d5a7261 drop unnecessary shl.hxx includes
Change-Id: Ieb984987c4a4f888a563377e0500444b12f43506
2014-08-18 12:59:49 +01:00
ef4fb3976a svtools: show spin for FormattedField
User can increase / decrease values in FormattedField with scrolling
with the mouse, so there is no reason to hide the spin buttons.

Change-Id: Ie342f456cdb45c1d7287df70faa786c0e7dc2425
2014-08-17 10:41:12 +02:00
e159d0bb53 ErrorBox resources -> MessageDialog + strings
Change-Id: I0e4e8e0393a5a86dc3125f6dccc9e4e7b47973a9
2014-08-15 09:09:36 +01:00
7b61f9f09d use of STR_ARR_SVT_LANGUAGE_TABLE in wizards is gone
since

commit 65e104060b2bd46259f0307263aa3d8eba4c0ace
Author: Xisco Fauli <anistenis@gmail.com>
Date:   Sun Oct 21 20:35:05 2012 +0200
    pyletter: remove java letter wizard

Change-Id: I77065cd277233b78b90c23a6545854a83cd17b16
2014-08-15 09:09:34 +01:00
85cf4881fc drop FixedLines from wizards to be consistent with the rest of the ui
and two virtual methods don't need to exist after that

Change-Id: I50ea8eaa99fddfed7e0c61e99e76631aa595f2dc
2014-08-15 08:26:02 +01:00
a498fb8331 callcatcher: another round of ResId ctor removals
Change-Id: I2d074133172a2641d735efd2a007d18a65b4d9e9
2014-08-13 09:19:04 +01:00
226fbf44eb warning C4242: 'initializing' : conversion from 'size_t' to 'const sal_uInt16'
Change-Id: I80336164803a494bdabaa5e142ac91c2e6d26911
2014-08-13 10:10:38 +02:00
56dc7aecc3 Related: fdo#82259 not all STIX are symbol fonts
The new "STIX" and "STIX Math" are regular fonts, as well as the old
"STIXGeneral", so narrow the match a bit.

Change-Id: I82341c3e9e5dd4e0323bf76096cba8890a82f0c7
2014-08-12 19:29:43 +03:00
198a775ebc Related: fdo#82259 Show same preview for both Symbol variants
Change-Id: Iafabbe5068a1817b5be717018536e0d31117c434
2014-08-12 15:53:21 +01:00
92f3e68cd1 Related: fdo#82259 esint10 can't render its name either
Change-Id: Idcb881613900001f237cf343e7bc485c170e4385
2014-08-12 15:53:20 +01:00
662af47c3c Related: fdo#82259 OpenSymbol doesn't have 0x2706 or 0x2704 so no preview
Change-Id: I2164cb2c37c7b13759e47561002024fd2bb577f9
2014-08-12 14:57:14 +01:00
16076f1203 Resolves: fdo#82259 use same symbol strategy on all platforms
Change-Id: Ia4f0a36c8a95849b7c8551b930873e912b673537
2014-08-12 14:42:26 +01:00
b56bb5dce9 Related: fdo#82259 all the STIX fonts are really for symbols
Change-Id: Id032f1b643199a57c6fc08ccf580a54ff2370861
2014-08-12 14:40:48 +01:00
25e81910d1 Related: fdo#82259 list Apple Color Emoji as a symbol font.
Note that this is a blind fix, as I don’t have an OS X machine.

Change-Id: I43a98fbbee06117b914eae332d48b2793a266bce
Reviewed-on: https://gerrit.libreoffice.org/10812
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-12 08:35:33 -05:00
d24df3fc66 callcatcher: another round of ResId removals
Change-Id: Ia3acdb3501b7735820258cb090e731f5814bc07f
2014-08-12 09:02:03 +01:00
fffc2b704f -Werror,-Wundefined-bool-conversion
Change-Id: Id423cea0fa9ac926f47394c8a991a51438167386
2014-08-11 15:57:02 +02:00
212f745c29 Related: fdo#82259 stmary can render its own name, but unreadably
Change-Id: Iedff28d1290efb38eb68f83757a0787d52e28859
2014-08-11 13:13:12 +01:00
94753833b9 Related: fdo#82259 add Armenian preview text
Change-Id: I3698b5cbf8c39e618faaae1321eaa4442f1b2827
2014-08-11 12:47:04 +01:00
2b9ad46b23 Resolves fdo#79278: not too dark, not too bright background color
This patch is based on Caolán's one at 68075a61c28a5c72429f78776a822ed45fdcb4a7
I've chosen the background color used in Windows program Paint.NET as
our default background color. It's a nice compromise that doesn't look
out of place anywhere.

Change-Id: I5081201043be4a7ad6152d1ce59451daa4ece1ac
Reviewed-on: https://gerrit.libreoffice.org/10527
Reviewed-by: Stefan Knorr <heinzlesspam@gmail.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-on: https://gerrit.libreoffice.org/10520
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-11 10:31:27 +00:00
e1683c2d13 callcatcher: update unused code
lots of ResID stuff going away now

Change-Id: Iad8524e201cd3072db71da9e5ee1c244ed337967
2014-08-11 10:22:12 +01:00
d005acae3a Resolves: #i125386# secured user request and changed some bools to bitfield
(cherry picked from commit 5e3cbe056c19bea5018dbf1fd4b2bc8f8b030ff3)

Conflicts:
	comphelper/inc/comphelper/embeddedobjectcontainer.hxx
	comphelper/source/container/embeddedobjectcontainer.cxx
	sfx2/source/appl/linkmgr2.cxx
	svtools/source/misc/embedhlp.cxx

Change-Id: I7e9b20a87ca6afe8cb91c577860a6c6b72368ee9
2014-08-09 14:13:08 +01:00
086611d2ce coverity#1202783 Division or modulo by zero
Change-Id: I17892b9daa3be450001ac88239008d0d27f4a01f
2014-08-07 18:00:49 +01:00
5b9c8241ea Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happy
Change-Id: I11db6f87f3b8b32578c0c83d3df7b11d3533b5ef
2014-08-07 18:40:50 +02:00
b0cdd038ee fdo#51534 - rulers should have app-background by default (apparently).
Change-Id: I981febb02074ed323732ef7c19e89f1e946604f1
2014-07-24 14:26:54 -04:00
f2940a4bff rename SfxItemDesruptor -> SfxItemDisruptor
Change-Id: I7cc9fa3ab6aebc541df4708e29b530f8021b14ba
2014-07-23 13:26:17 +02:00
6296c64fb0 Enable copy-paste of charts/ole as bitmaps.
Adds FORMAT_BITMAP to OLE Objects - to allow charts
to be pasted into non-LibreOffice applications.
Should be safe for all OLE Objects, though.

Change-Id: If18768b82d4bb4415b3a8e00828b2eb5c31eeb15
2014-07-22 22:08:16 +05:30
9c7a7d85aa convert DLG_MACRO_MIGRATION to widget layout
Change-Id: Ie4cef54a943fc456b042425b53286492a0bed0be
2014-07-22 12:21:53 +01:00