Commit Graph

796 Commits

Author SHA1 Message Date
82ddade714 QueryBox RID_QB_SPELL_CONTINUE -> MessageDialog + string
Change-Id: Ie08970cefccdb1339e162bb5f4d3318efc6c61a5
2014-08-22 14:23:57 +01:00
f10e4157ce QueryBox QB_CONNECT -> MessageDialog + string
Change-Id: I593527c365ad6925229a3dd7d9e1c589fc4e34a5
2014-08-22 09:20:01 +01:00
df4bd415c0 fix crashing on exit in static SvxBrushItem dtor
site of first ctor

Change-Id: I3316e91bc54439b74df30fdf02ff264a39489c29
2014-08-20 14:06:33 +01:00
8807796e45 InfoBox REG_WRONG_PASSWORD and REG_WRONG_PASSWD_REPEAT to String
Change-Id: I64d2b73744401baafd7dd037187ba3d7c604a535
2014-08-18 03:58:14 +02:00
9cc617afcd Refactored IDocumentStatistics our of SwDoc.
Into the new class DocumentStatisticsManager.

Change-Id: I281232dc09dbd79c2faf3c2a78ae49625bbe88ee
2014-08-12 23:26:37 +02:00
551f76f410 Drop unnecessary SfxApplication::CreateResManager wrapper
Change-Id: I2b8662ec85b8f710aa17a2c6f59c4b35af7685f3
2014-07-29 14:27:43 +02:00
20f6cf0377 Massive 'Dialogdiet fail' and similar to 'Dialog creation failed'
Change-Id: I6ca6914e80c186699df42253de46a3690c5130f2
2014-07-26 14:25:33 +02:00
dac4ca5f68 new loplugin: externalandnotdefined
Find "missing headers," where a function is declared directly in the
.cxx (as extern) and not defined, and should arguably instead be declared
in an include file.

Change-Id: I6d83ee432b2ab0cd050aec2b27c3658d32ac02a2
2014-07-11 14:12:25 +02:00
c353153898 warning C4138: '*/' found outside of comment
Change-Id: I1485d646171b08f709767debfe583f90426d5dfd
2014-06-12 16:49:38 +02:00
bb761be472 Change SfxTabPage ctor SfxItemSet param from ref to pointer
...and also corresponding param of CreateTabPage function type and corresponding
Craete functions.  There were some call sites that passed undefined "null
pointer references" and SfxTabPage internally uses a pointer member pSet that is
checked for null anyway.

Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
2014-06-11 14:39:04 +02:00
a92e973b6d Change SfxTabPage::Reset param from ref to pointer
...there was a call site that passed undefined "null pointer reference"
(apparently in a case where the passed argument was actually unused)

Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
2014-06-11 10:39:03 +02:00
4dbeadb9c1 Change SfxTabPage::FillItemSet param from ref to pointer
...there were a number of call sites that passed undefined "null pointer
references" (apparently in cases where the passed argument was actually unused)

Change-Id: I19799e90f0cd8e98367782441a5ea9df27b59830
2014-06-10 17:25:23 +02:00
f634cda2a2 avoid problems with poppler's and vcl's FontInfo during runtime
Change-Id: I1dbd256812cccae1e6ed0ad8bb34ce427e5e5be8
2014-06-04 07:49:15 +02:00
f8455332dc Removed IDocumentDeviceAccess.hxx include in SwDoc.hxx
Because it is not needed there anymore in that class.
I added it as an include in all files that need it.

Change-Id: I3eb2e1da9d153017968b286e1a0250f145ca7cfe
2014-06-03 19:12:03 +02:00
dbb2e6befb Made SwDoc::getDocumentDeviceAccess return a reference.
Also overloaded SwDoc::getDocumentDeviceAccess with its const
version.

