Commit graph

1936 commits

Author SHA1 Message Date
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
Thomas Arnhold
5fcecf9b88 hrc cleanup: Remove unused defines
All of those defines (should) not be used at any point in the code.
False positives may exist, because some macro names are getting
generated by some template/macro foo. This is the version which
compiled fine for me.

Also there are many commented out lines removed.

Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-21 11:54:18 +02:00
Takeshi Abe
eeb5bea1d4 removed unused forward declarations of class
Change-Id: Iee1b78242e210466375376da3e4dbbaec609cc03
2012-06-20 00:50:59 +09:00
Petr Mladek
1a2549dcdd Revert "Remove License/Credits menu items"
GPLv3 has to be easily accessible. We should not hide it under too many
mouse clicks.

This reverts commit f4c567f8d4.
2012-06-19 14:56:53 +02:00
Stefan Knorr (astron)
f4c567f8d4 Remove License/Credits menu items
The About dialog now houses these functions.

Change-Id: I7f751027564897a063d2910644c69680d471b6d9

Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-06-18 16:34:44 +02: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
Jan Holesovsky
96541d7d30 status bar: Standardize the size of modification status to '9' everywhere.
Change-Id: Ic5f8473fb5edaa84cdcd5a6cb563c6a5c4fadea3
2012-05-28 09:49:14 +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
Jan Holesovsky
b30e202861 status bar: INSRT/OVER -> 'Overwrite' shown only when in overwrite mode.
Idea by Mirek M. - thank you!  Additionally introduced a tooltip showing more
verbose text when in overwrite mode.

Change-Id: I1236253bc6c97809ebed872fe86233cc08f41345
2012-05-23 11:04:10 +02:00
Caolán McNamara
8a0685d49f make ResId::toString a non-static member
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-30 11:22:09 +01:00
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02: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
David Tardon
6de7392829 add package deps for resources 2012-04-09 10:09:23 +02:00
Julien Nabet
39ba666f80 Fix "Same expression..." reported by cppcheck 2012-04-08 22:20:20 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +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
Matúš Kukan
f64d58e3e1 more dependencies and include paths 2012-03-27 01:48:56 +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
Matúš Kukan
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +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
Tor Lillqvist
c16bc82637 s/interpreters/scripting/ 2012-02-27 16:51:56 +02:00