Commit Graph

2740 Commits

Author SHA1 Message Date
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
c407e548cf convert RID_SECURITY_WARNING_NO_HYPERLINKS to MessageDialog + string
Change-Id: I960ae9b418249df58f4395445b9de98a41ac2758
2014-08-25 16:45:29 +01:00
702b981d9a QueryBox MSG_QUERY_OPENASTEMPLATE -> MessageDialog + string
Change-Id: I031a145ca62e3bf7e74b9d447ff8bb041974daa6
2014-08-25 12:27:52 +01:00
d386f88774 set names on the Win32-only threads
Nice to see what weird threads are running.

Change-Id: Ic9888aa3260d0aeb5858cde5415571ab23c75484
2014-08-25 13:21:57 +02:00
a75e0f8e4e fdo#80755 Don't generate thumbnails for encrypted files
Change-Id: If52532b8e8ca38e82fd95c13080d521d9cb529aa
2014-08-24 13:34:34 +03: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
24c1a1b38b Avoid possible memory leaks in case of exceptions
Change-Id: I95a769fe436a79a1e236c5504d1d5b288b3da71a
2014-08-21 22:56:21 +09:00
5e531e121f fdo#75757: remove inheritance to std::vector
Change-Id: I621286f0b64ff464bc29310ba79e416abc5791d8
Reviewed-on: https://gerrit.libreoffice.org/11042
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-08-20 09:07:42 -05:00
d21d5a7261 drop unnecessary shl.hxx includes
Change-Id: Ieb984987c4a4f888a563377e0500444b12f43506
2014-08-18 12:59:49 +01:00
a107bdfdfc ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
2014-08-18 10:57:21 +01:00
58e6fbe1a8 remove unused WarningBoxes
Change-Id: I07c457a49646703af5d13f83ba033340309ee655
2014-08-18 05:23:52 +02:00
3352a88c8c remove dead ToolBox RID_HELPBAR
Change-Id: Ide31f67c346f9a82bf6aa8282caa7cfcee65d9fd
2014-08-18 05:22:54 +02:00
36a36444ae InfoBox RID_INFO_NOSEARCHRESULTS and RID_INFO_NOSEARCHTEXTFOUND to String
Change-Id: If1bf07016864a856ad15d84db0fffc34dc52ecbe
2014-08-18 02:29:23 +02:00
f739d06293 InfoBox RID_XMLSEC_INFO_WRONGDOCFORMAT to String
Change-Id: Ieb1c90f2f17b2ce12acf2999743ce4d608076223
2014-08-18 02:24:39 +02:00
4ca5a663ab InfoBox MSG_CANT_QUIT to String
Change-Id: I68fed7d2f0eea7fde60707e48349230d8a8d5c73
2014-08-18 02:21:44 +02:00
922ae90234 sfx2: bring back resmgr
that was a bit too much removal

partial revert of fd1e9bbc1ebd5040b092aad1d4a68041286fabda

Change-Id: Iabced82fa6aedd25aacf242cafa384e83fd539cb
2014-08-15 23:30:31 +02:00
c931bed5f1 ErrorBox MSG_ERR_NO_ABS_URI_REF to String
Change-Id: Ifc6c6358e327c6ba1e5e552a698568736090e70b
2014-08-15 23:30:23 +02:00
a470c10d88 ErrorBox RID_ERRBOX_MODULENOTINSTALLED to String
And move to sfx2 to stop this ResMgr mangling

Change-Id: I4633766fdcc53189cdb508f9eddaa6b2e8448858
2014-08-15 23:30:23 +02:00
c584f344b7 ErrorBox MSG_ERR_NO_WEBBROWSER_FOUND to String
Change-Id: Ifbc3dbc48fc291881eeb4306379da2599b6d9e95
2014-08-15 23:30:22 +02:00
9fbb4c6cf4 convert WIN_HELPINDEX sport to .ui
Change-Id: I80d1f3f3cb4e062bc19489205e325bc4ff17b3c6
2014-08-15 13:52:57 +01:00
0c830d899d reduce num of FilterOptionsRequest includes
Change-Id: I403bb7b96e8bcaa6138cdd9be823657bc47fa7ca
2014-08-14 16:09:33 +01:00
a247b8257a fdo#75757: remove inheritance to std::vector
... by replacing the following 3 classes with typedefs of std::vector:
 SfxObjectShellArr_Impl / SfxViewFrameArr_Impl / SfxViewShellArr_Impl
