8100 Commits

Author SHA1 Message Date
Alexander Wilms
bee1cc83ec Remove visual noise from svtools
Change-Id: I7c2b74a449fb20aae5bc643e24a22cf6f732136d
Reviewed-on: https://gerrit.libreoffice.org/8320
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25 21:14:09 +00:00
Julien Nabet
88dee977c2 Typo: alowed -> allowed
Change-Id: I3b02f092e294016a5b50900e94dc1917b6896a6f
2014-02-25 22:11:11 +01:00
Stephan Bergmann
199705b37b Clean up confusing name clashes of non-virtual SvListView member functions
...Expand/Collapse/Select with virtual functions of the same names in derived
classes.

Change-Id: Id2c7e434cc972ac8a789c60ceaf54dc76246be12
2014-02-25 15:51:21 +01:00
Noel Grandin
a8a3560244 remove unused code SvTreeListBox::SearchEntryText(SvTreeListEntry*)
Change-Id: I18d76de5e3280e7efb4dd75bcd5bf819064176e3
2014-02-25 15:16:58 +02:00
Stephan Bergmann
ee120240f7 BrowseBox::bHideCursor misuses sal_Bool for TriState
(TRISTATE_INDET == "smart" is probably obvious enough to not warrant an extra
enum.)

Change-Id: I5fde5294c83c9f805d9df645089665b9dbcfec96
2014-02-25 12:44:37 +01:00
Takeshi Abe
4a9347fa32 Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I8e11ffe888aac8887c4c0875c41de51f343debae
2014-02-25 16:33:15 +09:00
Caolán McNamara
6e0bdf04ad sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through it
which means that icons suddenly reappeared in the menus when the gtk
theme had disabled them

ref e8f8f24c8415898c787bbfb629247ed62e73a2b9

