Commit Graph

78 Commits

Author SHA1 Message Date
José Guilherme Vanz
288f0029c6 fdo#52622 - Reduce copy and paste code
This commit removes copy and paste code, creating a constructor for it

Change-Id: I7a66cfda7fc7c11308d155a7a890352fdacfaacc
Reviewed-on: https://gerrit.libreoffice.org/6356
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-10-20 12:25:45 +00:00
Noel Grandin
ea2c80bdcd convert CUI module from String to OUString
Change-Id: I79bdab414d448a0d619b80857d7b31633c116f81
2013-10-01 10:08:42 +02:00
Noel Grandin
0f9976f9ce convert include/editeng/splwrap.hxx from String to OUString
Change-Id: I52e6e34776fe494da431f8387f5f330b9aca36fe
2013-09-11 09:45:31 +02:00
Caolán McNamara
f42768fe0b Resolves: fdo#68794 blank placeholders when there is no known language yet
Change-Id: I7f43144bd61ddc575d8b7094567433fdfd5ee291
2013-09-02 12:22:34 +01:00
Eike Rathke
358d1a9948 use static LanguageTag::convertTo...() for standalone conversions
If no LanguageTag instance is at hand use the static methods to convert
between BCP 47 string, Locale and MS-LangID instead of creating
temporary instances.

Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-13 11:55:16 +02:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Stephan Bergmann
3801c6ea7c DBG_ASSERT -> SAL_WARN_IF (silence -Werror=unused-macros)
Change-Id: Iac61bcae89e9a96c7b9b97be3fa60378acc89bd9
2013-03-27 22:27:52 +01:00
Ricardo Montania
03c1f1732d String::AppendAscii cleanup
Change-Id: If9e57c77d39597db78739a7886d76ee0197f6461
Reviewed-on: https://gerrit.libreoffice.org/2703
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-13 15:11:20 +00:00
Caolán McNamara
5ecb308bd3 rename setInitialLayoutSize to setOptimalLayoutSize
and add a mechanism to know that we're in true
initial layout mode

Change-Id: I4ff61160ae67a7ccf1cb8b25c41870c195d32b94
2013-03-07 14:06:17 +00:00
Tor Lillqvist
616c6924f1 s/the the/the/
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
Noel Grandin
53ec703c14 fdo#46808, Adapt linguistic2::DictionaryList UNO service to new style
Change-Id: Iaf81a38063411b8a003b78f7eb7d6aab6c9df292
2013-02-12 10:14:43 +02:00
Caolán McNamara
bd272cd3da rename SfxSingleTabDialog to SfxNoLayoutSingleTabDialog
Change-Id: I4922b719bf819879909e9949bf7946f20914d1e5
2013-01-24 14:29:46 +00:00
Michael Stahl
f55deeb525 fix previous string conversion:
- unconverted assertion in dinfdlg.cxx
- wrong replaceAt in SidebarWin.cxx
- obsolete cast in SpellDialog.cxx

Change-Id: I18450c0c6fdd275b7f81a7fce58cdf98bb806e27
2013-01-21 21:48:40 +01:00
Chr. Rossmanith
e3f11c10d8 Changed SetText() / GetText() to take/return OUString
replaced lots of Len() with isEmpty()

Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0
Reviewed-on: https://gerrit.libreoffice.org/1795
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-21 20:48:35 +00:00
Caolán McNamara
6dd888e899 callcatcher: update unused code
Change-Id: Ic896ea234c3ea7bfaa94ab2441471926beae427d
2013-01-07 16:17:51 +00:00
Jan Holesovsky
0c22f3eadd Make LO buildable again after the GraphicFilter move.
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2013-01-04 22:02:51 +01:00
Tor Lillqvist
844095f29a WaE: unsafe mix of type 'bool' and type 'sal_Bool'
Change-Id: I927f7ea5cae396bb10ffc2568ec68ae69b8f3f82
2013-01-03 17:02:00 +02:00
Caolán McNamara
396a3e7c7b adapt spelling dialog to use .ui
Change-Id: I51fdb40378253780cd15127f0c79eda54dce15f0
2012-12-29 18:02:26 +00:00
Caolán McNamara
d906615e35 Don't display grammar checker's vendor name in the titlebar
There was always something a little underhanded about the introduction of
advertising of vendor names of the grammar checker.

