Commit graph

717 commits

Author SHA1 Message Date
Julien Nabet
a3e9dedc68 Fix "Throwing a copy of the caught exception instead of rethrowing" 2012-01-31 22:50:32 +01:00
Stephan Bergmann
6fca59d9c2 Simplify code by making getProcessComponentContext() implicit. 2012-01-31 17:26:57 +01:00
Stephan Bergmann
ca3e3e7e31 Move unotools/configuration.hxx to comphelper
...so that other code in comphelper can use it.
2012-01-31 15:50:10 +01:00
Caolán McNamara
4995bccb95 callcatcher: update list 2012-01-31 11:37:25 +00:00
Stephan Bergmann
5f40691909 MaxTextLength apparently needs to take comma in "1,000" into account.
Otherwise, max undo steps field gets reset to 100 (?) for inputs > 9999.
2012-01-30 23:05:32 +01:00
Caolán McNamara
bbc94edb9a refactor ConvertLineEnd 2012-01-30 13:18:38 +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
Michael Stahl
97400944bf SvxBorderTabPage: the minimal border width is 1 twip 2012-01-27 23:49:18 +01:00
Stephan Bergmann
452d86c9cb Replace SvtUndoOptions with (simplified) direct configuration access.
Also, code in sw can be simplified under the premise that always
/org.openoffice.Office.Common/Undo/Steps > 0.
2012-01-27 15:04:26 +01:00
Cédric Bosdonnat
e9ec6d58b5 Revert "Removed list and numbering paragraph styles and related option page"
This reverts commits 359d0fbd03,
6a15a2898b and
21352f88ca.

This change is not mature enought: needs more work
2012-01-27 13:09:02 +01:00
Stephan Bergmann
d3e3040953 Replace SvtCacheOptions with (simplified) direct configuration access. 2012-01-26 20:56:44 +01:00
Stephan Bergmann
252e599b22 Replace SvtInetOptions with (simplified) direct configuration access. 2012-01-26 16:26:39 +01:00
Stephan Bergmann
a2195b2dc3 Replace SourceViewConfig with (simplified) direct configuration access. 2012-01-25 18:18:52 +01:00
Thomas Arnhold
22da27d9dd Improve checking for emptiness 2012-01-21 19:58:46 +01:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
David Tardon
614feec548 add missing semicolons. *blush* 2012-01-20 10:33:43 +01:00
David Tardon
a13d343685 make these strings localizable again (fdo#44947)
Our translation tools read the src files literally, line by line, only
reacting on specific patterns (e.g., 'Text [en-US] = "...";'). Therefore
use of macros like this cannot work.
2012-01-20 09:49:52 +01:00
August Sodora
064065985a fdo#44402: make keyboard navigation work again in Tools->Options 2012-01-17 18:34:55 -05: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
Ivan Timofeev
b90940233f move overlapped controls 2012-01-12 21:45:10 +04:00
August Sodora
4497c499d2 SvStringsISort->std::set 2012-01-11 18:32:15 -05:00
August Sodora
a140141e27 SvStringsDtor->std::vector 2012-01-11 18:32:12 -05:00
August Sodora
1681ee65f6 SvStringsDtor->std::vector 2012-01-10 23:56:29 -05:00
August Sodora
d5e1963080 Remove unnecessary forward declarations 2012-01-10 23:56:28 -05: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
Caolán McNamara
3c62fbcdd7 simplify LocalFileHelper::ConvertURLToPhysicalName 2012-01-10 10:09:28 +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
Caolán McNamara
45b19123a6 simplify CharClass
multiple variants of toUpper (etc)
some that take a non-const OUString or String and modify it
some that take a const OUString or String and return a new one
some that take part of a const OUString or String and return a new one
2012-01-09 13:28:37 +00:00
Andras Timar
1e847daddf yet another few strings to localize 2012-01-07 22:56:54 +01:00
Ivan Timofeev
bcaa334ad6 move overlapped controls 2012-01-07 19:19:29 +04: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
a1cfce768f Removed unnecessary tools includes. 2012-01-05 15:38:11 +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
Brad Sowden
4998b04122 Easyhack fdo#38831 remove SvStrings
------
With the for loop below Insert(x,nPos) was previously applied but nPos
is initialised to the end of vector and is always incremented in every
loop iteration i.e. Insert(x,nPos) is effectively a push_back(x). Agree?
In "short SvxNumberFormatShell::FillEListWithUserCurrencys(....)"

Also get rid of SvxDelStrgs (variant of SvStrings)
2012-01-04 13:49:10 +01: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
Luboš Luňák
643de3b64e "*.*" is not "all files" (bnc#738021)
Not on any Unix, at least. I have no idea how deep entrenched is this
mistake all over the code, so I'll play safe and just fix the KDE4 fpicker
(GNOME/KDE3 seem to handle it fine), but at least in the UI show just
"All files" instead of "All files (*.*)").
2011-12-22 19:32:53 +01:00
Tzvetelina Tzeneva
062eaeffe7 sw: Improved document comparison based on RSIDs. 2011-12-22 17:53:53 +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
Caolán McNamara
d0572a171e SelectHdl_Impl doesn't need to be an [IMPL|DECL]Link now 2011-12-20 13:12:34 +00:00
August Sodora
add0b7de36 String->OUString 2011-12-19 21:34:46 -05:00