Commit graph

277 commits

Author SHA1 Message Date
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
743f22045c 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 15:07:41 +02:00
Szabolcs Dezsi
f770c5d6bc Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-04-06 12:48:32 +02:00
Takeshi Abe
6f087d103a removed duplicate includes in cppcanvas / cppuhelper / cui 2012-03-30 00:42:35 +09:00
Michael Stahl
d7aacb8461 .hrc files don't need executable bits 2012-03-23 21:58:14 +01:00
Caolán McNamara
6d12d8cab2 reduce UniStrings 2012-03-20 12:57:32 +00:00
Stephan Bergmann
d4b67611c4 Introduced SystemShellExecuteFlags::URIS_ONLY 2012-03-16 15:01:26 +01:00
Caolán McNamara
fd468f7c92 add an explicit Cancel handler 2012-03-09 10:26:50 +00: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
Cédric Bosdonnat
adf45eced4 fdo#46531: Fixed SpellCheck dialog display issues
More robust, handling of the explanations message and link display.
2012-02-27 17:04:01 +01:00
Stephan Bergmann
e4c7862ba2 Adapted SearchThread/TakeThread to safer-to-use salhelper::Thread 2012-02-23 10:47:36 +01:00
Petr Mladek
5169057884 Use "Close" instead of "Cancel" button in the about dialog
Thanks to Stefan Knorr (Astron) for hint.
2012-02-13 15:40:24 +01:00
Petr Mladek
e0626ada2f add back close button to the about dialog
Some windowmanagers on small devides do not have the close window button,
so all dialogs should have its own way how to diappear.

It is now done like in other application. They use "Close" button instead
of "OK". They put it into the right side and delimit it by a line, so
it looks like another dialog in the application.
2012-02-10 17:38:48 +01:00
Takeshi Abe
2b1758a2dc Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...) 2012-02-10 23:01:07 +09:00
Petr Mladek
ef09cbf453 another improvement of the about dialog
* put back "supplied by %OOOVENDOR" instead of "developed by %OOOVENDOR"
* remove "LibreOffice is" from the copyright line. It has affect only when
  the product is called "LibreOffice"
* center version and buildid line
* remove the confusing branch-point from buildid; it is not longer necessary
  when we have the version suffix, e.g. beta1+
2012-02-09 17:33:09 +01:00
Ivan Timofeev
66e4c5851b correct TDF link 2012-02-06 18:56:04 +04:00
Michael Stahl
38ce8bbbd1 cui: about.cxx: nSpace was not declared in this scope 2012-02-02 20:12:40 +01:00
Takeshi Abe
f439dde9be Replaced String by rtl::OUString 2012-02-03 02:46:26 +09:00
dbarisakkurt
dde025efac I added some links and removed the ok button 2012-02-02 16:29:45 +00:00
Caolán McNamara
bbc94edb9a refactor ConvertLineEnd 2012-01-30 13:18:38 +00:00
Thomas Arnhold
22da27d9dd Improve checking for emptiness 2012-01-21 19:58:46 +01:00
Marcel Metz
64fb265325 Replaced SAL_INFO with SAL_WARN were applicable. 2012-01-17 23:27:43 +01:00
Marcel Metz
a18123fb97 Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:33 +01:00
Caolán McNamara
2e303c175c remove some tools/string.hxx 2012-01-13 09:05:59 +00:00
August Sodora
bcb9ddaa7e Remove _SVSTDARR_STRINGSISORTDTOR 2012-01-10 23:18:14 -05:00
Michael Stahl
f6260b19db cui: remove unused macro for renamed library 2012-01-10 17:52:20 +01:00
Caolán McNamara
629cd5caad callcatcher: update list 2012-01-10 10:09:29 +00:00
Marcel Metz
ef16022119 Removed unused DBG_WARNING{4, 5} macros, replaced DBG_WARNINGFILE 2012-01-10 07:27:36 +01:00
Andras Timar
1eafe2bb4c bump LibreOffice copyright year to 2012 2012-01-09 19:12:51 +01:00
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Marcel Metz
4beb58e0dd Removed unnecessary tools/ref.hxx includes. 2012-01-06 23:55:51 +01:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
Marcel Metz
79646372a0 Removed unnecessary tools includes.
Hello lo-devs,

