Commit Graph

1745 Commits

Author SHA1 Message Date
Noel Grandin
a87c24fcfe Convert aTabs field in SvTreeListBox from SvPtrarr to std::vector
Change-Id: I901c6df67fc95cfb2ac3ea15e69a47c5fc3161b6
2012-07-04 23:23:22 +02:00
Caolán McNamara
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
Michael Meeks
3dc420a6a3 fdo#51577 - fix incremental search / buffer switching hang/crash 2012-07-03 13:10:11 +01:00
Thomas Arnhold
892bb81d17 hrc cleanup: Remove unused defines
Change-Id: Iaa7da7745fc01544d9a503b313479b2450810524
2012-07-02 17:46:25 +02:00
Thomas Arnhold
b63027f099 Remove some unused defines and controls
Change-Id: I96f76ed6b33f5c786d1e3ab3981a535037a9c1b5
2012-06-29 15:59:53 +02:00
Thomas Arnhold
c064aad68b Remove unused header guards and options
Change-Id: I391358363a9d30e089b249d894b7abea5a2d1434
2012-06-29 09:25:13 +02:00
Thomas Arnhold
1e322b7f26 Remove last PCH traces
Change-Id: I6b5d7422eecb90c612e76fd59a6316a4ea7a8698
2012-06-29 09:25:12 +02:00
Thomas Arnhold
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
Thomas Arnhold
59c8cfffa7 Remove some more PCH traces
Change-Id: Iafca82ac728feba97fb68523dcb032b0e17e5a3c
2012-06-29 09:25:09 +02:00
Thomas Arnhold
ee1c5c4768 Reduce newline bloat at eof
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-27 13:32:28 +02:00
Michael Meeks
46b8dbda43 re-base on ALv2 code. 2012-06-26 21:48:59 +01:00
Thomas Arnhold
66cd9eeb90 Remove various commented out defines
Most of them in hrc files.

Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
2012-06-25 14:12:57 +02:00
Takeshi Abe
eeb5bea1d4 removed unused forward declarations of class
Change-Id: Iee1b78242e210466375376da3e4dbbaec609cc03
2012-06-20 00:50:59 +09:00
Thomas Arnhold
e06d6e3956 hrc cleanup: Remove completely unused RIDs
These RID definitions aren't used at any other point. So remove
them. Unused START and END definitions were commented out for
documentation purpose.

All definitions in basctl/source/basicide/tbxctl.hrc were unused,
so I removed this file.

Change-Id: I4713188a12b9da912b2a91b85ea4e54ca1aeb994
2012-06-15 08:22:09 +02:00
Michael Meeks
39669162e0 re-base on ALv2 code. 2012-06-12 17:03:23 +01:00
Caolán McNamara
8f5629fd5a remove EraseLeadingChars and EraseTrailingChars
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-11 14:46:46 +01:00
Thomas Arnhold
3770bbbdba Remove superfluous empty lines on top
More than two lines are removed for readability.

Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00
Noel Grandin
d08578912f fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update calls to factories to use new SimpleFileAccess::create method

Change-Id: Ie5b0696fe2228a9033b19969245a53c21a61aa14
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:01:22 +02:00
Stephan Bergmann
683312377a Removed unused SfxMedium::bDirect
See the TODO comment in sfx2/inc/sfx2/docfile.hxx about a temporary SfxMedium
ctor overload to find not yet adapted uses of another overload, to be removed
again in due time.

