5719 Commits

Author SHA1 Message Date
Eike Rathke
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
Marcos Paulo de Souza
4d6560f506 fdo#54938: Convert some places to use cppu::supportsService
The last cases are non obvious, so it's pratically done

Change-Id: Icae1da8e238f516eaed0f7fbdf96fff778eac547
Reviewed-on: https://gerrit.libreoffice.org/8445
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-03-04 07:30:02 -06:00
Stephan Bergmann
7d3909b493 Remove unused SERVICENAME_FRAMECONTROLLER
Change-Id: I603d5bd978b7e7a6737ab90c6de1be5c02bbf311
2014-03-04 13:15:45 +01:00
Alexandre Vicenzi
e218663251 fdo#63154 Remove unused solar.h
Removed from dbaccess. editeng, filter,
framwork, formula, lotuswordpro, reportdesing, rsc,
uui

Conflicts:
	framework/source/uielement/menubarwrapper.cxx
	reportdesign/inc/RptDef.hxx
	uui/source/iahndl.hxx

Change-Id: Ia6f1d8679736c3de99bd8060d8a7f76975268273
Reviewed-on: https://gerrit.libreoffice.org/8118
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-28 15:01:05 -06:00
Caolán McNamara
a5b57622f9 coverity#1187865 Uninitialized scalar field
Change-Id: I69026472ac720f0dd41710033b3ec3b5f14ccb2c
2014-02-27 12:58:51 +00:00
Alexander Wilms
fcbefea017 Remove visual noise from framework
Conflicts:
	framework/inc/dispatch/oxt_handler.hxx
	framework/inc/services/layoutmanager.hxx
	framework/inc/tabwin/tabwindow.hxx
	framework/source/dispatch/menudispatcher.cxx
	framework/source/helper/dockingareadefaultacceptor.cxx
	framework/source/helper/ocomponentaccess.cxx
	framework/source/helper/ocomponentenumeration.cxx
	framework/source/helper/oframes.cxx
	framework/source/layoutmanager/toolbarlayoutmanager.hxx
	framework/source/recording/dispatchrecorder.cxx
	framework/source/services/desktop.cxx
	framework/source/services/frame.cxx
	framework/source/services/urltransformer.cxx

Change-Id: Ibb04e3f6f0796e7f2be16dcce38542f8b90708d4
Reviewed-on: https://gerrit.libreoffice.org/8265
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 14:41:41 -06:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Noel Grandin
a77461db60 remove unused code framework::MenuManager::getContext()
Change-Id: I3b6d8bf6d83033b36a2e72eb5c984f5d9c47b771
2014-02-25 15:16:57 +02:00
Noel Grandin
6fe80c5b46 remove unused code framework::MenuBarManager::getComponentContext()
Change-Id: If640b2662d47593c33d0f90cdafe448383546872
2014-02-25 15:16:56 +02:00
Caolán McNamara
838b77f5f3 Resolves: rhbz#1065807 use xdg ~/Templates for default Template location
(if it exists)

Change-Id: I98fc9fd54d1f56c8bed24ce4d2ebf53756ded2cc
2014-02-25 10:45:27 +00:00
Stephan Bergmann
33740b7d5a Replace exisiting TriState, AutoState with more generic TriState
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-24 12:27:32 +01:00
Caolán McNamara
44f5f2bd34 coverity#704648 Dereference after null check
Change-Id: I0b6c5dc5b1225fb15c99401501b2c5cc2bb94b58
2014-02-23 14:22:44 +00:00
Caolán McNamara
cc39a4b7d1 coverity#704647 Dereference after null check
Change-Id: Ifc74e903f13e6065c507d9a90825e588c5e88a42
2014-02-23 14:22:44 +00:00
Alexander Wilms
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
Tobias Lippert
076a7eacca Bug #63962 Dynamically scan the config directory for icon themes
The hard-coded icon themes have been replaced by a dynamic list
which is filled by scanning the config directory

Conflicts:
	include/vcl/settings.hxx
	vcl/source/app/settings.cxx
	vcl/source/window/window.cxx

