Commit Graph

3735 Commits

Author SHA1 Message Date
b1a5e34e27 Revert "Related fdo#81475 Improve toolbar tooltips in Writer standard toolbar"
Unfortunately this breaks the Edit menu - it is now crowded with long texts;
so while it may improve the toolbar, it definitely breaks the menu.

This reverts commit b59c5ace4b7213ffd62495d0c0e5b6411f5071be.
2014-09-22 19:00:19 +02:00
3c6da8e49a Related fdo#77813: $(workdirurl) was always empty
Regression introduced with cb021fcafba06ccf973f2abe229a4761c0a002de "fdo#46037:
remove 1 comphelper/configurationhelper in framework."

Change-Id: I07727d93315e0d3d87004ce71708271e90a173a3
2014-09-22 14:16:27 +02:00
4e0744b002 Unwind one level of cluttering indirection
Change-Id: Iceaed0e5490b6002c1421d74dfb8f2d0ba38cbf5
2014-09-22 12:14:24 +02:00
8da21eca45 vcl: Allow creation of button content from action name (.uno: commands).
Change-Id: If4b2aef59d45a848fb77de9e1b7bf80d49548a75
2014-09-22 11:57:00 +02:00
b59c5ace4b Related fdo#81475 Improve toolbar tooltips in Writer standard toolbar
and show the shortcut in the tooltip also when there is a custom tooltip

Change-Id: Ia3f5d17df3769479f7aacf63a83507ccb8593103
Reviewed-on: https://gerrit.libreoffice.org/11303
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-21 16:06:18 +00:00
5278a0e3a7 fdo#81237: OpenGL window is not resized by view change
Reproduce:
- Create a 2D OpenGL chart
- Step out from edit mode
- Zoom in / zoom out

Behavior
- Chart window is not resized, it has a constant size.

When we step out from chart edit mode the chart becomes
an inplace active object (instead of UI active) which means
the m_xDockingAreaAcceptor is removed. On the other hand
it seems we don't actually use this m_xDockingAreaAcceptor here,
so don't need to check whether it exists.

Change-Id: I056109b6e5cac28cdd2aeb8fabd9190413a16ed5
2014-09-21 15:49:54 +02:00
60e78fbb80 fdo#82577: Handle Font
Put the VCL Font class in the vcl namespace. Avoids clash with the X11
Font typedef.

Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-18 08:54:37 +02:00
b53b5081a8 framework: sal_Bool -> bool
Change-Id: Ie56d3fe674af048d7aea32f141c5825e4c2aa98b
2014-09-12 11:48:34 +02:00
d22edd44b5 vcl: It's a close button, there is no such a thing as a 'closer'.
Clean up at least vcl + what depends on that, but unfortunately there are
still some "Closer"'s left elsewhere...

Change-Id: I019c863d07ee62d701ff01c8d871334012c105f1
2014-09-12 08:41:29 +02:00
037d03b9fa Typo: (N|n)ormaly->(N|n)ormally
Change-Id: I96d081f394b0b62d99ec1034bf5e99da9aedd9d9
2014-09-10 22:35:39 +02:00
846c5a0d3f Fix indentation.
Change-Id: I0fb904353bc79199d7df957cf756883e425c97eb
2014-09-09 06:58:27 +02:00
57a4337e25 set names on a bunch more threads...
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-08-25 13:21:59 +02: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
d15d7b7bba Open the right tab for the More... command
Partially fixed by Caolán in
3ac80237f310366afef0f7b6c427889d652bd369.

