Commit Graph

6171 Commits

Author SHA1 Message Date
b6b8ef2508 afl-eventtesting: shutdown cleaner to allow things to deregister
Change-Id: I2dc7c90f1f5a776bb0e6772d2b381116d28dd46f
2015-10-20 21:18:31 +01:00
d85f4558d1 loplugin:defaultparams
Change-Id: I3432d70efd156e59ba9a2ac72de4ec46887d7852
2015-10-20 11:45:42 +02:00
71b4afde11 loplugin:defaultparams
Change-Id: Icf92bef2685c507dd61416260f662dfdd24354d5
2015-10-19 17:50:20 +02:00
14bf708ef5 convert "continue" flag to an enum
Change-Id: I160de1152978f301c514d9107c9e9082bab3cf05
2015-10-16 10:56:05 +02:00
afc9d56bdd 1327208 UwF: Unwritten field
this class is doing nothing useful at all, just remove it

Change-Id: I77f295f96758f8bf5e29fbdaca5eecc08cd5cf83
2015-10-16 10:16:27 +02:00
0e8a40e8b8 calling IsSet() before Call() on Link<> is unnecessary
the Call() already does a check

Found with:
git grep -A 1 -w 'IsSet()'
    | grep -B 1 '.Call('
    | grep ':'
    | cut -d ':' -f 1

Change-Id: Ia7248f5d62640b75f705e539c3d1183e39c0d847
2015-10-15 12:29:01 +02:00
8c1014021d vcl: Initial NotebookBar implementation.
See https://wiki.documentfoundation.org/Development/NotebookBar

Change-Id: I91535c13d68261f7195989ec78bd305cf572c87c
2015-10-15 10:56:32 +02:00
d191d1f9b6 com::sun::star->css in framework
Change-Id: If5a77db83fcbef5ed436f2043ddeb7c515a840dc
Reviewed-on: https://gerrit.libreoffice.org/19356
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-14 06:37:16 +00:00
2e0b989176 tdf#94042 Change autorecovery & autosave to 10 minutes
Change-Id: I53ee3002db38cc7d79cd431fc6254fde5427b751
Reviewed-on: https://gerrit.libreoffice.org/19136
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-13 14:41:38 +00:00
b36963c0a6 Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12 17:52:29 +02:00
bff4c13475 Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY code
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12 17:52:26 +02:00
4855e780dc full fill mostly fulfill
Change-Id: I9dc05c6eea33ede422f6a4c7b76a41c496f3ceca
2015-10-08 10:43:55 +01:00
687bba75da clang-analyzer-deadcode.DeadStores
Change-Id: I2a500b3f376c2dfa073eb7c26978b949412d4dd8
2015-10-07 11:32:46 +02:00
dff288c6ee loplugin:mergedclasses
Change-Id: I3eb2de4edcd4b2d757d1e0916e7c903b5d6c569e
2015-10-07 08:27:26 +02:00
b700e3426e loplugin:mergeclasses
Change-Id: I131d192a0029ec3eebacb72341ba3113de0e19ac
2015-10-07 08:27:26 +02:00
3fbc3adefd loplugin:mergeclasses
Change-Id: I1347e51ef727da81be0c7937cad6e3f5edbf15a8
2015-10-07 08:27:26 +02:00
6fbbb8504a loplugin:mergeclasses
Change-Id: I45ccf880900f46a121c73152615ec3534a47d750
2015-10-07 08:27:26 +02:00
b981473658 loplugin:mergeclasses
Change-Id: I93bb1b9de62d30960028b719ee7ec773358c5c0f
2015-10-07 08:27:26 +02:00
973961ae60 loplugin:mergeclasses
Change-Id: I01810a8db024e207783fc09b88bd932bca8ed103
2015-10-07 08:27:26 +02:00
4c2339d817 simplify
Change-Id: I56941b364c42e725275d80d764c672002ee1e626
2015-10-06 22:05:17 +03:00
fedf965c51 Related: tdf#91097 Support of enum commands in MenuBarManager
Change-Id: Id7fe3075c21030e050c26aaf7ec068935f275b44
2015-10-06 21:59:21 +03:00
a0649f316e Fix typos
Change-Id: Id94c03249b2752e88499628b3ad12936b361bb2f
Reviewed-on: https://gerrit.libreoffice.org/18950
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-10-01 11:26:35 +00:00
58aea3f36c loplugin:unusedmethods
- improvements to the plugin to find more method calls
- improvements to python script to remove more false+
- fix the FORCE_COMPILE_ALL build flag to include code in
  the $WORKDIR

Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836
Reviewed-on: https://gerrit.libreoffice.org/19064
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-01 10:43:24 +00:00
a18fc918d5 Fix typos
Change-Id: I051caee9ec6181074201ac4a8cb6fcec4fdf2293
Reviewed-on: https://gerrit.libreoffice.org/18951
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30 13:50:06 +00:00
a50539e2aa Fix typos
Change-Id: Iab78219aff60a7a45a319a96f326e27a6e8e25b8
Reviewed-on: https://gerrit.libreoffice.org/18953
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30 12:41:09 +00:00
eab0904f0e Fix typos
Change-Id: I81f6f356c1a6873fcc9a3bde487127b673fa9a61
Reviewed-on: https://gerrit.libreoffice.org/18952
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30 12:39:01 +00:00
ac9671f948 tdf#94559: second step to remove rtti.hxx
replaced use of PTR_CAST, IS_TYPE, ISA in
    chart2, connectivity, editeng, extensions, filter, forms, framework, idl