Change-Id: Ie3680ffe27d06e375acf22753e036cb6ddabc4ed
Reviewed-on: https://gerrit.libreoffice.org/7935
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21 17:23:50 +00:00
Caolán McNamara
4712767c19 coverity#983681 Uncaught exception
Change-Id: I13b97703f6f9c3411e6da8ec3c71f6e51c8bfc13
2014-02-21 15:30:24 +00:00
Caolán McNamara
ea7d4d24ae coverity#738658 Uninitialized scalar field
Change-Id: Ia8881da44745b771fea69b74e58875658aafb15e
2014-02-21 12:40:26 +00:00
Caolán McNamara
e681a45baf coverity#738660 unused members
Change-Id: I59cc7a044b54643e00132d51c932f0e703e3ff4f
2014-02-21 12:40:26 +00:00
Stephan Bergmann
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
Tobias Lippert
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
Stephan Bergmann
973b47a336 unotools: sal_Bool -> bool
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-19 12:47:07 +01:00
Andre Fischer
ce96f8b02e Resolves: #i122576# Reset the docking area acceptor in the destructor
(cherry picked from commit 0e90517f3dd568cfe2be4bf8c256b94c9401d046)

Conflicts:
	framework/source/layoutmanager/layoutmanager.cxx

Change-Id: Ib053a1b474434f81608a04ca0d30dd32fe410e5a
2014-02-19 10:26:40 +00:00
Oliver-Rainer Wittmann
6ba4d125f6 Related: #i124096# correct LayoutManager::m_xDockingAreaAcceptor clear...
on disposing

(cherry picked from commit 50b10da7434d774ac463c148bbaeb051d2b3a22d)

Conflicts:
	framework/source/layoutmanager/layoutmanager.cxx

Change-Id: I51fe74698f00fadba9afaeb0f8e9f66b85f208cb
2014-02-18 16:11:05 +00:00
Takeshi Abe
d548b250db Drop unnecessary #include
Change-Id: Ib9ab63cdf21f54b1611de37c5538a300a1b39ba6
2014-02-18 13:24:11 +09:00
Noel Grandin
2b3b3373eb cid#736778 dereference before null check
Change-Id: I2d26b5447e06e0b0d08e45452ef5507b75a4d3ff
2014-02-17 14:04:34 +02:00
Caolán McNamara
31ed7bc8c2 coverity#737240 Uncaught exception
Change-Id: I9cff764c2ca451752f2343cedd26530bd9a0e9a7
2014-02-13 14:56:22 +00:00
Caolán McNamara
9a34c55529 coverity#737239 Uncaught exception
Change-Id: Ic9635e77e5fd4e356b30aac314c7438060b82a58
2014-02-13 14:56:21 +00:00
Caolán McNamara
24949f84ae coverity#737202 Uncaught exception
Change-Id: I2ac23ed9f308b92ff9457938b265677f008aaca7
2014-02-13 14:56:21 +00:00
Matúš Kukan
c388071c4d remove now empty fwk_component_getFactory
Change-Id: I5f2f5fc9ccc75b145572aa0bb88b00b0d7a5872d
2014-02-13 11:27:21 +01:00
Matúš Kukan
2d46ef6da5 fwk: Constructor feature for single-instance framework::Desktop.
Change-Id: Id582e672c0b41a35d25361f7dfe970a767880b2a
2014-02-13 11:27:15 +01:00
Matúš Kukan
ce02519c5c Introduce com.sun.star.frame.theDesktop singleton.
Change-Id: I3d269609119149e289652f6bc106e6bd9061672d
2014-02-13 11:26:33 +01:00
Matúš Kukan
924a415e68 cosmetics
Change-Id: Ice4f20db3a590568a7ae4ae59fa0c4ff13e59051
2014-02-13 11:26:31 +01:00
Matúš Kukan
eb1799714c cleaning the code a bit
Change-Id: I4cc9c16fb79f669ae70d10a50ace3943075edd46
2014-02-13 11:26:29 +01:00
Matúš Kukan
5691ef0b4f Move this Singleton class to anonymous namespace.
If you add more Singleton classes into framework namespace,
it builds without any warning but I was not able to see menu text
labels.
Luckily UICommandDescription is involved in this and the problem was not
hidden somewhere else.