Change-Id: Ie22c33c32f8870ce6ebf6d500abc7a4e33d97183
2012-05-24 11:38:12 +02:00
Caolán McNamara
8a0685d49f make ResId::toString a non-static member
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-30 11:22:09 +01:00
Tor Lillqvist
aa155d9307 WaE: equality comparison with extraneous parentheses 2012-04-24 12:22:12 +03:00
Takeshi Abe
ac7f7b0462 removed unused defines 2012-04-20 01:57:32 +09:00
Takeshi Abe
3f7c262363 removed unused const/static data 2012-04-20 01:57:32 +09:00
Michael Stahl
d85b7f1548 move tools/table.hxx to binfilter 2012-04-18 17:55:06 +02:00
Takeshi Abe
b1bee56af9 calling GetChar() only once suffices 2012-04-18 00:24:17 +09:00
Takeshi Abe
f00d60997e replaced String by rtl::OUString 2012-04-18 00:24:17 +09:00
Takeshi Abe
0432c53149 removed useless static data 2012-04-17 05:15:07 +09:00
Takeshi Abe
f4137c8e45 removed unused defines 2012-04-17 05:15:06 +09:00
Julien Nabet
8bfee2c0eb Resolves: fdo#48368 CRASH closing IDE 2012-04-16 21:16:47 +02:00
Caolán McNamara
41e055112e String::CreateFromInt32->rtl::OUString::valueOf 2012-04-11 12:06:23 +01:00
Julien Nabet
39ba666f80 Fix "Same expression..." reported by cppcheck 2012-04-08 22:20:20 +02:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
8a01ee6243 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
Noel Grandin
9ef0b8e3aa Convert tools/table.hxx to std::set in EditorWindow class in basctl module 2012-04-02 23:18:19 +02:00
Noel Grandin
e5a916eeee Convert tools/table.hxx usage to std::set in Calendar class in svtools module
Also change the API slightly, removing GetSelectedData(int index) and replacing
it with GetLastSelectedDate(), since the only usage of GetSelectedData in
the codebase only needed to get the last date.
2012-04-02 23:15:20 +02:00
Markus Mohrhard
da2c7a91ad add missing tools/table.hxx include 2012-03-29 21:22:00 +02:00
Caolán McNamara
e443216ce2 readUnicodeString can just return the string
seeing as no-one checks the return value, we don't need
the intermediate temporary string
2012-03-26 12:18:09 +01:00
Fridrich Štrba
0a8596dd8e Revert "fix debug build"
This reverts commit 0589dd3fb5.

Given the find above, this assert will never be triggered anyway
2012-03-22 14:47:06 +01:00
Fridrich Štrba
0589dd3fb5 fix debug build 2012-03-22 09:23:15 +01:00
Stephan Bergmann
a603634f35 Fixed previous commit for --enable-dbgutil mode 2012-03-22 08:12:08 +01:00
Noel Grandin
000bb6af72 Convert tools/table.hxx usage to std::map in Basic IDE module 2012-03-22 06:39:52 +01:00
Caolán McNamara
8550b42a1d remove extra string casts 2012-03-20 12:57:31 +00:00
Stephan Bergmann
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Luboš Luňák
3f765e5bb2 replace usage of OUString::replace*AsciiL() with string literal overloads 2012-03-12 13:35:57 +01:00
Tomcsik Bence
0e8eb19a53 Object Catalog pane in Basic IDE
Object Catalog was a floating window. It has been converted to a fixed
pane on the right hand side of the editor window. While it is a
BasicDockingWindow, at the moment it is not possible to undock, move,
or resize it. Also, the Object Catalog toolbar button does not show
the visibility status of the pane, ideally it should look pressed, when
the Object Catalog pane is visible. Another missing feature is that
the Object Catalog pane cannot be switched on together with the
dialog editor.
2012-03-11 21:49:13 +01:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Tomcsik Bence
491592015b implement scrolling with mouse in Object Catalog dialog
I edited out the ObjectTreeListBox class because BasicTreeListBox
contains the scroll function and all the other functions that the
ObjectTreeListBox uses.
2012-03-01 13:35:11 +01:00
Tomcsik Bence
4022a834b5 Object Catalog button now toggles display of the dialog
TODO: implement a toggle toolbar button that shows the toggle state
2012-03-01 13:35:10 +01:00
Tomcsik Bence
efd4db1e6b make button label and dialog title consistent (Object Catalog) 2012-03-01 13:35:10 +01:00
Takeshi Abe
03591233c1 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18 23:19:41 +09:00