Commit Graph

2154 Commits

Author SHA1 Message Date
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
Stephan Bergmann
9ab0b38e95 Various string function clean up
Added:
* rtl::OString::matchL
* rtl::OString::endsWith
* rtl::OString::endsWithL
* rtl::OString::indexOfL
* rtl::OString::replaceFirst
* rtl::OString::replaceAll
* rtl::OString::getToken
* rtl::OUString::endsWith
* rtl::OUString::replaceFirst
* rtl::OUString::replaceFirstAsciiL
* rtl::OUString::replaceFirstAsciiLAsciiL
* rtl::OUString::replaceAll
* rtl::OUString::replaceAllAsciiL
* rtl::OUString::replaceAllAsciiLAsciiL
* rtl::OUString::getToken
plus underlying C functions where necessary

Deprecated:
* comphelper::string::remove
* comphelper::string::getToken

Removed:
* comphelper::string::searchAndReplaceAsciiL
* comphelper::string::searchAndReplaceAllAsciiWithAscii
* comphelper::string::searchAndReplaceAsciiI
* comphelper::string::replace
* comphelper::string::matchL
* comphelper::string::matchIgnoreAsciiCaseL
* comphelper::string::indexOfL

Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM ->
RTL_CONSTASCII_STRINGPARAM.
2012-02-15 15:41:09 +01:00
Tomcsik Bence
1f0784d2b8 Wrong size of 'Remove watch' button at Basic IDE. fdo#44237
This patch resize the nVirtToolBoxHeight in WatchWindow::WatchWindow if
the aRemoveWatchButton plus some space is higher than nVirtToolBoxHeight. So
the aRemoveWatchButton doesn't go into aHeaderBar.
2012-02-13 22:52:43 +01:00
Takeshi Abe
254f372b01 Use defined utility BASIC_DLL()/BASIC_MOD() 2012-02-07 00:31:29 +09:00
Takeshi Abe
baf5ffc7c0 Removed dead code 2012-02-07 00:31:28 +09:00
Stephan Bergmann
6fca59d9c2 Simplify code by making getProcessComponentContext() implicit. 2012-01-31 17:26:57 +01:00
Korrawit Pruegsanusak
a1275f841a use SAL_CALL - fix bulid in msvc 2012-01-30 11:41:52 +00:00
Stephan Bergmann
e8bb827571 Fixed cppheader.xsl nillable treatment.
* cppheader.xsl had initially been written under the false assumption that a
missing oor:nillable attribute defaults to "false" instead of "true".  That has
been fixed.
* As a result, many places that use the new simplified officecfg/*.hxx headers
broke as they did not expect value types to be wrapped boost::optional.  To keep
the code simple, I decided to change all occurrences in
officecfg/registry/schema/ of properties that specify a default <value> and do
not explicitly specify oor:nillable="true" to oor:nillable="false".  Strictly
speaking, this is an incompatible change, but in many cases it should be what
was intended, anyway.
* Some places that use the new simplified officecfg/*.hxx headers still had to
be adapted to boost::optional wrapping.
* This showed that unotools/configuration.hxx did not yet work for those wrapped
properties and needed fixing, too.
2012-01-30 12:27:47 +01:00
Takeshi Abe
bb51e8e72b Deleting a null pointer is safe 2012-01-26 03:03:08 +09:00
Stephan Bergmann
a2195b2dc3 Replace SourceViewConfig with (simplified) direct configuration access. 2012-01-25 18:18:52 +01:00
Marcel Metz
f9e6d195db Replaced diagnore ENSURE_OR_BREAK with regular code. 2012-01-23 23:28:46 +01:00
August Sodora
90e983df7b Use a smart pointer here instead 2012-01-20 20:47:54 -05:00
August Sodora
e0d20cbd0b valgrind: Fix memory leak 2012-01-20 20:47:54 -05:00
Noel Power
ffbd3846d4 some misc tidyup ( that was reverted )
some id and string renaming from b08e273015d72251b68bca86535cf5919dd9e40e was reverted, those parts of the changes are reapplied here
2012-01-10 10:08:44 +00:00
Noel Power
6639eb9c30 Revert "remove duplicated images for basic dialog form controls ( & misc tidyup )"
This reverts commit 83a28682f2.
2012-01-10 10:08:44 +00:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
Brad Sowden
2004a9920e Easyhack fdo#38831 remove SvStrings
Remove SvStrings definition and obsolete #defines.
2012-01-04 13:49:11 +01:00
August Sodora
b0aac3f446 String->OUString 2011-12-20 14:12:33 -05:00
Noel Power
f269629d1b fix mistaken String::CreateFromInt32 -> OUString::valueOf conversion 2011-12-15 15:15:08 +00:00
Noel Grandin
583582c5bf German translations
By Mike Whiteley/Noel Grandin, some smaller changes by myself; changes to binfilter removed from patch
2011-12-12 22:35:05 +01:00
August Sodora
5414ac4348 String->OUString 2011-12-10 18:44:47 -05:00
August Sodora
0f9876867c Remove unnecessary includes 2011-12-10 18:44:47 -05:00
August Sodora
9776c3c4dc String->OUString 2011-12-10 18:00:22 -05:00
August Sodora
c1cddefe21 Avoid use of preprocessor 2011-12-10 18:00:22 -05:00
Andras Timar
8d0816f1cf fix build with MSVC 2011-12-10 22:25:26 +01:00
August Sodora
ac65f9c888 Remove unnecessary includes 2011-12-10 15:44:59 -05:00
August Sodora
90939a7b3d String->OUString 2011-12-10 15:23:25 -05:00
August Sodora
313deb9782 String->OUString 2011-12-10 15:23:25 -05:00
August Sodora
e09a63d4c0 String->OUString 2011-12-10 15:23:25 -05:00
Olivier Hallot
1688a9d923 Fix for fdo43460 Part II getLength to isEmpty
Part II
Module
basctl
2011-12-10 13:54:31 +04:00
August Sodora
79a8567b42 Avoid use of the preprocessor 2011-12-10 01:36:34 -05:00
Caolán McNamara
87ec1f8857 callcatcher: remove unused code post automation removal 2011-12-09 13:57:16 +00:00
August Sodora
f5549c9429 String->OUString 2011-12-09 01:58:49 -05:00
August Sodora
7c8b0959fd String->OUString 2011-12-09 00:56:17 -05:00
August Sodora
9c2f9c79ac String->OUString 2011-12-09 00:50:03 -05:00
August Sodora
7ffca8ed2e sal_Bool to bool 2011-12-09 00:15:26 -05:00
August Sodora
3f5225ab63 Clean up SbxItem 2011-12-08 23:22:01 -05:00
August Sodora
954c3b2d9a Remove unused code 2011-12-08 13:54:13 -05:00
Michael T. Whiteley
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
Noel Power
83a28682f2 remove duplicated images for basic dialog form controls ( & misc tidyup ) 2011-12-06 15:00:39 +00:00
Noel Power
9cff030fa1 add some form control support for basic dialogs 2011-12-05 09:57:12 +00:00
August Sodora
ebf168f59f So size_t is recognized on windows 2011-12-05 00:52:02 -05:00