Change-Id: Iba0c06c2e31ae509579f31308d9f45f0cb9f654f
2014-02-13 11:26:27 +01:00
Matúš Kukan
9a4056c18f Do not use pattern::configuration::ConfigurationHelper.
Change-Id: I9cf913f085a2c6862e44803485ab63e2b4572eab
2014-02-13 11:26:26 +01:00
Matúš Kukan
dae2b047f9 Remove unused ContainerQuery constants.
Change-Id: Ib9f96f79d805c91e80fa5366c71e3e975ebabe90
2014-02-13 11:26:24 +01:00
Matúš Kukan
d8db7f0f44 ModuleManager should be static; and simplify.
This saves some cycles used to open configuration many times.

Change-Id: I12cc7ac87df897a518368094b12d8dcb5be4e3b5
2014-02-13 11:26:22 +01:00
Noel Grandin
25c1e9cca2 cid#705176 missing break in switch
Change-Id: Iaa331cc259aed93ffa7c3544586f800a795cc25d
2014-02-12 08:59:05 +02:00
Caolán McNamara
3c1cc16bb7 coverity#704234 Logically dead code
Change-Id: I9a1010e6a7d830853a79cafa71a867f16fcceabc
2014-02-11 20:21:49 +00:00
Matúš Kukan
c864bd3105 fwk: Constructor feature for one instance ContextChangeEventMultiplexer.
Change-Id: Ibb89e4dd46fc5d1f8a85f96b7e4677fa764bb112
2014-02-11 11:28:55 +01:00
Matúš Kukan
72139db6b4 fwk: Constructor feature for one instance SessionListener.
Converted as usual service implementation.

Change-Id: I37c2f25e8a463abb236753c1299cc0aeb3007cd9
2014-02-11 11:28:55 +01:00
Julien Nabet
70d8b26810 Typo: acess -> access
Change-Id: I8fb5efa49ccd886fa0172fdc59ede0821ecce486
2014-02-10 16:48:31 +01:00
Matúš Kukan
4c726e9607 Survive missing UIElementFactories.
And try to not use AddonsToolBarFactory in native code generator.

Change-Id: I4782e6c719bdc7e01da14d2ea026e119da542517
2014-02-10 16:46:02 +01:00
Matúš Kukan
d55495daf9 Do not throw if AcceleratorConfigurations are missing.
Which can happen on mobile platforms if we don't want them.

Change-Id: I53639ccc75886708850d2d3a01eec76104b7f2c9
2014-02-10 16:43:54 +01:00
Matúš Kukan
e034b0323c Simplify the code a bit.
Change-Id: I57581fb0f3439ddc4a4848466f6925d962b04aea
2014-02-10 16:43:54 +01:00
Matúš Kukan
cc5ec80521 misc cleanup and unnecessary OUStrings
Change-Id: Idef960995d7b13af049de5a5045b99df642dc3df
2014-02-10 16:43:54 +01:00
Matúš Kukan
e3e1bddb85 Rename ToolBoxFactory -> ToolBarFactory, as the service is named.
Change-Id: Iec6cbefcb6863f14d6c21b2f7fd8e3418cb5d2d5
2014-02-10 16:43:53 +01:00
Stephan Bergmann
463e1cd292 Simplify string literal usage
Change-Id: I216d0af8fd78bec8668ea2a5be7d75f7c1df0c31
2014-02-10 15:58:39 +01:00
Julien Nabet
07d60f88f2 Typo: adress -> address
Change-Id: I8b6c66b6919f84c36e43a716d4d62fea5cde6568
2014-02-10 15:58:05 +01:00
Caolán McNamara
6e73260a30 coverity#1169845 Uncaught exception
Change-Id: Ifec059d66b92233fbff967a5da6fdc88915eefb1
2014-02-10 14:48:44 +00:00