Change-Id: I85a10770ee0891ebcfbf26b366f664811ebcf84b
2012-12-29 18:02:25 +00:00
Eike Rathke
41956321ce get rid of Svx...Locale...() double conversion nonsense
Change-Id: I21d14ff6087d1adb0ce769f2e8f8060a005250cc
2012-11-24 18:56:43 +01:00
Caolán McNamara
040e022d06 move svtools's FixedHyper.hxx to vcl
merge with fixedhyperbase and map GtkLinkButton
to FixedHyper. Convert to String while I'm at it.

Change-Id: Ibc61fd29c01796561eeef952a159c82ff215a095
2012-11-12 12:01:39 +00:00
Luboš Luňák
f7a24eff2d mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html

Change-Id: I231f0b367bf0b513c6c1ce4c4cfdb7c3dc8660d5
2012-10-12 13:34:47 +02:00
Michael Meeks
015b29b74a re-base on ALv2 code. Includes:
clarify Option->Language UI option
    Patch contributed by Herbert Duerr
    http://svn.apache.org/viewvc?view=revision&revision=1173991

    cws mba34issues01: #i117712#: fix several resource errors introduced
    by IAccessible2 implementation
    Patch contributed by Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1173991

    cws mba34issues01: #i117709#: add missing string resource
    Patch contributed by Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1172348

    cws mba34issues01: #i117716#: fix missing resources my removing unused code
    Patch contributed by Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1172345

    re-add Crystal, Tango, Oxygen icon theme listings.

    correct method signature
    Patch contributed by Jean-Louis 'Hans' Fuchs
    http://svn.apache.org/viewvc?view=revision&revision=1306725

    i#119063 - correct serf integration
    Patch contributed by Oliver-Rainer Wittmann
    http://svn.apache.org/viewvc?view=revision&revision=1300521

    i#119036 - adapt serf integration
           -- use transfer-encoding 'chunked' on HTTPS
           -- switch transfer-encoding between 'chunked' and none on 413 HTTP status code
           -- refactoring
           -- improve user experience of certification dialog - only shown once
    Patch contributed by Oliver-Rainer Wittmann
    http://svn.apache.org/viewvc?view=revision&revision=1299727

    118569: Use whole certification chain for verification.
    Patch contributed by Andre Fischer
    http://svn.apache.org/viewvc?view=revision&revision=1295493

    serf integration: improve credential input handling
    Patch contributed by Oliver-Rainer Wittmann
    http://svn.apache.org/viewvc?view=revision&revision=1294557

    warning-free ucb/source/ucp/webdav
    Patch contributed by Pavel Janik
    http://svn.apache.org/viewvc?view=revision&revision=1294086

    some refactoring to PROPPATCH and PROPFIND requests
    Patch contributed by Oliver-Rainer Wittmann
    http://svn.apache.org/viewvc?view=revision&revision=1293281

    i#118569: Replace neon with serf
    Patch contributed by Oliver-Rainer Wittmann
    http://svn.apache.org/viewvc?view=revision&revision=1292832
    http://svn.apache.org/viewvc?view=revision&revision=1292794

    remove OS/2 conditionals for now.

    re-enable webdav unit tests.
2012-10-04 20:16:37 +01:00
Stephan Bergmann
756352698d More places that require a prefixed "system"
Change-Id: I49cf1f02faf70a5a92ab45e7678253ba4e5f68d0
2012-09-03 18:34:24 +02:00
Noel Grandin
bc00717bb7 fdo#46808, Adapt system::SystemShellExecute UNO service to new style
Change-Id: Ib298b3219c3e89dd35bce0974846ed4888ed941e
2012-09-03 15:55:05 +02:00
Stephan Bergmann
93a36f862b -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I6d5948fc6b2b42e306db9de70ab44b235dc116f9
2012-08-31 09:04:14 +02:00
Zolnai Tamás
2854d8b17c fdo#46193 MessBox was made copyable
Part of MultiLineEdit was moved down from stvools to vcl
with name VCLMultiLineEdit. MessBox uses it to display the
message in read-only mode. Some of svtools' classes - which
are necessary to implement VCLMultiLineEdit - were moved to
vcl as a whole, and their includes are rewrite.
Note: ExtTextView and ExtTextEngine classes would be leaved in svtools
if VCLMultiLineEdit is a template class, but two macros: IMPL_LINK
end IMPL_LINK_NOARG make it impossible to use template syntax.

