1df1c5eed9
formula: std::auto_ptr -> std::unique_ptr
...
Change-Id: I7b4784abf5177e22a9df33c5d4faccfd39801b11
2014-09-26 15:47:03 +02:00
827c46e7d7
fdo#82577: Handle Window
...
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.
Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-23 14:11:39 +03: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
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
935147ce9c
convert OSL_... to SAL_WARN
...
Change-Id: I073b6f985c4a67f56319e03790b2bceee2f957ff
2014-08-22 19:50:52 +02:00
0be29a469c
reactivate the verify
...
Missed this earlier. Should be a SAL_WARN, but postponed.
Change-Id: Ia6b178702461c8a0fa5ded3e1c47795b95da7d98
2014-08-22 02:54:32 +02:00
c0aba5007b
fdo#82183 do not reset globals while loading a document
...
Destroying the function list while an instance of the Formula Wizard is
still open is a bad idea. Workaround not doing this when loading a
document due to a DDE function or external reference being entered in
the wizard.
Change-Id: I6fa00fb4f442bf7c9410679e446ff460289e4b16
2014-08-22 01:12:18 +02:00
a240a78cc7
Fixed size of 'formula' dialog in Calc
...
Fixed:
1. Open Calc
2. Open formula dialog
3. Choose AMORDEGRC function or other with >= 4 params
Edit field is covered by other controls
Change-Id: Ie14ff91a17373e11bc8ef6477f4f22c0ea4570c3
Reviewed-on: https://gerrit.libreoffice.org/11035
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2014-08-20 03:12:31 -05:00
e79c427247
remove unused dlg resources from dbu_resource.hrc
...
Change-Id: I70c5f673413bb6ac2d37a5c15b52fcd26da6683a
2014-08-09 18:12:08 +02:00
3d65212809
fix memory leak around function descriptions
...
Found by Lsan.
Change-Id: Ia443ed6eb2a20854998a615f3c2bd9fdac156a8c
2014-07-31 22:14:25 +02:00
3fdd4f069d
Explicit virtual dtor needed for auto_ptr member for MSVC.
...
Else it won't build.
Change-Id: I6d857ffc7a444abaf477ee820e577757287a707c
2014-07-08 22:50:04 -04:00
a86d511c1f
trivial conversion of RID_FORMULADLG_FORMULA_MODAL to .ui
...
Change-Id: I25f29821079cf4fa4759daffe78bec8c4b48abbc
2014-07-08 20:49:41 +01:00
0e09134a4a
callcatcher: update unused code
...
Change-Id: Ia25c686dac799707cae3f6112c731f8cd3f686c2
2014-06-19 10:26:48 +01:00
8309bf5886
remove helpids that are unused or go nowhere
...
Change-Id: I5af0b84ff4a85e72f5068d450a04d01df0592d3b
2014-06-17 21:13:15 +01:00
73e4a5d091
give refedit in formula wizard an initial size
...
Change-Id: I8e19c29c47dea2f7cff754e81ef51fc9898fdee8
2014-06-17 21:03:46 +01:00
c842486ab0
restore these for the moment, still in use in sc
...
Change-Id: I6967a3c871338d1801d913d9bb54eba50a7660ca
2014-06-17 20:49:14 +01:00
b15230153c
I could fight with ValWnd to fix it, or I could replace it
...
it's not handling resizing and redrawing well, so just drop
it in favour of a read-only edit
Change-Id: I5e6f85cf9326b908bf1bf835d8da0c49ca9209c9
2014-06-17 20:42:35 +01:00
0cf14968aa
RID_FORMULADLG_FORMULA conversion to .ui
...
Change-Id: I098c9ee9d22ac0401faf7fc6d65e91bf5b4b2bf8
Reviewed-on: https://gerrit.libreoffice.org/9797
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-06-17 19:42:15 +00:00
3e82897353
improve the inlinesimplememberfunctions clang plugin
...
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
184a00b962
loplugin: inlinesimplememberfunctions
...
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
e44e09c400
whitespace clean-up
...
Change-Id: I10bdfc3356bda66fefa59fa2c9f63f9231d8728e
2014-05-23 02:50:43 +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
a921d38ad4
No more SetCompileForFAP(). Use respective flag setting methods instead.
...
Change-Id: Ib2256ebac8a7e63e7e24fb35d13d47b811bd8e19
2014-05-14 13:15:11 -04:00
ee636db4dd
coverity#1169835 Improper use of negative value
...
Change-Id: I1857f5c712f9407c8a4b69f30044e8bb444afad2
2014-05-11 21:05:54 +01:00
32efd885e5
formula: sal_Bool->bool
...
Change-Id: I3280b4d4b02e6a6fa22bc250e56a3c6ae77fc675
2014-04-23 11:10:08 +02:00
0882cc6675
fixincludeguards.sh: formula
2014-04-19 11:10:06 +02:00
712d2793ec
Remove unused code
...
Change-Id: I1355317d6baeb180417cb5f1f34038925c1299cf
2014-04-14 12:49:20 +02:00
6835d9f307
It's "its", not "it's"
...
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
362d4f0cd4
Explicitly mark overriding destructors as "virtual"
...
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."
Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
4b060ce51a
Remove remaining DBG_CTOR etc. remnants from formula
...
Change-Id: I36740cd276d2047552298606f24b2696ed61b36b
2014-03-28 15:34:01 +01:00
567ef6d578
Second batch of adding SAL_OVERRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
436cd90095
svtools: sal_Bool->bool
...
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
2014-03-25 14:32:56 +02:00
8a0d8f4c0b
coverity#738657 Uninitialized pointer field
...
Change-Id: I37c946d37a7f3add6b6798b15f5fb6ab4b7274ff
2014-03-22 20:18:46 +00:00
68ec95b3f8
made ListBox handle more than 64k elements, fdo#61520 related
...
ListBox and related now handle up to sal_Int32 elements correctly.
sal_Int32 instead of sal_Size or size_t because of UNO and a11y API.
Also disentangled some of the mess of SvTreeList and other containers
regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures.
Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a
Reviewed-on: https://gerrit.libreoffice.org/8460
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2014-03-05 07:31:19 -06:00
cf5ac4dd3c
remove unused code formula::FormulaDlg::CheckMatrix()
...
Change-Id: If7b09d032d0155a38b5d5e8aa1832c86a8f7cec1
2014-03-05 09:17:42 +02:00
224f6c17f7
Remove visual noise from formula
...
Change-Id: Ie7503623ad9bec1806345f65b435c7bd94a08c2b
Reviewed-on: https://gerrit.libreoffice.org/8263
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-26 14:50:17 -06:00
819cc64318
coverity#735751 Dereference after null check
...
Change-Id: Id7e11fefec40d11c509bde01533122ca68db7402
2014-02-24 12:53:08 +00:00
0ce0c369aa
Remove unneccessary comments
...
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-23 03:38:49 +00:00
e8f8f24c84
vcl: sal_Bool -> bool
...
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
a18a1a4545
Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
...
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.
Conflicts:
sc/source/ui/dbgui/pvlaydlg.cxx
Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-20 16:22:17 +00:00
cabf650ad0
sal_Bool->bool
...
Change-Id: I3589b3fb44ad57140567338809513b3df7c7eba5
2014-02-19 13:04:57 +02:00
ae2f7da4f9
sal_Bool->bool
...
Change-Id: Id5cbf2c94e3d3ff27cdb8998e2b7b3b712b537ec
2014-02-19 13:04:57 +02:00
4003da2f87
sal_Bool->bool
...
Change-Id: Id314bacb8af5c75ecce73a0b7cfee45f36db93da
2014-02-19 13:04:56 +02:00
2e71918d49
sal_Bool->bool
...
Change-Id: I628c1506573c7d5ec182048a20ed996c9ae879c4
2014-02-18 10:08:03 +02:00
0b9f65d05c
coverity#1169835 Improper use of negative value
...
Change-Id: I73b9ea3f1da05c8ddfd8e0b2da526b65dc1891bb
2014-02-09 15:30:28 +00:00
9b667561c3
coverity#1158192 Improper use of negative value
...
Change-Id: Ie5b455f3895e9ff53caf773e319d3342642b9945
2014-01-29 13:23:54 +00:00
78ddd6090c
bool improvements
...
Change-Id: I9be9755170694a0071720080af4b8f2c9298f916
2014-01-28 20:26:28 +01:00
602c87b425
Window::PreNotify should return bool
...
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-18 00:37:49 +01:00
00d0a50e3b
Window::Notify should return bool, redux
...
Change-Id: Ib41ed9ace428081e1948cf109de095ea9e7c45c2
2014-01-17 18:45:17 +01:00
e7c10fba90
remove usage of STRING_NOTFOUND in formula.cxx
...
and tidy up the method a little
Change-Id: I408fd96286749ec9e3743dbdad8cf424a7bb9035
2013-12-04 08:55:35 +02:00