4296394d5c
remove pointless external guards for standard headers
...
Change-Id: I509984a6029b6a86fd1ee3f947394af9cdf71c6a
2013-06-28 18:10:16 +02:00
5cb2e3104b
remove toolkit/unohlp.hxx hack
...
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913
Reviewed-on: https://gerrit.libreoffice.org/4601
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-06-28 11:49:28 +00:00
7a61efe422
add missing VclBuilder::stringmap argument to some builder functions
...
Change-Id: I57e13920b4707ebe5b6a7149dbdbfc45593c0d9d
2013-06-27 16:45:11 +01:00
9a95669e50
fdo#43460 dbaccess: use isEmpty()
...
Change-Id: Ie27a81f4e59c48ef5aa03fb82ab38e920c0646a1
Reviewed-on: https://gerrit.libreoffice.org/4321
Reviewed-by: Noel Power <noel.power@suse.com >
Tested-by: Noel Power <noel.power@suse.com >
2013-06-17 19:45:38 +00:00
00eafaa949
fix limit bug: selecting "All" has no effect to sql
...
LimitBox set its value to -1 if the current
text is "All" but just when it loses its focus
so dispatching its value to the controller
must be after this setting.
(see limitboxcontroller.cxx)
Plus some clean up in LimitBox.cxx
Change-Id: Ic1d314a5a67c2b261b2e9c50973f51de2bfb8db8
2013-06-14 09:45:38 +02:00
90e1606659
mingw64: long -> sal_IntPtr in dbaccess
...
Change-Id: Ic9e049b6b79a8ae3777d8b2a6e918289445c21da
2013-06-10 14:03:37 +02:00
6cf3094075
WaE: implicit conversion of NULL constant to nullptr_t
...
Change-Id: I2eefbca1ef986219f04504cba4ca09a22972e8cb
2013-05-24 12:40:46 +03:00
e2e2cc6114
remove usage of RTL_CONSTASCII_USTRINGPARAM
...
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.
Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06 16:51:45 +02:00
a0b720c9fc
remove never-generated "predicate_check" entry
...
Change-Id: Ib3957fbadf6bfebfaabd5bef09aaf7ab21862cd6
2013-04-26 16:49:50 +02:00
1bc4a49d9b
QueryDesign: in criteria, remove column_ref when table *and* column name match
...
As opposed to only the column name
Change-Id: I261d13f23214f950daa55a5b63cd486e59a0e127
2013-04-26 16:49:48 +02:00
fae7a3d060
String -> OUString
...
Change-Id: Ibf566a11a383b77a930d46967e496752c88b39e4
2013-04-26 16:49:47 +02:00
e894e57aab
dbaccess: {DECLARE,IMPLEMENT}_CONSTASCII_USTRING are no longer needed
...
Change-Id: Id404f8f3a5bdbf32c207ee81c6f6be9c9d328679
2013-04-25 11:02:34 +02:00
0f200cc30e
fdo#63154: Change Min/Max/Abs for std::min/max/abs
...
Now all these usages were removed from LO.
Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6
Reviewed-on: https://gerrit.libreoffice.org/3326
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-20 11:09:54 +00:00
c32b6be06b
fdo#60724 correct spelling
...
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15 05:32:37 +02:00
b248624126
fdo#46808, Convert frame::Frame to new style
...
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-04-08 13:53:04 +02:00
86fdce6011
fdo#46808, Convert svt::ToolboxController to XComponentContext
...
.. and all of it's friends
Change-Id: I408d9308d1d1a4f8ed0055ac5f4042d729c44d1e
2013-04-08 13:53:03 +02:00
87f185d192
fix typos
...
See <https://gerrit.libreoffice.org/2444 >
Change-Id: Ia45a3e30a25692cc1f5de90363bd7fe2f427e0d7
Reviewed-on: https://gerrit.libreoffice.org/3268
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-04-07 21:26:52 +00:00
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
f01c378870
continue String->OUString conversion
...
Change-Id: I44b816d6a270e8877e0db1408df4da3434932800
2013-04-04 16:34:49 +02:00
e32fd06507
more efficent & readable
...
Change-Id: If24a2a8488f1b1142b12540e4b8b00eb26bd7873
2013-04-04 15:37:51 +02:00
e60eca1cfc
replace only single wildcard by table.*
...
not any string beginning with "*"
Change-Id: I6afe4db0ae69632990eafb288f715ae9cf7ad837
2013-04-04 15:37:31 +02:00
7ee37c3ac6
String::AppendAscii cleanup in dbaccess
...
Change-Id: I6a6d695c9e4b850bc19a3a80c2d8343147724df6
Reviewed-on: https://gerrit.libreoffice.org/3068
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-28 16:46:15 +00:00
6c6adf5b46
fdo#61794 Set maximum of LimitBox to SAL_MAX_INT64
...
Change-Id: I1744c7f8f1d6d27d3e62feb0cade1280fea331f1
2013-03-27 14:29:11 +01:00
aa753f01ba
-Wunused-macros
...
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
5bb4a2ba1d
further OUString cleanup
...
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19 14:18:10 +01:00
39d45390f4
removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
...
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms
Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-19 10:48:30 +00:00
8b27d78b4a
automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
...
Done with a perl regex:
s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms
Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-19 09:00:26 +00:00
38d3e115c1
vcl: make Region ctors explicit to prevent overloading desasters
...
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
2013-03-13 22:29:46 +01:00
8885dc27da
Make allow to step on from LimitBox with tab
...
Change-Id: I5f2994459cbb7786e6c9d83b0894cb581f4560fd
2013-03-09 12:13:45 +01:00
4e38ea8670
LimitBox.cxx: Delete useless comment block
...
Change-Id: I3a75c7de783913385188680119f2baf8a726676d
2013-03-09 12:03:49 +01:00
4c52c8bd73
fdo#61794 Allow greater value in LimitBox
...
Increase the width of LimitBox
*on toolbar: 6 digits
*in dialog: 10 digits
Set maximum value of LimitBox to the max value of Int32
Change-Id: I6fcf0270b474eb46a29ff98ade9cd7ee8ba637f5
2013-03-09 11:59:21 +01:00
33933867b0
fdo#61797 ESCape abort changes and grab focus
...
Handling of hitting enter or escape are only
usefull for toolbar element.
In a dialog these keys have other meanings
(close the dialog with/without saving)
Change-Id: Ifbe5d36daab9c0702b888a58403dc170082fc32d
2013-03-09 08:20:51 +01:00
a0296296fb
fdo#60691 add modelines to *.src and *.hrc files
...
use solenv/bin/add-modulelines script for the task
and remove all UTF bom from *.src and *.hrc files
svx/source/dialog/hdft.src
Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08 21:02:26 +00:00
8fd81a1119
fdo#39468: Translate German comments in dbaccess/source/ui
...
Change-Id: I9eb3c97ffe2dd122960bb4c5f5b0594767ea0fb9
Reviewed-on: https://gerrit.libreoffice.org/2556
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-07 10:53:59 +00:00
7488ad52d7
Add new dialog to Query Design View
...
In Query Properties Dialog can be set properties like
distinct values and limit.
To open choose Edit\Query Properties.
Steps of implementation:
- Add new slot to Edit menu (menubar.xml): delete the slot of distinct values,
because it can set in this dialog too
- Separate LimitBox class from limitboxcontroller.cxx (LimitBox.hxx\cxx)
With it only LimitBox header is included in the dialog source.
- Extend LimitBox class to work with new layout widget (make... and GetOptimalSize())
and add it to the galde catalog
- Make a class for the new dialog (QueryPropertiesDialog.hxx\cxx) and
write the .ui file. (querypropertiesdialog.ui)
- Syncronize the two LimitBox (querycontroller.cxx)
Change-Id: Ib84bef5a2ed55030333d6151342b99ff27766538
2013-03-04 19:33:16 +01:00
32acb98b3f
translated German comments; all cleaned up.
...
Conflicts:
dbaccess/source/ui/querydesign/QueryTableView.cxx
Change-Id: I761b190361bbcca2f9655a7a028799586c2d8656
2013-03-04 12:02:06 +00:00
21bbd59a70
ersetzen => replace in stead of translate
...
Change-Id: I8d355d58c3720201554c68be0c82245383eec1ed
2013-03-04 11:04:07 +00:00
a61881fc00
translated German comments
...
Change-Id: I6d9b646d9d70dcbf97f7faacc8b15578a597b2a1
2013-03-04 11:02:03 +00:00
130d277683
fdo#39468: Translate German comment
...
Change-Id: I9adf5348b7ab8fa9d14ffe8d0b4151b5ea2c6fbb
Reviewed-on: https://gerrit.libreoffice.org/2536
Reviewed-by: Michael Meeks <michael.meeks@suse.com >
Tested-by: Michael Meeks <michael.meeks@suse.com >
2013-03-04 09:51:54 +00:00
f5ca04caca
Related to fdo#60724: correct spelling
...
Using the autocorrect list of LibreOffice
extras/source/autotext/lang/en-US/acor/DocumentList.xml
Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657
Script: http://pastebin.ca/2327716
2013-03-03 17:14:16 +01:00
9e991e1852
fdo#39468 Translated German comments to English
...
Change-Id: If4f8e308cfae6a4ba64576c1b2844210e64085a0
2013-03-02 21:08:46 +00:00
dadfa4bbbe
translated German comments
...
Change-Id: I4a629124270eb39dc879f74f1814618fe660be5e
Reviewed-on: https://gerrit.libreoffice.org/2516
Reviewed-by: Michael Meeks <michael.meeks@suse.com >
Tested-by: Michael Meeks <michael.meeks@suse.com >
2013-03-02 20:28:41 +00:00
d1e99f5802
translated German comments (file is clean now)
...
Change-Id: I1f833fe4a2332c1b2fa1e98fd320e55f7e19c649
Reviewed-on: https://gerrit.libreoffice.org/2517
Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be >
Reviewed-by: Michael Meeks <michael.meeks@suse.com >
Tested-by: Michael Meeks <michael.meeks@suse.com >
2013-03-02 20:27:11 +00:00
5f985d3759
fdo#39468: Translate German comments (and messages)
...
Change-Id: I80444aac8fdf90ea0f595151788afb14d4415cd3
Reviewed-on: https://gerrit.libreoffice.org/2444
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-02 12:02:47 +00:00
4626cda96a
fdo#39468: Translate German comments
...
Change-Id: I29619fab12ae22bda6a8f325eece63d777b0470b
Reviewed-on: https://gerrit.libreoffice.org/2468
Reviewed-by: Michael Meeks <michael.meeks@suse.com >
Tested-by: Michael Meeks <michael.meeks@suse.com >
2013-02-28 14:20:56 +00:00
465dbaecf9
fdo#38838 Replaced some use of (Xub)String with OUString.
...
Change-Id: I5a8f2d1a5762c20d21d31b04778a9e2cac8df9cb
Reviewed-on: https://gerrit.libreoffice.org/2364
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-02-26 15:51:23 +00:00
b1b8e14c4f
Translated German comments and some messages into English
...
Change-Id: I2d92db30bacc52d487df2a0a118b430bc3425f69
Reviewed-on: https://gerrit.libreoffice.org/2427
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-02-26 13:53:02 +00:00
f48d194055
German comment translated to English
...
Change-Id: I8f4686e89a068a4392cff013de31f429be88e2b9
Reviewed-on: https://gerrit.libreoffice.org/2423
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-02-26 11:01:30 +00:00
9058b52c50
fix WaE
...
Change-Id: I1bbac4de97866695bf73e25977af8306014325fc
2013-02-26 08:48:51 +01:00
9a471b8cd8
Database: Add Limit in Query Desing View
...
Levels of implementation
- Add a new toolbar item to ui (designobjectbar.xml)
- Make a control for this element( LimitBox: derived from NumericBox)
- Make an own controller for this control (LimitBoxController) and
register it
- Add new feature to the general\central controller (OQueryController)
and construct a communication channel between the two controller
- Modify the view switching (SQL<->Design) methods to use\set limit
value (QueryDesignView.cxx)
Conflicts:
dbaccess/source/ui/querydesign/QueryDesignView.cxx
Change-Id: I0eb09d1d40cfdb9b8a2a57ab8911faca91d5e690
Reviewed-on: https://gerrit.libreoffice.org/1994
Reviewed-by: Andras Timar <atimar@suse.com >
Tested-by: Andras Timar <atimar@suse.com >
2013-02-25 20:04:03 +00:00