Change-Id: I3272be3ee067aa2e0174663ede3c98190ecf2b09
2014-06-03 19:12:01 +02:00
a0c057f137 Started cleaning up of IDocumentDeviceAccess methods in SwDoc.
Moved all SwDoc::getPrinter and SwDoc::setPrinter calls to their
appropriate interface methods (SwDoc::getIDocumenterDeviceAccess::").

Change-Id: Icbe5369ba03a05d9e2afb1300a9c67b0a0a20c60
2014-06-03 19:11:59 +02:00
67577e8f6e Avoid possible memory leaks in case of exceptions
Change-Id: If1057871aa7c9e7079ed051e6854c77c81f12292
2014-06-02 22:59:09 +09:00
35029b2503 sw: move sw/source/core/uibase to sw/source/uibase
It's too confusing to have UI code inside of core; the important part is
that it's separated from the optional UI code in swui library.

Change-Id: I640a52723d5802faf08f3b8eaa03cd937fd93449
2014-05-27 11:13:02 +02:00
0a3fe4c281 Remove ASCII art and useless comments from sw module
Change-Id: I3ba4ac78fd4810e006b1034bbe7c28b1803895d2
Reviewed-on: https://gerrit.libreoffice.org/9494
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-27 01:46:44 -05:00
43cd2f79da Displaying the number of standardized pages in the Word count window
The number of standardized pages (unit defined in the options)
for the entire document and the selected area is displayed
(if enabled in options) in the Word count window.
The number of pages of size P for an area containing N characters equals P/N.
This value is a float with one decimal place precision.
The default size of the standardized page is 1800 characters
(including whitespace characters).

The configuration can be altered in Options->Writer->General.

Conflicts:
	sw/source/ui/config/optload.cxx

Change-Id: If13e87c73cb7706ff6618fa0352ba29c7c670aec
Reviewed-on: https://gerrit.libreoffice.org/7642
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-20 09:29:53 -05:00
121e0d2e9d fdo#78271: sw: Insert Section dialog: fix editing of name
... to not disable the "OK" button due to 32-bit combo-box no longer
using 2^16-1 for "not found".

(regression from 68ec95b3f80408ae50897b043eed69a07d084df9)

Change-Id: I691e5e81de4a112108741513251945f1b8dd88d4
2014-05-12 21:44:02 +02:00
af10cb2c9c Rename SwDBMgr -> SwDBManager.
We were renaming it recently from SwNewDBMgr, let's use the full name to make
it more readable.

Change-Id: I2ceb3f1790321b70d5936c35e13870439969e64d
2014-05-02 21:32:23 +02:00
6aa35db393 sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
2014-04-30 08:44:42 +02:00
ba39f1bf9b Finish cleaning up ASCII art in the sw module
Change-Id: If4f11093b791902514dee8e216c92f66b075211d
Reviewed-on: https://gerrit.libreoffice.org/9117
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-24 04:39:51 +00:00
043bbbf198 There is nothing "new" with SwNewDBMgr any more
Change-Id: Icbf3d5663a358bf31b58ab8086ffe9160c26bf8f
2014-04-22 10:06:41 +03:00
b166e7af2b There is nothing "new" with SwNewDBMgr any more
Change-Id: I28c48be099ba680a5d6ea91981a1e1bfadff3f84
2014-04-22 08:07:17 +03:00
97a5ba4a71 remove comments why a file gets included
also remove some commented out code

Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-21 18:08:28 +02:00
2df39f400d sw: clean up inter-module includes
Change-Id: I812842e76ae0b7bc252530d2b4aaa2b452c2babf
2014-04-15 21:22:04 +02:00
2afe4c170d Clean up function declarations and some unused functions
Change-Id: I58c425ab9d2c01f8844226aff820dd56d88ec09c
2014-04-15 13:56:21 +02:00
643bbd6041 typo: choise -> choice 2014-04-14 12:32:24 +02:00
752b8ebb26 coverity#705012 Explicit null dereferenced
Change-Id: I49631808c1b7cfce100987cb53be36ab5c97a3af
2014-04-08 09:18:35 +01:00
d666ce1848 WaE: -Werror=uninitialized
Change-Id: I6cda8d722299df581326ad4c7391609a480bd39f
2014-04-07 13:47:02 +01:00
9526d1969d Related: fdo#51818 format statistical numbers with locale rules
Change-Id: Ic21e93d55037a7971b2b6f7988f87c9b4eb01de5
2014-04-07 13:01:37 +01:00
eae2e87ba4 Resolves: fdo#51818 format word count numbers with locale rules
Change-Id: Ia203a622ab2cd63d644895bb792b0569a61eb81a
2014-04-07 12:16:52 +01:00
487099327b Avoid concatenated OUString appends
Change-Id: Ib1daffc252bf389c04cad8ae84f14c9b99c852b9
2014-04-06 22:19:55 +02:00
96fb465431 Reduce scope
Change-Id: Ib49437559d08f41a111dc6348939a1b82564f1a5
2014-04-06 22:19:54 +02:00
2644ccd1f4 Use proper types and constify
Change-Id: Iff4783bbe386fdc0aff2a2b722d3390277e5fdea
2014-04-06 22:19:54 +02:00
52154a7f16 Use index to get consecutive OUString tokens
Change-Id: I7dc854444d6176f99fd9b79445e643a2bb464020
2014-04-06 22:19:54 +02:00
699f5229c7 OUString: constify, remove temporaries and unneeded casts
Change-Id: Icd2a14798dddad5810e63f4c8f77aee5cdf99ceb
2014-04-06 22:19:54 +02:00
352bb1fe2c Constify some variables
Change-Id: Ibc513d125ce792170d9310359539ed4336b6dab6
2014-04-06 22:12:50 +02:00
0523304875 svl: sal_Bool->bool
Change-Id: I6938314a08d061d2b07d9129742d74a989bd1385
2014-04-03 09:17:52 +02:00
fe41e4ba11 Bin pointless INET_HEX_ESCAPE
Change-Id: I72238e511c2fca4a4aba0be60b0f2d3b1f46e5c2
2014-04-01 12:14:45 +03:00
f21d478b85 coverity#1194913 Overflowed return value
Change-Id: I4fc25ec677167a064c349d250352576490fcedcd
2014-03-30 21:21:29 +01:00
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
34002c4e5c sfx2: sal_Bool->bool
Change-Id: I1fd02cc148fd9a54d2092dad1e548f51a0813a14
2014-03-27 13:45:09 +02:00
436cd90095 svtools: sal_Bool->bool
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
2014-03-25 14:32:56 +02:00
769a6c20c4 sw: prefer passing OUString by reference
Change-Id: Iaa846ec8f19567f0a9f30154d74cc53df93eff16
2014-03-17 13:30:51 +02:00
37a2ed040e svx: sal_Bool->bool
Change-Id: I7e7bdce5c3ddb7871b9c1fbfe93dc7f7c254f1bb
2014-03-11 08:18:20 +02:00
c72ce293de svx: sal_Bool->bool
Change-Id: I5a6a57f708a3a5ce1f065e341ae9da24e0c91499
2014-03-11 08:18:18 +02:00
a652ea0fc4 fdo#70422 Moved the linked files from sw/source/ui to a new core/uibase dir
Moved the files linked in sw/Library_sw.mk from sw/source/ui to
sw/source/core/uibase and modified the make files as per the new
directory location.

Reviewed on:
	https://gerrit.libreoffice.org/8447

Change-Id: I05f6ccdeee5e76fb0ae477d16721d9ddc6eaff32
2014-03-09 21:53:34 +01:00