Change-Id: Ia9aef5ca39bda2ddf6d7c4ebc2bddc01d470d09b
2014-02-24 12:53:14 +00:00
Stephan Bergmann
33740b7d5a Replace exisiting TriState, AutoState with more generic TriState
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-24 12:27:32 +01:00
Stephan Bergmann
146c7c5c89 toolkit: sal_Bool -> bool
Change-Id: I5153c4413004d1b50cc503b3e70657bc831a5793
2014-02-24 11:13:42 +01:00
Matteo Casalin
83aa6d8180 Remove some temporaries around calls to SvNumberFormatter methods
Change-Id: Ib03c97a52df120bac1ac9b2b9d2e52431ead1027
2014-02-24 09:08:35 +01:00
Stephan Bergmann
c19cb642db Adapt to osl_atomic_inc-/decrement
Change-Id: I848873b07ab05cefdc755a8bf1301907fdfbc299
2014-02-24 08:08:00 +01:00
Stephan Bergmann
ad73967e99 Remove unnecessary extractInterface
Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
2014-02-24 08:08:00 +01: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
Caolán McNamara
c4a766db25 coverity#441203 Dereference after null check
Change-Id: I166e9ab8d3693568cc2b6a0ecd7d49532508116b
2014-02-23 03:28:22 +00:00
Stephan Bergmann
d41c58164f Strategic SolarMutexGuard
...seen CppunitTest_dbaccess_dialog_save fail with
> abort
> __assert_rtn
> ImplDbgTestSolarMutex at vcl/source/app/dbggui.cxx:1678
> DbgFunc at tools/source/debug/debug.cxx:1123
> DbgTestSolarMutex at debug.hxx:286
> OutputDevice::ImplGetGraphics at vcl/source/gdi/outdev.cxx:525
> OutputDevice::GetFontCharMap at vcl/source/gdi/outdev3.cxx:7740
> OutputDevice::HasGlyphs at vcl/source/gdi/outdev3.cxx:7810
> Window::ImplCheckUIFont at vcl/source/window/window.cxx:447
> Window::ImplUpdateGlobalSettings at vcl/source/window/window.cxx:471
> Application::MergeSystemSettings at vcl/source/app/svapp.cxx:495
> SvtMiscOptions_Impl::SetIconTheme at svtools/source/config/miscopt.cxx:592
> SvtMiscOptions_Impl::SetIconThemeAutomatically at svtools/source/config/miscopt.cxx:934
> SvtMiscOptions_Impl::Load at svtools/source/config/miscopt.cxx:514
> SvtMiscOptions_Impl at svtools/source/config/miscopt.cxx:299
> SvtMiscOptions_Impl at svtools/source/config/miscopt.cxx:425
> SvtMiscOptions at svtools/source/config/miscopt.cxx:753
> SvtMiscOptions at svtools/source/config/miscopt.cxx:756
> connectivity::DriversConfigImpl::Load at connectivity/source/commontools/DriversConfig.cxx:106
> connectivity::DriversConfigImpl::getInstalledDrivers at DriversConfig.hxx:53
> connectivity::DriversConfig::getURLs at connectivity/source/commontools/DriversConfig.cxx:243
> ODsnTypeCollection at dbaccess/source/core/misc/dsntypes.cxx:60
> ODsnTypeCollection at dbaccess/source/core/misc/dsntypes.cxx:71
> DatasourceURLListener at dbaccess/source/filter/xml/xmlfilter.cxx:183
> DatasourceURLListener at dbaccess/source/filter/xml/xmlfilter.cxx:183
> dbaxml::ODBFilter::implImport at dbaccess/source/filter/xml/xmlfilter.cxx:451
> dbaxml::ODBFilter::filter at dbaccess/source/filter/xml/xmlfilter.cxx:404
> non-virtual thunk to dbaxml::ODBFilter::filterat dbaccess/source/filter/xml/xmlfilter.cxx:415
> dbaccess::ODatabaseDocument::impl_import_nolck_throw at dbaccess/source/core/dataaccess/databasedocument.cxx:520
> dbaccess::ODatabaseDocument::load at dbaccess/source/core/dataaccess/databasedocument.cxx:585
> non-virtual thunk to dbaccess::ODatabaseDocument::loadat dbaccess/source/core/dataaccess/databasedocument.cxx:602
> dbaxml::DBContentLoader::load at dbaccess/source/filter/xml/dbloader2.cxx:484
> non-virtual thunk to dbaxml::DBContentLoader::loadat dbaccess/source/filter/xml/dbloader2.cxx:553
> framework::LoadEnv::impl_loadContent at framework/source/loadenv/loadenv.cxx:1177
> framework::LoadEnv::startLoading at framework/source/loadenv/loadenv.cxx:401
> framework::LoadEnv::loadComponentFromURL at framework/source/loadenv/loadenv.cxx:172
> framework::Desktop::loadComponentFromURL at framework/source/services/desktop.cxx:603
> non-virtual thunk to framework::Desktop::loadComponentFromURLat framework/source/services/desktop.cxx:604
> unotest::MacrosTest::loadFromDesktop at unotest/source/cpp/macros_test.cxx:43
> DialogSaveTest::test at dbaccess/qa/extras/dialog-save.cxx:73
> CppUnit::TestCaller<DialogSaveTest>::runTest at TestCaller.h:166
> CppUnit::TestCaseMethodFunctor::operatorat TestCase.cpp:32
> (anonymous namespace)::Prot::protect at unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx:88
> CppUnit::ProtectorChain::ProtectFunctor::operatorat ProtectorChain.cpp:20
> (anonymous namespace)::Prot::protect at unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx:64
> CppUnit::ProtectorChain::ProtectFunctor::operatorat ProtectorChain.cpp:20
> CppUnit::DefaultProtector::protect at DefaultProtector.cpp:15
> CppUnit::ProtectorChain::ProtectFunctor::operatorat ProtectorChain.cpp:20
> CppUnit::ProtectorChain::protect at ProtectorChain.cpp:77
> CppUnit::TestResult::protect at TestResult.cpp:181
> CppUnit::TestCase::run at TestCase.cpp:91
> CppUnit::TestComposite::doRunChildTests at TestComposite.cpp:64
> CppUnit::TestComposite::run at TestComposite.cpp:23
> CppUnit::TestComposite::doRunChildTests at TestComposite.cpp:64
> CppUnit::TestComposite::run at TestComposite.cpp:23
> CppUnit::TestRunner::WrappingSuite::run at TestRunner.cpp:47
> CppUnit::TestResult::runTest at TestResult.cpp:148
> CppUnit::TestRunner::run at TestRunner.cpp:96
> (anonymous namespace)::ProtectedFixtureFunctor::run at sal/cppunittester/cppunittester.cxx:150
> sal_main at sal/cppunittester/cppunittester.cxx:242
> main at sal/cppunittester/cppunittester.cxx:166