Change-Id: I6a2f9d8bbccb07088413f7552af4b5af8f0cad99
Reviewed-on: https://gerrit.libreoffice.org/18920
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30 06:07:57 +00:00
c50eb68af3 Renamed wrongly prefixed boolean variables
Fixed tdf#94269

Change-Id: I63109cc4e095bad680d7637a065080ea368860ae
Reviewed-on: https://gerrit.libreoffice.org/18851
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-29 18:33:40 +00:00
34180700b2 loplugin:removeunusedmethods, remove unused stuff
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-29 15:08:43 +02:00
e124cd5213 XFrame parameter to SetMenuBar() is actually never used.
Change-Id: I9413f575c0964d6cbf8a32d0b85c9f2c686bb8fc
2015-09-29 11:23:37 +02:00
cc5843daeb framework: remove obsolete Linux libc5 support
Change-Id: I42f7f961615f61002d6c0cce5b7eb44447ba5a64
2015-09-28 15:10:06 +02:00
c6726bdbd2 make gnumeric xml a real LibreOffice filter format
Change-Id: I502f4610718b5c1914a54346c46d4f998c4d370f
2015-09-27 07:38:47 +02:00
6d8124e30c convert Link<> to typed
and remove unused UserEvent class

Change-Id: Ic61c5eef75c36393dbbaa92d93163eab89021ee3
2015-09-22 20:21:55 +02:00
599fab44ad hide ScopedPtr::reset and add disposeAndClear
Change-Id: I55d6e789abd408b8478a2b9ae141d8899af2c309
Reviewed-on: https://gerrit.libreoffice.org/18745
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-21 19:34:16 +00:00
1e67e94f1a convert Link<> to typed
Change-Id: If3e2b00092440ebd42ae5b73ae2b0e44c3702683
2015-09-21 08:03:52 +02:00
1a83f30ebe sw: implement per-view LOK_CALLBACK_TEXT_SELECTION
Also:

- let the unit test set the global LOK flag, as sw code now depends on
  that
- in framework, don't return early after emitting the LOK status
  indicator callback, otherwise CppunitTest_sw_tiledrendering shows how
  sw LOK callbacks are missing

Change-Id: I0c4ac12f2ef5118d29afd131676bcb27d5db7746
2015-09-21 07:30:27 +02:00
99bfc363a6 convert Link<> to typed
Change-Id: I10b050dc4aae45e646761a82520caa96969bc511
Reviewed-on: https://gerrit.libreoffice.org/18700
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-20 06:37:36 +00:00
b1326ecbb7 tdf#76197 Make OfficeMenuBar work again in the start center
Regression of 46666a7720e18238b926531a7082dbb8bc524889.
The code in MenuBarManager::FillMenuManager merges the
addon menu before .uno:WindowList, which doesn't exist
in the start center since that commit.

