599 Commits

Author SHA1 Message Date
Stephan Bergmann
e9c62a2d9c Get rid of unnecessary comphelper::UStringEqual
Change-Id: Ia8718e49f21ccec239b2769eafa6bef90e0e9e40
2013-12-06 14:28:36 +01:00
Stephan Bergmann
07ab0d43b5 Get rid of DECLARE_STL_VECTOR
Change-Id: If4588034fc09e4663b5217669c71f26c0a3b8c8a
2013-12-06 08:04:23 +01:00
Caolán McNamara
e5d35be267 convert add model dialog to .ui
Change-Id: I20d10d0e9c311bcfb1386d481ae4832f463b931a
2013-12-05 16:52:06 +00:00
Caolán McNamara
2b04cfa242 convert add namespace dialog to .ui
Change-Id: I3636da91d39b2759dca72f30cc7b086b6f9cbb16
2013-12-05 16:05:55 +00:00
Caolán McNamara
ab80ea279b Related: fdo#34396 convert extrusion dialog to .ui
Change-Id: Iea6e42fb7b65e148dcf6b566a7595b9e18f2e2eb
2013-12-05 11:32:18 +00:00
Stephan Bergmann
059cc67245 Remove obsolete SEQTYPE workaround
Change-Id: I366b29038be034b03a16fa6d7f6873dc78d8d88f
2013-12-05 12:22:17 +01:00
Noel Grandin
9083e8d1ca convert SvxNumberFormatShell::AddFormat from xub_Strlen to sal_Int32
And make the return code be -1 for error.

Change-Id: I17d066180a604208f0ad689d5dffb77d126c256b
2013-12-03 11:34:45 +02:00
Caolán McNamara
4bcd960e7f restore SdrMarkView::HasMarkableObj, etc.
Change-Id: Ib5c0d5028792708bc0ac0e756aa47d486443bbb7
2013-12-02 16:41:08 +00:00
Stephan Bergmann
6014e3c98d Use rtl::Reference instead of std::auto_ptr
Change-Id: I4402b0b259c0dcd03a222993c861114028d6fb75
2013-11-28 15:19:55 +01:00
Caolán McNamara
0a05120e1a we will need getColorConfig, etc. again
Change-Id: Ie7f8d37b550c788fd6235a5de4bbcc51ac6f8150
2013-11-28 13:32:30 +00:00
Armin Le Grand
7ef4a5bd51 removed pCaptionObj from accessibility
it was not initialized but accessed in one place. Checked with symphony code,
there was a set method which is not in AOO trunk, thus solved accesses to zero
pointer usage

(cherry picked from commit bd0c3b940f6006d3cb49381230795db667aeb943)

Conflicts:
	svx/inc/svx/svdobj.hxx
	svx/source/svdraw/svdobj.cxx

Change-Id: Ic8dec5c6def35753d757066c7ea02e1a92b46f6c
2013-11-27 15:51:46 +00:00
Steve Yin
60f11adb95 Integrate branch of IAccessible2
Change-Id: I8327fb4ba2a86d4caa52b875221175b80464842a
2013-11-27 15:38:59 +00:00
Caolán McNamara
dc3ef6db88 restore GetChild, etc. we will need them again
Change-Id: Ic6da34e58975d85c84ded96fa90873558589f54a
2013-11-27 15:38:58 +00:00
Caolán McNamara
34592b9189 convert link warning dialog to .ui
the amount of code required for the new vs old dialog is amusing

Change-Id: I7feee572eecd94fab3e8c2210755b70832cbd2f2
2013-11-27 09:45:16 +00:00
Stephan Bergmann
5668e73beb avmedia: Implement "block untrusted referer links" feature
See f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db "rhbz#887420 Implement 'block
untrusted referer links' feature" for details.  This adds some further /*TODO?*/
comments, and one known problem (marked /*TODO!*/) is that movies/sounds are not
blocked during a slideshow presentation.

Change-Id: Ib2d0c7e4f7b02c4bdec0d8a90cee5e7e1bee8325
2013-11-20 14:44:27 +01:00
Caolán McNamara
2dec3d1d4f convert 500th dialog (vectorize) to .ui
Change-Id: Ib1a8716091a16eb970c9f218f4a8e496de72ff51
2013-11-15 12:52:00 +00:00
Stephan Bergmann
f0a9ca24fd rhbz#887420 Implement "block untrusted referer links" feature
For now, this checks for a trusted referer (if the BlockUntrustedRefererLinks
configuration prop is set) in utl::MediaDescriptor::impl_openStreamWithURL and
SvxBrushItem::GetGraphicObject.  Checking in additional places will probably be
necessary to block /all/ unwanted communication.  Also, some places marked
/*TODO?*/ currently pass in an empty referer (which is always considered
trusted) and will probably need to be adapted.