Change-Id: I217499b41027449df634945c4b260aafdfc4bff4
2014-02-22 12:56:22 +01: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
Stephan Bergmann
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
Jan Holesovsky
8a467da032 html: Make GetColor() working in lower case.
To be consistent with the rest that works in lower case now.

Change-Id: I6fe40e71393230bbde8e283b1f98479bf644c610
2014-02-21 12:04:27 +01:00
Jan Holesovsky
0f1b3df7a3 html: Lowercase the html colors, and make the comparison more robust.
Change-Id: I5fb3b1c8ea3692864707489ff9a82b78c5647d4a
2014-02-21 12:04:26 +01:00
Caolán McNamara
456b92609c fdo#74584: complete revert various previous changes to upcase HTML tags
f1f8b3bfdc3406ea79b662a2fda3d0c1cb87bb10 says it reverts

        commit 3c84fa61570113d1dfb2523ab88f268eeeb46c3c.
        commit 96a1f60aeb2a7954533da9b4aa4947efb7a65e70.
        commit 1f74a3ce201bad68f160584900285e2c087ab2c0.
        commit 3d481254a07fe82d11953f9825a2f8fc6eeabc0b.

but only reverted 3d481254a07fe82d11953f9825a2f8fc6eeabc0b

Change-Id: I0530bd0b176b1f1e9bbf8eee78376991c664a850
2014-02-21 10:12:22 +00: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
Michael Stahl
3c84fa6157 fdo#74584: Revert "fix html tests"
This reverts commit 277922e7a0a4ae8076c10936c4b12df6dcc5ddac.

...since 73e3aafa990168aa532fa7b81fc4de8f455b10e1 was reverted and
sw_htmlexport test fails.

Change-Id: I32a390a3058e43bc3314b678e27c74036b90f200
2014-02-20 00:52:22 +01:00
Michael Stahl
96a1f60aeb fdo#74584: Revert "html: Options need to be lowercase, too"
This reverts commit 700883b34ebcdb77f398b4423f358bdf4648a853.

...since 73e3aafa990168aa532fa7b81fc4de8f455b10e1 was reverted and
sw_htmlexport test fails.

Change-Id: Ia83705279e792a0c2375619b6a209e46a319fea7
2014-02-20 00:52:22 +01:00
Kohei Yoshida
1f74a3ce20 fdo#74584: Upcase the tag name before searching.
Else HTML import or detection code would fail.

Change-Id: Id79e8eac87d8001527f068f8fd49636353dc38d5
2014-02-19 16:36:49 -05:00
Caolán McNamara
14a502e498 coverity#738857 Uninitialized scalar field
Change-Id: Ic82e559e9b7ca31fa6d9b5ff1d1fc5ae3fac9b88
2014-02-19 13:06:17 +00:00
Caolán McNamara
b0e1a3f962 coverity#738860 Uninitialized scalar field
Change-Id: I968c9f10d426b90e6883e7a0ff1387187d97dcd2
2014-02-19 13:06:16 +00:00
Caolán McNamara
85f48b1b47 coverity#738865 Uninitialized scalar field
Change-Id: Ie6473e4a8c4b311b6862019046fb4ae9cf05e1fb
2014-02-19 13:06:15 +00:00
Stephan Bergmann
973b47a336 unotools: sal_Bool -> bool
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-19 12:47:07 +01:00
Caolán McNamara
aeb6073980 coverity#738866 Uninitialized scalar field
Change-Id: I2ab29fb267055f70c0d42970abd4e4d944ab7006
2014-02-19 11:07:12 +00:00
Caolán McNamara
31bacc9bed coverity#984146 Uninitialized scalar field
Change-Id: Ibaeaa95c346547f17b82c687944a8b37c05b9b49
2014-02-18 10:10:02 +00:00
Caolán McNamara
d13545987a callcatcher: update unused code lists
Change-Id: Ie975f8a970eec63b593933ebb2394db76d537c51
2014-02-18 10:10:01 +00:00
Caolán McNamara
abc6d50af7 coverity#736486 try and make coverity see through this better
Change-Id: I6becf305d88618fb53dff3519b31b010e371ab44
2014-02-13 14:56:17 +00:00
Noel Grandin
b2878af322 more SvStream:operator>> conversion
Convert the template based read_lenPrefixed methods to regular
methods.