Remaining issues are the paragraph submenu, and the top
menu for both selection and paragraph. Also fixed for
the drawing text and annotations shells (including the
regression created by the above commit, that the dialog
didn't show at all).

Change-Id: I1ba4c825ad48af23ad5c07c8c5f25380952c0be1
2014-08-22 14:33:28 +03:00
a0de5cc93d fdo#529470: I can't remove a path in AutoText dialog
This is, not surprisingly, somewhat weird code, but I think this patch does
what is necessary, it does fix the bug.

Change-Id: Ie1947b311f1455ba48a904f5ef42ad92899fac31
2014-08-19 21:03:05 +03:00
3b6091ca42 document the swap-on-free idiom usage
Effective C++, item 17

Change-Id: I5c6f20c9631f1ca86b481a56ef08d578a7addbad
2014-08-18 11:07:31 +02:00
748ed65ffb drop TabControl resource loader
Change-Id: Idb909c205dfadaadeb8b98ce08fe2f4286cfce26
2014-08-15 17:02:59 +01:00
3ac80237f3 Resolves: fdo#81795 open the font tab via More... languages
a) FontDialog doesn't take a Language argument, so drop that
b) Give FontDialog a Page argument and set it to "font" when
   called from the status bar More... menu entry

Change-Id: Ibaf4d5e51d47794b8b0e3c3e06a6d8e00a7d2896
2014-08-11 16:56:46 +01:00
5b9509115b fdo#71625 Don't loop autosave if userautosave fails
Should also fix most of the reports of fdo#46635
(I have no idea regarding the original report,
because it predates the autosave feature.)

Change-Id: I006d62053a159ab3157438a57dee56d6d99990a8
2014-08-10 15:55:07 +03:00
9bac4d413e typo: more then -> more than
Change-Id: I2e477d66f25bde7256938ccb1f95ab26add24922
2014-08-01 23:40:12 +09:00
8a406391b1 Recovery files can have an extension
Looks like unintentional change made in
c4a593b6b1732def0a21f455c0ca50f82a9bc40d

Change-Id: If314a3f290c79909e3a807f9c9c95791c26067e9
2014-07-28 15:09:32 +03:00
16c4dcf4e6 coverity#704648 Dereference after null check
Change-Id: I52b5fa71a440778d3423db84a3bf374f0c2654b9
2014-07-26 21:25:17 +01:00
d5fb4b7319 Typos
Change-Id: I0c17f40b3e593ae3771fa751a817f84bf2f2323d
2014-07-23 22:23:52 +02:00
23e818d4f5 AmbigousFilterRequest is only ever extracted, never created
Change-Id: I79c669c1635192199d6ef135e1ab9b48a9e7e63a
2014-07-23 10:49:30 +01:00
594a5e20f7 coverity#1224998 Uncaught exception
Change-Id: I96db9ab47b9494a1d71259e93ad393bd70c39d97
2014-07-14 09:21:00 +01:00
1fc3126439 convert GlobalImageList to SimpleReferenceObject
instead of hand-rolling it's own reference counting

Change-Id: Ie90cdce49b9dab68f1bdf487b0f308e03464f893
2014-07-11 15:44:21 +02:00
3a93809df9 improvements to ShareableMutex
- add some docs
- remove unnecessary null checks
- improve field name

Change-Id: I8299ec0d56ee5d903f05f2790f97f90ca00663cb
2014-07-10 11:04:10 +02:00
f9ac894247 clang scan-build: Called C++ object pointer is null, a good catch
Change-Id: I4fbb37560f7b20fd6854ba9bb8d017352be679b6
2014-07-03 12:49:38 +01:00
a9fc9f4a9f Drop unused E_NOEXCEPTIONS
Change-Id: I558684352cc99002752d4c5d118a0c46572bd6f0
2014-07-02 14:56:52 +02:00
b6df953c8f Drop unnecessary ITransactionManager base class
Change-Id: Iebed1d63ff76fdc9b82ce6ce8860592606500e38
2014-07-02 14:56:52 +02:00
e50ef195bc New loplugin:stringconcat
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-07-01 15:45:52 +02:00
b232607e45 Typo: easiear->easier
Change-Id: I4e10f74e46ef79c3a56dcfb3d1e1bb90d8b5aecf
2014-06-29 00:11:19 +02:00
5b621a30cc clang: Dead assignment
Change-Id: Ifcbfe29f116d43cc4e65641e24a302e4cdd71129
2014-06-26 16:29:15 +01:00
533c6cb6ba fixes for up-casting to Reference<XInterface>
Fix regressions introduced with
6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 "Use the new type-checking
Reference constructor to reduce code noise"