As a last resort, let's also check for .uno:HelpMenu
(assuming that it's never placed before the Window menu).

Change-Id: If45eebe4351c40d8ed69daba527844ffc02e8458
2015-09-20 08:50:05 +03:00
3a00aaef2a boost->std
Change-Id: Ie490bf2c6921f393bdeed96b1a8815996b701bf0
Reviewed-on: https://gerrit.libreoffice.org/18670
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-18 07:59:14 +00:00
4890dd0c44 tdf#94198 Printer missing from tooltip
Need to update the tooltip also on state change.
This partially reverts the fix for tdf#83558, 1fb8724f9834dbc07b741eeed31b31347bc0c2a1
Verified that the fix for tdf#83558 still works.

Change-Id: I023a5e4b101dc91522f19b0d3ed2ed0c4a47e64b
2015-09-15 11:51:17 +02:00
98236528da convert Link<> to typed
Change-Id: I5c4021c9cb3fdeace7f7d99d580dc7fe2f7c354a
2015-09-15 09:37:32 +02:00
e0714ae393 convert Link<> to typed
Change-Id: I8f3e401afa27778678788b4ac90ea927a2fed1d7
2015-09-15 09:37:31 +02:00
9a1e22daae Replace snwprintf with _snwprintf
Change-Id: Ieb7009f6fbbd7ac6a3532cfa7b71eb0c1339d1ef
Reviewed-on: https://gerrit.libreoffice.org/18524
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-13 05:36:14 +00:00
0cfd6e73c8 Advertise GL rendering in frame titles in dbgutil mode.
Change-Id: I1883d137eb65a030c58e1e4ec11df3e63800339b
Reviewed-on: https://gerrit.libreoffice.org/18512
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2015-09-12 17:35:22 +00:00
03be785efe framework: yet another WeakImplHelper<XPropertySetInfo> dupcliate
There's a very similar comphelper::PropertySetInfo, unfortunately with
an additional mnMemberId on its properties, so convert a little...

Change-Id: I2a5fc0bb0ff6d680d546192b9d09afee6348f218
2015-09-11 22:31:53 +02:00
bf237ceccc valgrind: silence worrying invalid pthread lock/unlock warnings on exit
Invalid read of size 4
   at 0x57F48E0: __pthread_mutex_unlock_full (in /usr/lib64/libpthread-2.21.so)
   by 0x4E903F7: osl_releaseMutex (mutex.cxx:136)
   by 0xB3EECF0: osl::Mutex::release() (mutex.hxx:74)
   by 0xB3EF92C: osl::Guard<osl::Mutex>::~Guard() (mutex.hxx:135)
   by 0xB3F755A: SvtCommandOptions::~SvtCommandOptions() (cmdoptions.cxx:318)
   by 0xB3F75B3: SvtCommandOptions::~SvtCommandOptions() (cmdoptions.cxx:328)
   by 0x2B13BDE9: std::default_delete<SvtCommandOptions>::operator()(SvtCommandOptions*) const (unique_ptr.h:76)
   by 0x2B13A3C6: std::unique_ptr<SvtCommandOptions, std::default_delete<SvtCommandOptions> >::~unique_ptr() (unique_ptr.h:236)
   by 0x2B134063: framework::Desktop::~Desktop() (desktop.cxx:183)
   by 0x2B13418B: framework::Desktop::~Desktop() (desktop.cxx:187)
   by 0x79892AD: cppu::OWeakObject::release() (weak.cxx:205)
   by 0x2B1399B7: framework::Desktop::release() (desktop.hxx:133)
   by 0x2B13B860: rtl::Reference<framework::Desktop>::~Reference() (ref.hxx:81)
   by 0x2B13956B: (anonymous namespace)::Instance::~Instance() (desktop.cxx:1780)
   by 0x54635D7: __run_exit_handlers (in /usr/lib64/libc-2.21.so)
   by 0x5463624: exit (in /usr/lib64/libc-2.21.so)

Change-Id: I98e0e70567ab39a06813fd9b614ba1e04ec22bd1
2015-09-11 10:12:21 +01:00
9af27324f5 convert Link<> to typed
Change-Id: I38f2c15b4f8bb1d7187b019d26a2644b087898c1
Reviewed-on: https://gerrit.libreoffice.org/18357
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-07 06:56:57 +00:00
24d90b8aa8 convert Link<> to typed
Change-Id: I936606b6fdbb5db50661bde68fc8472bb9dd8861
Reviewed-on: https://gerrit.libreoffice.org/18317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04 06:32:49 +00:00
37a6fdf890 loplugin:stringconstant also for cases using char const v[] = "..."
Change-Id: Iba38686620624178a7be39d703389402bbcea4cb
2015-09-03 09:34:00 +02:00
5beffcf3f1 convert Link<> to typed
Change-Id: Ic0482dc5ed26eb2fc6ccde73022eff8b4786de83
Reviewed-on: https://gerrit.libreoffice.org/18258
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-03 07:20:27 +00:00