Ideally, Referer URIs would never be empty (and consistently use something like
<private:user> for cases where access is explicitly initiated by the user and
should never be blocked), but that's a very daunting task, so start small by
identifying the places that potentially need blocking and adding appropriate
Referer URIs there.  Also, Referer information should always be computed as
freshly as possible from the context in which an access attempt is made, but,
again, always carrying the information from the context all the way to the
relevant functions is a very daunting task, so for now store the information
upon object instantiation in some cases (SvxBrushItem, SdrGrafObj, ...).

The Referer URI (css.document.MediaDescriptor property; SID_REFERER) was already
used to track macro execution, and there is one place in
SfxApplication::OpenDocExec_Impl where opening of hyperlinks (explicitly clicked
by the user) is done that needs the current document's URI as Referer to check
execution of macro URIs but needs an empty (or <private:user>, see above)
Referer to not block non-macro URIs.  Special code has been added there to
handle that.

Change-Id: Iafbdc07a9fe925d9ee580d4f5778448f18f2ebd9
2013-11-14 11:13:25 +01:00
Norbert Thiebaud
83784fc6a6 fdo#65108 inter-module includes <> include/svx
Change-Id: I5335182ea16695c77c2855b34c98220aea2befa1
2013-11-09 18:48:44 -06:00
Thomas Arnhold
9e5132290b remove further external include guards
Change-Id: I23ec3b7372425fb35d4b0c50c5719a2170251ffc
2013-11-05 09:28:54 +01:00
Thomas Arnhold
3c01203ea6 fixincludeguards.sh: sw
Change-Id: I8e0889200d1a1c36e53022a74792728efd66c2fc
2013-11-05 09:28:51 +01:00
Stephan Bergmann
1f0f538b20 Remove dead declaration w/o a definition
Change-Id: Ic0a1f07a2e16695fafbd63414397a8565d7c6861
2013-11-01 16:53:49 +01:00
Thomas Arnhold
b60d7a27e4 fixincludeguards.sh: svx/itextprovider.hxx
Change-Id: I32ebe61a8431e357ffdc057b019fdd3b75dd68a8
2013-10-30 23:05:41 +01:00
Thomas Arnhold
1beabca95b remove local css namespace definitions
As we have it globally in sal/types.h those are not necessary.

Change-Id: I18bba2c763c4680c4fa7fde4c5158953b5cfad82
2013-10-28 15:16:17 +01:00
Michael Meeks
398519cb61 fdo#69079 - fix multiple user gallery creations.
Change-Id: I0539e2708b973b8bea7bd63488277f00201c6c46
2013-10-24 13:22:18 +01:00
Thomas Arnhold
027ac56363 fixincludeguards.sh: include/svx
Change-Id: I2c280be12f36c1538e922286745aabc62482423d
2013-10-23 23:22:28 +02:00
Thomas Arnhold
67b368c54a imapdlg.hxx: cleanup
Change-Id: I27240d18099f73e6a327ad1c259ddc3f32a02ce6
Reviewed-on: https://gerrit.libreoffice.org/6387
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-10-22 19:38:00 +00:00
Tor Lillqvist
a7724966ab Bin comments that claim to say why some header is included
They are practically always useless, often misleading or obsolete.

Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
Caolán McNamara
42def53fb1 remove unnecessary tools/string.hxx includes
Change-Id: I8ed341aeef90584dfc545a794f999e3adc08dd72
2013-10-21 14:26:32 +01:00
Caolán McNamara
91e181ea58 remove uses of COMPARE_*
Change-Id: Icdc36b4b24d2f399f481065df3200feb98025135
2013-10-21 14:26:32 +01:00
Thomas Arnhold
5df4743236 remove some unused code
Change-Id: If3e7c03aedf7b953c7bd3017534b3d5fbeeb6192
2013-10-17 15:22:20 +02:00
Armin Le Grand
500822eeb4 Resolves: #i122738# corrected update of FillStyle/FillAttribute UI elements
(cherry picked from commit 2fc5d2946561258b012b80443cac025d851afda8)

Conflicts:
	svx/inc/svx/fillctrl.hxx
	svx/source/tbxctrls/fillctrl.cxx