and the following 4 with typedefs of boost::ptr_vector:
 SfxChildWinFactArr_Impl / SfxMenuCtrlFactArr_Impl /
 SfxStbCtrlFactArr_Impl / SfxTbxCtrlFactArr_Impl

Change-Id: I1754bd19ec418a3e7ba5c47fb6d8568e8fca9b29
Reviewed-on: https://gerrit.libreoffice.org/10891
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-08-13 08:53:48 -05: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
955c5539a1 avoid buffer overflow by using wrong buffer
Found by Asan.

(regression from CWS mba34issues01)

Change-Id: Ia7159c9bed9d7f823448acd02e18568a5f3f2093
Reviewed-on: https://gerrit.libreoffice.org/10717
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-08-04 12:11:02 +00:00
9bac4d413e typo: more then -> more than
Change-Id: I2e477d66f25bde7256938ccb1f95ab26add24922
2014-08-01 23:40:12 +09:00
551f76f410 Drop unnecessary SfxApplication::CreateResManager wrapper
Change-Id: I2b8662ec85b8f710aa17a2c6f59c4b35af7685f3
2014-07-29 14:27:43 +02:00
7515b1a90f fdo#63756 build libxml2 with ICU support
Change-Id: I0523e49e640812be435ba4c97b1881ca253eb2ab
2014-07-20 10:15:25 +02:00
f4a8d7cd10 Related: #i125226# expect DDE servers to be already up
"soffice" is always up anyway and other DDE apps should be started manually

(cherry picked from commit e0bfdb26cef87c8d3b3435293116a33cf99c11f0)

Conflicts:
	sfx2/source/appl/impldde.cxx

Change-Id: I52ebb26528952a4abf33ac95cb67c598f08b2790
2014-07-14 09:39:13 +01:00
e56f9da481 MD_DDE_LINKEDIT conversion to .ui
Change-Id: Id058400bad5a8b100ef5a07060ea1c5013c6e6d6
Reviewed-on: https://gerrit.libreoffice.org/10146
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-10 13:17:49 +00:00
d1fc47793c Related: #i125226# disallow absolute and relative paths for DDE servers
(cherry picked from commit 6b64ada6e3a902ac4b44fe49476514d49138d4d4)

Conflicts:
	sfx2/source/appl/impldde.cxx

Change-Id: I127add375a127dbbd0eaf12a10884e2636f1a332
2014-07-10 14:04:10 +01:00
13b68e24db Related: #i125226# some macro preferences are directly...
applicable to DDE servers

(cherry picked from commit 2c835e761e1e9ddb6794895e6f3538b918160dd1)

Conflicts:
	sfx2/source/appl/impldde.cxx

Change-Id: Ic16b3df34ac1b003a8a5cabab15ea655d05bdd18

Related: #i125226# typo fix

(cherry picked from commit 727ea069c6342e01a50c8b068ec302574b251cbd)

Conflicts:
	sfx2/source/appl/impldde.cxx

Change-Id: I8db53b7e8529d05e660a2d69e669b44c9045712c
2014-07-10 14:04:09 +01:00
b16f164650 Related: #i125226# don't try to access known-bad DDE servers
(cherry picked from commit 88de6a59d9d7933b86fdcba733277aa4fbd5e132)

Conflicts:
	sfx2/source/appl/impldde.cxx

