e8f8f24c84
vcl: sal_Bool -> bool
...
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
3cbfcee36d
xub_StrLen and tools/string.hxx final straw
...
Thre is still some 0xffff limit left and possibly some
less than gracefully handled overflow/error cases
Change-Id: I00957ee3a30b02f73918ea49d7353056263dc638
Reviewed-on: https://gerrit.libreoffice.org/7787
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2014-02-03 07:44:28 +00:00
602c87b425
Window::PreNotify should return bool
...
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-18 00:37:49 +01:00
0ee2cddfbd
Properly encapsulate svt::TextWindowPeer
...
Change-Id: Iffa67c345a03852ad7872031b4c5a87e223ffcad
2013-11-27 11:35:24 +01:00
6812efbb4d
Unused include
...
Change-Id: I3db5994ca2e5f3ce7f0f1dfc2994a07b3cb3d6e0
2013-11-26 17:03:53 +01:00
62fcdfa34a
-Werror,-Wunused-private-field
...
...fixed more thoroughly than 49c1964b427c9f2f169ba4d826d346adc7555ae0 "WaE:
private field 'm_bCompoundControlChild' is not used."
Change-Id: Ief1093c054fe272b82da78ab103e8ca3feb72b90
2013-11-26 15:56:33 +01:00
176ac1e616
Remove unnecessary SyntaxHighlighter::Tokenizer statefulness
...
...which reveals that SyntaxHighlighter::notifyChange does nothing, so remove it.
Change-Id: I49834af29081ee703d9e62e182e3c1f8ce7e212e
2013-10-28 13:48:14 +01:00
c99267b326
Fold SyntaxHighlighter::initialize into ctor
...
...which reveals that m_pKeyWords, m_nKeyWordCount members are unused.
Change-Id: I55020e892d463f2e40d5bcf71efba92778b317c1
2013-10-28 13:48:14 +01:00
f5e8be8bb1
Remove unused SimpleTokenizer_Impl::nLine/nCol
...
...which are never read; remove thereby unused parameters from functions.
Change-Id: I644d2dc1b2d13ae2f932d04243521eef97e67e3e
2013-10-28 13:48:13 +01:00
9932749854
Use conventional std::vector idioms
...
Change-Id: I4d26372ea40e7890b76461a764435f8948466ae1
2013-10-22 18:19:18 +02:00
b7f20ef33f
Unwind HighlightPortions typedef
...
Change-Id: I0ecc15f9bfd557d0a70a05536906a4984a46463c
2013-10-22 18:19:18 +02:00
593a298dd3
Revert "fdo#63926 - remove extra include paths in svtools/ and sfx2/"
...
This reverts commit 389bdc162415abff78971b1ce7c5d47482e1d37b.
Sadly this was going in the wrong direction...
2013-08-15 17:19:02 +02:00
062cf88d8f
convert include/svtools/svmedit2.hxx from String to OUString
...
Change-Id: I313f5d930b744bbd81b3578f7bb77920cfc072c4
2013-08-15 09:11:33 +02:00
bfafc8c3a1
callcatcher: update unused code
...
mostly ResId using ctors left stranded post .ui conversion
Change-Id: I06689eea30ee9146ba05294f52056c0d263695f5
2013-08-10 12:25:10 +01:00
389bdc1624
fdo#63926 - remove extra include paths in svtools/ and sfx2/
...
- removed some paths from include
- more of this kind will follow
Change-Id: Ia5c410a5b9a7a0dfa5610dd50d82c8b23fcf43b2
Reviewed-on: https://gerrit.libreoffice.org/5288
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2013-08-06 09:17:22 +00:00
ab29ad8cd5
set some initial sizes for the direct sql dialog textedits
...
and we can use existing GtkTextView<->VclMultiLineEdit mapping rather than the
svtools MultiLineEdit
Change-Id: I6d20a9ba8731dda1ec9579fc2877b817fea0632f
2013-07-30 14:51:47 +01:00
471e5c1ed1
modern .ui widgetlayout for directsql
...
Change-Id: I51140fe6abd2d321c5784b923f920ab9183f417e
Reviewed-on: https://gerrit.libreoffice.org/5171
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-07-30 13:48:40 +00:00
5358b9ba4f
UniString->OUString
...
Change-Id: I217944d40ed7cd3a2fca4ad0d61729ff5d94ed96
2013-04-16 13:46:56 +01:00
02917cb57e
Resolves: fdo#47209 and rhbz#927223 syntax highlighter crash
...
when trying to parse empty lines looking for the matching
bracket
Change-Id: I3961a3d0e804d136de286e21934c6ba5ab0496cf
2013-04-16 13:40:11 +01:00
a808497dbb
drop prefix from ::css
...
as css is already ::com::sun::star
Change-Id: I86b43843e4b74f990b6e05dee37184a002072d12
2013-04-02 09:01:37 +02:00
c16e9f4ed9
Move SyntaxHighlighter class from svtools to comphelper
...
We use this class in helpcompiler, and it is not desirable to
compile svtools (thus half of LibreOffice) for a build tool
in cross-compiling environment.
Change-Id: I5e6bc3e576af41eb03c1420dd347c542306f69fa
2013-02-16 12:55:03 +01:00
b6eed85964
fix a Basic keyword in syntax highlighter: withevent -> withevents
...
Change-Id: I47b527ad6e68dba83ebb253bcc55a2717c7dd0ca
2013-02-13 10:19:23 +01:00
fb1f3db03d
String to OUString
...
Change-Id: Ibb0b1808532622ffb2dfc55d533428f6d72b890c
2013-02-13 10:19:20 +01:00
d25486b5a9
remove rtl:: prefix
...
Change-Id: I6b2c51c57a98046e30b2782dd2565ee02345379d
2013-02-13 10:19:18 +01:00
6e4fd7ba9f
use u_isalpha() from ICU instead of home-grown solution
...
plus German comments were translated
Change-Id: Id9ff5d4835e4ea224c9e6232a1762822aa833d37
2013-02-13 10:19:17 +01:00
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
66a175834c
c++ API: use css alias in generated headers, adds global css decl
...
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star
Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.
Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
af60316514
some i18n wrappers with LanguageTag
...
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-23 23:09:16 +01:00
9955dbebbd
AllSettings with LanguageTag
...
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-22 12:34:59 +01:00
daeed90f45
re-base on ALv2 code. Includes:
...
Patch contributed by: Jurgen Schmidt
remove onlineregistration with dependencies
http://svn.apache.org/viewvc?view=revision&revision=1240245
imported patch package_eventlistener.patch
http://svn.apache.org/viewvc?view=revision&revision=1172103
Patch contributed by Pedro Giffuni
Accept Google Chrome OS fonts as equivalent to MS fonts.
http://svn.apache.org/viewvc?view=revision&revision=1233155
http://svn.apache.org/viewvc?view=revision&revision=1233408
Patch contributed by Andre Fischer
Do not add targets for junit tests when junit is disabled.
http://svn.apache.org/viewvc?view=revision&revision=1241508
Patches contributed by Mathias Bauer (and others)
gnumake4 work variously
http://svn.apache.org/viewvc?view=revision&revision=1394707
http://svn.apache.org/viewvc?view=revision&revision=1394326
cws mba34issues01: #i114600#: remove forbidden characters
from list of unencoded characters
http://svn.apache.org/viewvc?view=revision&revision=1172370
Patches contributed by Oliver Rainer-Wittman
some clean up in JPEGReader due to memory constraints
http://svn.apache.org/viewvc?view=revision&revision=1299729
119114 - method <UpdateDialog::addSpecificError(..)> - create
entry with correct type
http://svn.apache.org/viewvc?view=revision&revision=1305265
Patches contributed by Ariel Constenla-Haile
i118707 - make toolbar control's popup window grab focus
http://svn.apache.org/viewvc?view=revision&revision=1225846
Patches contributed by Herbert Duerr
#i118662# remove usage of BerkeleyDB in desktop module
http://svn.apache.org/viewvc?view=revision&revision=1213171
minor cleanups in dp_persmap.*
http://svn.apache.org/viewvc?view=revision&revision=1215064
flush early to prevent problem with extension manager not
cleaning up its objects
http://svn.apache.org/viewvc?view=revision&revision=1228147
i118726 do not flush *pmap file while reading it
http://svn.apache.org/viewvc?view=revision&revision=1230614
#i119048# migrate BDB extension entries using a simple heuristic
http://svn.apache.org/viewvc?view=revision&revision=1300972
#i119048# handle edge cases when importing BDB hash files
http://svn.apache.org/viewvc?view=revision&revision=1301428
#i119113# fix of-by-one when importing BDB files
http://svn.apache.org/viewvc?view=revision&revision=1305420
restore our encryption settings, icon themes, and dictionaries.
removed wrapper hacks, kill obsolete bundled extension blob /
pre-registration handling, remove duplicated quickstart code.
remove OS/2 conditionals.
2012-11-19 17:44:55 +00:00
9dbb62555f
disable cursor in about dialog and message boxes
...
Change-Id: I060872e0a468f2ce26a2ab519c5bfe271574170b
2012-10-22 17:25:12 +04:00
d7cdef2c49
VCLMultiLineEdit->VclMultiLineEdit to align with other new widget names
...
Change-Id: I97b7459b9c5c680d624234e8c51a5997a02fd5f7
2012-10-11 09:21:42 +01:00
2345948281
be in lexicographic order
...
Change-Id: I26b15fe1cc5f8f3066f241143d01615a7416eb5b
2012-09-23 23:56:05 +09:00
94bb5021c7
fix typo
...
Change-Id: I8bb811cfe06d409bebad586c16cf3837551f5a5f
2012-09-23 23:52:31 +09:00
3b3c20212e
add missing basic keywords to syntax highlighter
...
Change-Id: I920ad01c0ea338795afeb16e44cd8ec09e5fc5d6
2012-09-23 15:01:56 +02:00
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
747cb47357
remove unnecessary includes of svl/svarray.hxx
...
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2012-07-30 12:47:50 +01:00
0bdf6fc7c7
Bug 48549 - System::Beep() removal
...
Change-Id: I011048912af051a762a78af8646513a1fc624073
2012-07-30 05:20:02 +02:00
f5a625f61a
fdo#40152 replace with empty string in Basic IDE
...
Change-Id: I2ee41160e5cb10694ccdb5a1cdaf7d4abfeb23bb
2012-07-25 14:11:06 +01:00
0f6101cfef
fdo#48549 System::Beep() removal
...
Change-Id: I8fe133dd8d1f759fbe21d47ae358c0b5451812b5
2012-07-23 15:12:44 +01:00
4dd7c0369d
Various Clang 3.1 -Wunsued-variable, -Wconstant-conversion
...
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-07-18 08:23:28 +02:00
104261010a
some UniString->rtl::OUString
...
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
9e0cbe5eb3
some pesky XubStrings
...
Change-Id: Ib4095dee416cab6d954e1612d2e3f6e2d4464f48
2012-06-29 11:20:32 +01:00
9928fd7fc6
remove some annoying XubStrings
...
Change-Id: I8c34a344285b6929091788c6b7a5529b48943f94
2012-06-25 14:19:02 +01:00
ecf943247f
re-base on ALv2 code.
...
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
b9042fad7c
re-base on ALv2 code.
...
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
54e9a28390
typo: paramters, paramaters -> parameters
...
Change-Id: If58683331c50f2a95204e8e2dea11edbef3ccb63
2012-06-19 16:44:08 +02:00
447e5b4b36
death to some UniStrings
...
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
2012-06-19 14:11:50 +01:00
bd4f553ef0
remove some UniString ctors
...
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
2012-06-19 09:13:23 +01:00
6191fa0847
reduce use of UniString ctor from null-terminated unicodearray
...
Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
2012-06-13 11:20:23 +01:00