Change-Id: I85662856f21c810a7db497fe3b0e116f075b1687
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-06-25 17:10:43 +02:00
1dac3254d5 allow a frame to go from init state to close
without an intermediate working stage so it can be disposed after creation, but
without a prior initialization like CppunitTest_services does

Change-Id: If2679fd0ce3657e727e34cfb0752501fc82df936
2014-06-24 16:05:50 +01:00
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
06b51293f6 loplugin:staticcall
Change-Id: I6301c6d01b62540d0a765b78323a46ee3a4965c8
2014-06-13 17:54:28 +02:00
da8bfce257 Fix memory leak
Change-Id: Ib0a2d8d69f5bd43872c949d79c685f71657dc9db
2014-06-13 17:42:58 +02:00
dd90d9b6d7 -Werror,-Wtautological-undefined-compare
Change-Id: Ibd738b91d35a1b82e1e7b078ef73c6f6076dc08a
2014-06-10 11:41:08 +02:00
184a00b962 loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
eda624641b lp#1296715: refresh invalidated menus
- so we need to be a StatusListener in framework after all
- we ware updating all menus for now, instead of just one
- this would have a hugh performance hit when there is much change to the menu
- thus we just invalidate the menu and update with all changes after 100ms once

Change-Id: I48cda968cf0ae1eae0421b3424bb3e5830817e84
2014-06-05 11:10:57 +02:00
0e507ae031 various: remove SAL_THROW macro
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-05 08:17:52 +02:00
cc25f70ef1 compareTo -> equals
convert OUString::compareTo usage to equals to startsWith where it
is more appropriate

Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-06-04 11:52:34 +02:00
1d2993df98 coverity#737167 Uncaught exception
Change-Id: I9ac3ffbecf8c9efc0b69ad4606c61dbf8fa5a0e9
2014-06-04 09:38:12 +01:00
f634cda2a2 avoid problems with poppler's and vcl's FontInfo during runtime
Change-Id: I1dbd256812cccae1e6ed0ad8bb34ce427e5e5be8
2014-06-04 07:49:15 +02:00
229abf40ac coverity#1219794 Uncaught exception
Change-Id: Icc9e5faf9ef15840c359b7766112278094d52dea
2014-06-03 20:10:17 +01:00
0301abbbc3 coverity#1219801 Uncaught exception
Change-Id: I372c1891e41510c24daf256d00f3ca98e8a374a9
2014-06-03 20:10:17 +01:00
d9e7a359ef coverity#1219797 Uncaught exception
Change-Id: I597fb90d677e7cade71bf6cbf7f7bce9d3bd05f6
2014-06-02 16:59:57 +01:00
4957262473 coverity#1219799 Uncaught exception
Change-Id: Id1903def4869bccef18f8a1132521d4f24fed551
2014-06-02 16:59:57 +01:00
1ae89d1892 fdo79368 Don't process overflow menu items twice.
We reuse the toolbox overflow menu for toolbarmanager's context
menu -- toolbarmanger previously added its menu listener to the
toolboxes menu permanently, meaning that it would try to handle
overflow menu items (in addition to the context menu items which
it should handle), instead we should only add the listener when
we are actually using the menu as a context menu.

Perhaps it would be better in the long run to actually use fully separate
menus instead, and ask toolbox to specifically add its items to that
rather than trying to hack the context menu on top of the overflow menu?

Change-Id: Iecface2c6eae9ab79dbcdb25ffdbaf446e2885ea
2014-06-01 08:42:46 +01:00