aa39d21107
clean up hrc files
...
Change-Id: I76756fe539589d2ab086fd1f1aeec50a9f39af37
2014-04-22 13:03:18 +02:00
40064f479b
clean up hrc files
...
and remove some unused stuff
Change-Id: Iea6177c3d2f9d0668187e66155b62688ae2ecb04
2014-04-22 13:03:17 +02:00
8bb2ce61c0
fixincludeguards.sh: some smaller dirs
...
Change-Id: Ic25bd678dc299627299b22145efd7bebcf2b39d0
2014-04-19 11:10:13 +02:00
f1433c21b1
Clean up function declarations
...
Change-Id: Ie9081e6ed0840fad98f52f9755767788db77f406
2014-04-15 08:39:28 +02:00
6835d9f307
It's "its", not "it's"
...
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
53a0914c5c
Bin empty @seealso, @param, @return etc metacomments
...
Change-Id: I1590c20c4080578f5b528f4d6d43749e4e939fde
2014-04-07 19:56:50 +03:00
826e43eda6
coverity#708569 Uninitialized scalar field
...
Change-Id: Ibe5ff56f9b068dd438ecd92f99fdd2a91b604165
2014-04-05 21:11:47 +01:00
5babf1b903
remove unnecessary scope qualifier from sal_Bool uses
...
i.e. convert "::sal_Bool" to "sal_Bool"
Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02: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
70cc2b191b
First batch of adding SAL_OVERRRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
57ee15e5f1
These strings are now global resources, define them accordingly.
...
Change-Id: Ia68249242850ef3d82cc56ceae7e5ef84dd08b5b
2014-03-26 14:58:16 +01:00
96b5d4f627
uui: prefer passing OUString by reference
...
Change-Id: Iec1fb3fd063d73f04a1600a21d6129e4cd5476b4
2014-03-17 13:30:53 +02:00
1122464b10
convert password dialog to .ui
...
Change-Id: I29e58d3992f43c5ee469484d0587843b06663bf1
2014-03-06 16:35:51 +00:00
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
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
c4399bcd13
Remove visual noise from uui
...
Change-Id: I64fa42929aad00fc63f2937527dd3539f9d6f7f3
Reviewed-on: https://gerrit.libreoffice.org/8337
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-26 03:45:29 -06:00
d5c59404be
Replace deprecated std::auto_ptr with boost::scoped_ptr
...
Change-Id: I773524536c0ed7bc34eb08cd35cfc77e83f722ba
2014-02-26 17:21:20 +09: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
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
973b47a336
unotools: sal_Bool -> bool
...
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-19 12:47:07 +01:00
b62b4e6558
typo
...
Change-Id: Ia3b810d7ff231674d63aaf82a8ff254290fa55ca
2014-02-10 13:57:25 +01:00
602a63785a
bUpdateCheckEnabled had always been unused and marked TODO
...
...ever since its inception in c41efc6d0b2740be4243fd696385f8dbcec0aefe
"CWS-TOOLING: integrate CWS dba301a_DEV300"
Change-Id: I5da6a38f595146ef0d2894b33bf614e7663d53fa
2014-02-10 13:55:22 +01:00
ed9e1e7390
Use anonymous namespace for UUIInteractionHandler.
...
After it's no longer used in uui_component_getFactory,
since fe537786a42abea57551395f73328db48bebd086
Change-Id: I27f77b88c898f665d481931a55f1a0c1fce15818
2014-02-05 19:08:43 +01:00
fe537786a4
uui: Ctor feature for com.sun.star.comp.uui.UUIInteractionHandler.
...
Change-Id: I94858cef5402e88ddcc3e0e9e4383f7be8443e77
2014-02-05 19:07:20 +01:00
6f9976db93
bool improvements
...
Change-Id: I266d7ce86a30cedd1ae388a69b87f1b43d96e00c
2014-01-28 20:26:19 +01:00
5d99890f9d
coverity#704132 Operands don't affect result
...
Change-Id: Ib2cf15d31231ff02645faae9d4a984112e5af795
2014-01-27 11:14:33 +00:00
fa290c7501
Resolves: #i123744# correct consideration of Subject Alternative Name...
...
field of the given certificate
(cherry picked from commit 117218483797c0aeedef9b68bdae96a727cb3426)
Change-Id: I81fbb49593b15edea2509aed81b252c8e5b0cd82
2014-01-22 09:45:49 +00:00
d5b01ac249
bool improvements
...
Change-Id: I6df7ec9669452a025fbac55199927347ef84c6b9
2014-01-22 08:22:34 +01:00
190e665348
convert login dialog to .ui
...
Change-Id: I775c87422f05552b7283f9c6f7103a72262f764e
2013-12-23 13:05:01 +00:00
d9922775bb
convert unknown authority dialog to .ui
...
Change-Id: Iec8a8826188c81ff3a0e7e563d1f5f1a9921c180
2013-12-22 20:33:54 +00:00
254dcd96ea
remove unused m_pParent members and trailings semicolons
...
Change-Id: I9c577b074ac3fc5382cea92394adeedbe0364de0
2013-12-21 21:14:29 +00:00
a5650e388d
convert ssl warning dialog to .ui
...
Change-Id: I658cc3f1c63f8cfb18463befa3a0efbd92139659
2013-12-21 21:14:29 +00:00
b55259eeb5
typo fixes
...
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
08fe82e59c
Remove unnecessary use of OUString constructor in + expressions
...
Convert code like
aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp");
to
aFilename = OUString::number(nFilePostfixCount) + ".bmp";
Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-17 11:49:03 +02:00
f74149bc21
Fix some typos for "height"
...
Change-Id: Ibe1fdd7a63ff09097cfe053279d779592d389539
2013-11-25 23:03:11 +01:00
610b2b94b3
remove unnecessary use of OUString constructor when assigning
...
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19 10:29:31 +02:00
d366c9b20e
remove unnecessary sal_Unicode casts in various places
...
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-14 08:17:32 +02:00
fcd1637d51
convert OUString compareToAscii == 0 to equalsAscii
...
Convert code like
aStr.compareToAscii("XXX") == 0
to
aStr.equalsAscii("XXX")
which is both easier to read and faster.
Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-11 12:58:13 +02:00
0e6a2601b3
Convert code that calls OUString::getStr()[] to use the [] operator
...
This also means that this code now gets bounds checked in debug builds.
Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-04 08:06:10 +02:00
e2451bd729
Convert indexOf->startsWith and lastIndexOf->endsWith
...
This is both an optimisation and a cleanup.
This converts code like
aStr.indexOf("XX") == 0
to
aStr.startsWith("XX")
and converts code like
aStr.lastIndexOf("XXX") == aStr.getLength() - 3
to
aStr.endsWith("XXX")
Note that in general
aStr.lastIndexOf("X") == aStr.getLength() - 1
converts to
aStr.isEmpty() || aStr.endsWith("X")
so I used the surrounding context to determine if aStr could be empty
when modifying the code.
Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-31 08:34:21 +02:00
54a17dd246
windows: warning 4355 is disabled globally in com_MSC_defs.mk
...
So there is no need to do this locally, too.
Change-Id: I0fa1d0cd3e077ba0985848a9d2cbb061b123e8ad
2013-10-28 01:02:13 +01:00
a7724966ab
Bin comments that claim to say why some header is included
...
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
45e366eadb
drop unnecessary tools/string includes
...
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-20 19:00:36 +01:00
7235d23267
fdo#54938: Adapt supportsService implementations to cppu::supportsService
...
Change-Id: I683c0d30c3286ed5d725d4eefe8b3977b82ee316
Reviewed-on: https://gerrit.libreoffice.org/6035
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
Tested-by: Stephan Bergmann <sbergman@redhat.com >
2013-10-07 17:01:33 +00:00
b879adc316
convert UUI module from String to OUString
...
Change-Id: I0dfcdb0b95112b5ee18b05d0c496059292be65c4
2013-10-01 10:08:40 +02:00
7f436c1fd3
typo fixes in comments
...
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26 11:47:45 +02:00
02740cbe0a
Related: fdo#38838 drop String::EmptyString now as well
...
Change-Id: I849dbf3a40189e700036249b15dd8bde493083b6
2013-09-08 20:44:26 +01:00
64b993e046
finish deprecation of O(U)String::valueOf()
...
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00
19277d02fb
osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier()
...
Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
2013-08-21 14:19:10 +02:00
c6a7300974
Use subfolder names from <config_folders.h>
...
Change all instances of hardcoded "program", "share" etc subfolder names to
use those from <config_folders.h> instead. In normal builds, the end result
will not change.
Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-18 21:11:16 +03:00