Change-Id: I3be23f7ec199c49beb7c5cecfb835977e2bedcea
2013-10-16 11:59:49 +01:00
Thomas Arnhold
d6f18c0949 remove some stuff
Change-Id: I766c01c3ea4c03f4c76ef70fd16037d8196242a1
2013-10-16 03:29:30 +02:00
Tor Lillqvist
55ed54021b Unicode is Unocode on all platforms
Change-Id: Iea8065f8d0f8e305cf2b1f56ba7ddd4189306ad2
2013-10-12 20:42:17 +03:00
Caolán McNamara
69c842a4f3 update unusedcode list
Change-Id: I201985753fc53f037807e7870c6786a442717d6e
2013-10-09 13:17:28 +01:00
Armin Le Grand
bfeabd965c Resolves: #i123350# Added Clear() implementation to SdrUndoManager...
to only delete text edit part of the undo stack

(cherry picked from commit 81e916525fa63b188b2a3b9bb7030e4d451a4808)

Conflicts:
	svx/inc/svx/sdrundomanager.hxx

Change-Id: I19594e4cfa52a24dbcb95639ac3c6b9f39908cc7
2013-10-08 15:45:47 +01:00
Ivan Timofeev
f7cb9e4f12 define colors as hexadecimal
Change-Id: I31ac3c6bf09e18bb4bcd95c004a76045ad50cc92
2013-10-07 22:29:11 +04:00
Ivan Timofeev
d5fc6f6141 change default line color to Tango: Sky Blue 2
Change-Id: I3e2139cb1d12fe1849d87b438ab3f55fc21fa574
2013-10-07 22:29:10 +04:00
Tomaž Vajngerl
3527faf29c RulerItem: indent and cleanup
Change-Id: Ice76e03b6cac32263fb1909175b105ccc544e234
2013-10-06 13:09:08 +02:00
Manal Alhassoun
ff3203c5c5 Convert change password dialog to widget UI
Change-Id: I0ff0eda77b849927fe6cffe5cf203c46ba9ef340
Reviewed-on: https://gerrit.libreoffice.org/6089
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-01 09:55:52 +00:00
Noel Grandin
9dc41e228d convert remnants of String in SVX to String
Change-Id: I66fd6387c3fcd33c6ae0b431810abf6679345767
2013-10-01 10:08:36 +02:00
Noel Grandin
de6a35f522 convert SvxNumberFormatShell::SetComment4Entry from String to OUString
I seemed to have missed this in my earlier conversion process.

Change-Id: I9266fac26425d552520ce68bdcce9b8f4cdbe9a6
2013-10-01 10:08:35 +02:00
Caolán McNamara
a48cf78fab merge queue_layout and queue_resize
so that any window derived class, and not just dialogs, can trigger layouting
of their children. Merge together the handful of hacked-up impls of this.

Do that then for the sidebar PanelLayout so that when the label of the custom
animation frame changes that the frame allocates enough space for the new label
to display fully

Change-Id: I9a95f6c3f60cd6cea47656e66cb9ffcc154a3a5a
2013-09-30 16:09:56 +01:00
Jan Holesovsky
ffe69acb22 Kill internationaloptions page, it has been unused for years.
Change-Id: Ia528bf60a8af81b17ca18ad5eb305bed59818d05
2013-09-29 14:49:43 +02:00
Caolán McNamara
98de5b40c8 Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-25 19:24:23 +02:00
Caolán McNamara
3656a57e88 add mode lines to new files (and idls) since last run
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-09-22 12:21:34 +01:00
Tor Lillqvist
54035e9408 Use consistent spacing in this madness at least
Change-Id: Icee043f43072244e28405e4dff3ce4b51fbb3cd9
2013-09-20 13:55:43 +03:00
Tor Lillqvist
3e2376c87c Move one block to maintain numeric order
No, I didn't check if all the others are in correct order.

Change-Id: Ic676fa79ea864d75abd183df2662007f05cca75d
2013-09-20 13:55:34 +03:00
Tomaž Vajngerl
2acfc0a94c cleanup ruler items (rulritem.hxx) - remove comments, identation
Change-Id: I450ebe3ceab0acf03221970b33c8da4cbb2c6a52
2013-09-15 16:09:24 +02:00
Tomaž Vajngerl
e0a43dff64 Use vector instead of scoped_array to hold ruler items
Change-Id: I51f8d1d22da5f869e9937813de9649fddae1ffda
2013-09-15 15:34:16 +02:00
Tomaž Vajngerl
47a77d7dbc Ruler: disable snapping, tooltips
It is now possible to disable snapping of the ruler at dragging
with holding the ALT key and coarse snapping with ALT+SHIFT key.

Tooltips are shown when hovering over indents and borders.

Change-Id: Ib1e9639e1e2824f2a75b5abd35765bbbd02c87f7
2013-09-15 15:34:15 +02:00