Change-Id: I26543868d8081c225c7125404d23369de3c3afcd
2012-08-07 10:50:23 +02:00
Thomas Arnhold
13887f4848 Remove superfluous include comments
Change-Id: Icd57ca7fd89e30c190c1b06dbe67c30bea8d1b59
2012-06-09 04:51:38 +02:00
Caolán McNamara
a3c47760e1 Resolves: fdo#50476 Dots inside quoted sentences get removed on "Correct All"
refactor the dodgy dot replacement code so that all the replacement paths go
through the same logic so that "Change All" does the same thing as repeated
"Change"s

Change-Id: Id63968e03409f676200a9ac546f7baa398f2eff8
2012-05-29 22:34:49 +01:00
Caolán McNamara
e5d589bb3c Resolves: fdo#40778 wrong type used for callback arg
Change-Id: If97589c7b7ad647b22de229a6161b4fd78c757c8
2012-05-22 16:10:22 +01:00
Caolán McNamara
fdec471a7c Related: fdo#40778 use simple pushbutton for add to single user dict
for "add" an unknown word to user-defined dictionaries
a) use a normal button when there's only one user-defined dictionary
b) use a dropdown when there's more than one user-defined dictionary

Change-Id: I8a8eb3fff6c4582341d8322df403b73a517a5560
2012-05-17 14:14:58 +01:00
Takeshi Abe
ac7f7b0462 removed unused defines 2012-04-20 01:57:32 +09:00
Rob Snelders
808be9732e fdo#40778 Remove dictionary choice when adding new entry to the spellchecker 2012-04-17 12:16:18 +02:00
Florian Allmann-Rahn
223b99165a translated or removed german comments in connectivity, cppuhelper and cui 2012-04-17 11:32:31 +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
Stephan Bergmann
d4b67611c4 Introduced SystemShellExecuteFlags::URIS_ONLY 2012-03-16 15:01:26 +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
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
Takeshi Abe
2b1758a2dc Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...) 2012-02-10 23:01:07 +09:00
Thomas Arnhold
22da27d9dd Improve checking for emptiness 2012-01-21 19:58:46 +01:00
Marcel Metz
4beb58e0dd Removed unnecessary tools/ref.hxx includes. 2012-01-06 23:55:51 +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
László Németh
e2812dd419 Fix always-false condition of FullCommentURL 2011-12-13 10:30:53 +01:00
Caolán McNamara
36edda75a9 Resolves: fdo#36678 regenerate language-specific user dict list
Regenerate language-specific user dict list when language of underlying text
changes. Not just when the user overrides it from the top menu.
2011-11-03 13:02:03 +00:00
Cédric Bosdonnat
bc3c10b5ce Grammar checking dialog: reworked how explanations are shown 2011-11-02 13:21:57 +01:00
Eike Rathke
9796ac726e Revert "callcatcher: replace Clone() by NULL"
That doesn't make sense, not even with a callcatcher excuse.

This reverts commit d54c3ad151.
2011-10-19 01:38:19 +02:00
Caolán McNamara
ecf8ed8eed Resolves: fdo#39347 changeall strips periods of sentences ending in error
It's really dubious to do this, but we're doing it already for "Replace", just
not for "Replace All". Might as well be equally wrong everywhere.
2011-10-17 15:21:53 +01:00
Caolán McNamara
c9e6df76ff Resolves: fdo#36678 move init that depends on parent to post-parent avail 2011-08-26 10:23:55 +01:00
Caolán McNamara
63eef1c1cf Resolves: fdo#39348 toggling grammar checkbox deletes sentence 2011-08-22 11:33:42 +01:00
Thomas Arnhold
d54c3ad151 callcatcher: replace Clone() by NULL 2011-07-14 08:22:59 +02:00