Change-Id: Ifd0e93aca055e55a0575e4377ec2b8e266dfb019
Reviewed-on: https://gerrit.libreoffice.org/7895
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12 15:32:11 +00:00
Noel Grandin
15535e32dd convert SvStream::operator>> methods to ReadXXX methods
First, I updated the clang rewriter to do the conversion.
Then I lightly hand-tweaked the output for the few places where
the rewriter messed up, mostly when dealing with calls on "this".

Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9
Reviewed-on: https://gerrit.libreoffice.org/7879
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12 15:31:40 +00:00
Caolán McNamara
9cbc25dd6e Revert "coverity#736486 try and make coverity see through this better"
This reverts commit a0bae848d42b675e4638420d632d710ed3cf76c3.
2014-02-12 14:26:47 +00:00
Caolán McNamara
27fae00bf2 coverity#441136 Dereference after null check
Change-Id: I81a1a70094ae6b4ed685ae3fe88c645b160955bf
2014-02-12 14:26:47 +00:00
Noel Grandin
de476d0146 cid#1103689 missing break in switch
Change-Id: I28338145fdd71ec25b9c6d291e445d35636e43a9
2014-02-12 15:10:47 +02:00
Caolán McNamara
a0bae848d4 coverity#736486 try and make coverity see through this better
Change-Id: I53d858cad02ae2c8f36de926b380d3a50810e141
2014-02-12 13:03:58 +00:00
Caolán McNamara
401a8cecee return value unused
Change-Id: I22276dd551c4d1311a113ce6c38cc5eb97ed12ef
2014-02-12 13:03:58 +00:00
Caolán McNamara
0d3082dbf2 callcatcher: update unused code
Change-Id: Iaaad9302ef8edb47fa95ce8ca608b6f36449521b
2014-02-12 13:03:50 +00:00
Noel Grandin
b16f90f331 remove code in dead HTML_BEHAVIOUR #define
git grep found nowhere in the codebase that this define is being
set.

Change-Id: I63e18e8f47b5e58ff96b075ddb4bc9a36e1dc80e
Reviewed-on: https://gerrit.libreoffice.org/8002
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-12 11:13:25 +00:00
Stephan Bergmann
307684b2c7 Clean-up svt::ToolboxController inheritance
...and fix its XTypeProvider::getTypes

Change-Id: Ic36b17b14da21a29ca5530dd5e2ad03ee3da0782
2014-02-12 12:03:29 +01:00
Stephan Bergmann
435a5e7071 Remove pointless "shizhoubo" comments
Change-Id: I50521b0dab7325313ed5a3303f09a0692d76d19d
2014-02-12 12:03:29 +01:00
Noel Grandin
124e69df7b cid#705248 missing break in switch
Change-Id: I325b95900e7a5ec927e8c38a687a7fe8058bbdfa
2014-02-12 08:59:06 +02:00
Michael Stahl
06d5616f65 svtools: add some missing locks in new code
Change-Id: I6f000fb0f205b437e4ff5238c8ede5735c403077
2014-02-11 12:52:22 +01:00
Caolán McNamara
c748d6115e coverity#440991 Dereference after null check
Change-Id: I3b911e4bc1e6c2eccf4b9655f12162936fc5a946
2014-02-10 20:51:29 +00:00
Caolán McNamara
2b12a5b87b the return of callcatcher
Change-Id: I447ebcc61ff061bce15678c6fcfd3d0a4669908f
2014-02-10 11:21:03 +00:00
Stephan Bergmann
85cdb06fd5 sal_Bool -> bool
Change-Id: Ifc80202e0865b59931af6e50d3d60f5021f8b52e
2014-02-07 18:43:32 +01:00
Andras Timar
ac6e8ac7e4 typo fixes in comments
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-06 23:22:30 +01:00
Alexandre Vicenzi
f139c10fd3 fdo#54938 Convert oox, sc, vcl, svtools... to cppu::supportsService
Change-Id: I6268bc57417d53b9810c81071fbcd604e2a19507
Reviewed-on: https://gerrit.libreoffice.org/7886
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-06 15:47:54 +00:00