Change-Id: If4dcd49cfe15188d06e4e06cd8e58cdcc66ed5a4
2014-07-10 13:54:04 +01:00
5fb8f03be6 coverity#1224981 Dereference null return value
Change-Id: I1623f7d61e849a59c8f23f2df18827df4a9c25c0
2014-07-10 13:39:15 +01:00
c6fc2647c8 coverity#1132691 Dereference null return value
Change-Id: I0da2f6956cf7675cce0d7d82a0ec797b50542c7f
2014-07-10 13:39:15 +01:00
6a20b62711 salplug:literaltoboolconversion
Change-Id: I94b3bea97b6b4710bd4bf4c0fe88a1518a151de5
2014-07-01 23:19:17 +02:00
6bb92c5eaf Make sure IMPL_STATIC_LINK's type matches Link::pFunc's type
...to avoid -fsanitize=function warnings in Link::Call.

Change-Id: I837b35bd3052716fbb41bf4f893961257d1f9b2c
2014-06-30 18:30:40 +02:00
430484932e Typo: beeing->being
Change-Id: I34937e400ac8576154d33e1e11b80690222f532c
2014-06-29 13:15:51 +02:00
d92aa2f445 remove SFX_APP() macro that was a mer wrapper for SfxGetApp()
Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
2014-06-27 17:08:04 +02:00
4cda79cec3 loplugin:staticcall
Change-Id: Idea97df52106af64f6c5605460756d48296551e2
2014-06-26 22:57:11 +02:00
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
7c2f000085 loplugin:staticcall
Change-Id: Ie5e9e21f4c592c58094afc954f1de54512719fd5
2014-06-13 17:54:32 +02:00
ca1b74f647 coverity#704789 Dereference after null check
Change-Id: Iac238d68502cab137ce1530bffca4909cd9ea956
2014-06-06 11:32:54 +01:00
a4440671a9 fdo#79597 Password UI: correct typo for 1 character
Display a different string in case of 1 character for minimum length

Change-Id: Iba2fbbb7d4101718def7c79ce5354debf5d97041
Reviewed-on: https://gerrit.libreoffice.org/9631
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-04 08:29:03 +00:00
7a211e834f Resolves: fdo#79360 impress hangs on using sidebar new style
because those styles are "pseudo-styles" and a new one cannot be
added. The possibility is supposed to be disabled, and it is
disabled in the floating stylelist. The old code assumes there
can only be one of these stylelists and when a stylelist
queries if the "new" should be disabled the callback asks
the stylelist what family is selected, but only asks the floating one.

So, floating closed, sidebar open, the new is not disabled.
Implement the ancient TODO now that we have to. Instead of asking
the stylelist what family is selected, query the frame for what
is the current SID_STYLE_FAMILY as set by whatever is the active
stylelist.

What's disturbing is the SID_STYLE_FAMILY values are not SfxStyleFamily, but
indexes that have to be mapped to SfxStyleFamily. I bet there are a pile of
bugs around that, especially with little islands of different conversion
codesites

Change-Id: I85c8032d7c26ae6eea245685748f89b2a860e767
2014-05-30 11:38:04 +01:00
947feaa896 pTemplateCommon is never set, so always NULL
Change-Id: I2311b33034c281cba66d7cce80a6556e27b2b322
2014-05-29 10:30:28 +01:00
56c4dbe523 cid#707147 Uncaught exception
Change-Id: Ie49e70c3fa7704727129e613814aaf559d1a7fb6
2014-05-27 10:50:04 +02:00
e7bc3cab01 remove boilerplate in UNO Exception constructor calls
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.

Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02:00
0f9f8e05dc speed-up writer conversion in headless mode
Change-Id: Ie5ccd62608c0643e3c8f019aea136ba74b282274
2014-05-21 20:55:08 +02:00
8d54796bf1 enhance pass-by-ref plugin to detect large arguments
Detect arguments larger than 64 chars passed by value.

Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-20 11:17:22 +02:00
3db8d606d5 hrc and src files: squeeze multiple newlines
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done

Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-19 20:04:22 +02:00