this patch series removes a lot of unnecessary includes for the various
tools header. The patches without suffix should be applied to the core
repository, the .binfilter.patch suffix should be applied to the
binfilter repository. I've tested the build with the configuration
--enable-binfilter --enable-dbgutil --enable-debug, is this sufficient
or did I miss another important configuration, that enables some
conditional compiled code? I've only build this on linux-x86_64, but the
patch also touches some of the mac specific code like
fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good
idea to test this patch.

regards Marcel Metz
2012-01-05 15:31:29 +01:00
Caolán McNamara
bacfd2dc4c add a comphelper::string::getTokenCount
suitable for conversion from [Byte]String::GetTokenCount
converted low-hanging variants to rtl::O[UString]::getToken loops
added unit test
2012-01-05 09:18:19 +00:00
Lior Kaplan
14c0e038c9 Clean non English strings in the code
we do translation differently.
2012-01-02 22:35:33 +02:00
Andras Timar
005844765e "Insert" + "Rows" and "Insert" + "Columns" are not OK l10n-wise
never compose strings from two separate parts
see http://listarchives.libreoffice.org/global/l10n/msg03714.html
2011-12-31 20:38:04 +01:00
Matúš Kukan
d73d329bf1 callcatcher: remove unused classes 2011-12-21 12:32:12 +01:00
Olivier Hallot
1375183d46 Fix for fdo43460 Part XI getLength() to isEmpty()
Part XI
Module
cui
2011-12-20 19:28:37 +04:00
Andras Timar
3d7e113ce7 nobody has ever translated this string, in fact it is not for localization 2011-12-16 15:03:48 +01:00
Petr Mladek
dac89858f6 add version suffix (beta1) to about dialog
configurable at build time via ABOUTBOXPRODUCTVERSIONSUFFIX in
instsetoo_native/util/openoffice.lst

configurable at runtime via registry/data/org/openoffice/Setup.xcu
and ooSetupVersionAboutBoxSuffix property
2011-12-16 14:29:13 +01:00
László Németh
e2812dd419 Fix always-false condition of FullCommentURL 2011-12-13 10:30:53 +01:00
Caolán McNamara
d6e21fd53c now with an STL map we don't have to do our own mem allocation 2011-12-12 16:32:34 +00:00
Marcel Metz
57054f84f6 Related: fdo#38832 Replace Table with std::map 2011-12-12 16:25:22 +00:00
Michael T. Whiteley
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
Michael Stahl
5754213c70 sfx2::FileDialogHelper: refactor construction:
There are currently 2 different ways to specify what kind of file dialog
should be created: the nDialogType and nFlags ctor parameters.
Simplify that by using the nDialogType for the API specified variety,
and the nFlags only for options that cannot be specified by the API.

This allows to get rid of 3 constructors, and the following constants:
WB_OPEN, WB_SAVEAS, WB_PASSWORD, SFXWB_PASSWORD, SFXWB_SHOWSTYLES
2011-12-03 00:48:13 +01:00
Michael Stahl
1274babb68 sfx2::FileDialogHelper: remove use of WB_OPEN
This can really be derived from the dialog type, don't duplicate it.
2011-12-03 00:48:12 +01:00
Lior Kaplan
0443311761 Remove extra spaces from strings for translation 2011-12-02 01:43:50 +02:00
Eike Rathke
86adb5cacb get rid of class Date and Time default ctor with system time penalty 2011-12-01 21:04:29 +01:00
Kohei Yoshida
f41eddb61c This data member is no longer used. Remove it. 2011-12-01 08:55:48 -05:00
Lior Kaplan
3a0e84426b credits.html redirects to about-us/credits/, lets not depend on a rewrite rule in the website 2011-11-29 01:58:28 +02:00