Commit Graph

355298 Commits

Author SHA1 Message Date
Eike Rathke
9476bd39ad disallow 'qlt' privateuse code
... to prevent confusion with our internal usage.

Change-Id: I273b80882cbe5029d04ad754c8b0636f5c59a4f6
2014-06-12 11:02:36 +02:00
Stephan Bergmann
171a14c0c3 -Werror,-Wunused-private-field
Change-Id: Ic4da6180e4457309211ed26ba7d2b8382eec76f3
2014-06-12 10:58:00 +02:00
Stephan Bergmann
5037dc7c46 Unnecessary #include
Change-Id: Ib6048bb694c84a1386d70a72c6e6e942b246a80d
2014-06-12 10:54:02 +02:00
sk94
8e6eb6fb21 DLG_MM_ASSIGNFIELDS conversion to .ui
Change-Id: Ia625de9edd46c185c2712c0c5a7154ba1abb2894
Reviewed-on: https://gerrit.libreoffice.org/9726
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-12 08:49:19 +00:00
Miklos Vajna
25526046e7 CppunitTest_sw_ooxmlexport: port testFloatingTablePosition to textboxes
Change-Id: I200520a28335fb62cecb91175fc6cefc2cfb51ec
2014-06-12 10:07:07 +02:00
Miklos Vajna
32d6d27eb6 CppunitTest_sw_ooxmlexport: port testPageRelSize to textboxes
Change-Id: I08e112b3816797a848ae9d16fa7002a67c12fc3d
2014-06-12 09:39:03 +02:00
Miklos Vajna
0e8c06660b writerfilter: remove unused analyzemodel.xsl
Change-Id: Ic9e44d0050413c9225b030a4be6f71f5adc654fc
2014-06-12 08:58:04 +02:00
Stephan Bergmann
9885c35ddb Avoid undefined left shift of negative value
Change-Id: I6496a16c4d6791af43a67dae57b9ee218c3444fe
2014-06-12 08:31:01 +02:00
haochen
3183bfa7da GPU Calc:Add more judge for NAN in SingleVector parameter
Change-Id: I01f2576e9d8f6a2e677d1fb08097bc81f15bfbe0
2014-06-12 02:10:17 +02:00
Stephan Bergmann
fb22eb4257 Fix XMLFile::SearchL10NElements signature
Change-Id: I34134f75ac5571a635256d349bf5a2f67ef8ef06
2014-06-11 23:47:41 +02:00
Christian Lohmaier
7e19398033 update credits
Change-Id: Ibc8a9155e0d51d87aeab04bb559cfb2e92ba4cf1
2014-06-11 23:38:35 +02:00
Bjoern Michaelsen
8ff029893e do no try to install bsh/js when not building them
Change-Id: Ic1521ad9a67c9930e2e4561eacb1e78905310613
2014-06-11 23:07:24 +02:00
Tor Lillqvist
3cf9f47c94 Bin obsolete pointless preprocessor trickery
Change-Id: Icff9a0f112c80569a4533d5c0c6e789eec3925ee
2014-06-12 00:01:55 +03:00
Tor Lillqvist
7198d97a2d Bin crack, _NOTIFY_HXX is not defined anywhere anyway
Change-Id: I596ec18deca1a7bd85bc49f637fc1765e43d1278
2014-06-12 00:01:54 +03:00
Tor Lillqvist
b7732167de Bin crack, _SFX_HXX is not defined anywhere anyway
Change-Id: Ib751fe39cca72fe1cfc9789e63f28a00abb9113a
2014-06-12 00:01:53 +03:00
Bjoern Michaelsen
a26b74cc49 fix the almost fix from ...
... 27fc435449. Thanks sberg.

Change-Id: Ibf0c7926da38ec3835fd0ab21e1383711bfa6034
2014-06-11 22:47:45 +02:00
Tor Lillqvist
26b1c43091 Bin unused file
Change-Id: Ibd4ded85d5d3e1de8bf12934cbe55210d1983b18
2014-06-11 22:43:30 +03:00
Tor Lillqvist
f9f60b95c1 Bin crack, _SFXITEMS_HXX is not defined anywhere anyway
Change-Id: I9143e7fffef6e99d25a0fd87712ed26d2d42116e
2014-06-11 22:43:28 +03:00
Kohei Yoshida
61ad374e72 This assumption doesn't hold on all build environments.
Change-Id: Ie1f56aed91e7cbfc59e254a111991f958e9a1607
2014-06-11 15:37:48 -04:00
Julien Nabet
0acd0ed3a5 Related fdo#79714 OSX-crash opening query or table in embedded Firebird ODB
See https://bugs.freedesktop.org/attachment.cgi?id=100839 and other comments

Change-Id: I1187b171caf54997f5e8850ade4a3fb35ad9ec29
2014-06-11 19:24:03 +02:00
Miklos Vajna
a5658d3f89 CppunitTest_sw_ooxmlexport: port testTextBoxPictureFill to textboxes
Change-Id: I304c7d7157c4167e7fe33af259e732865900d4ca
2014-06-11 19:15:09 +02:00
Eike Rathke
90b418b759 let YYYY/M/D H:MM be the default datetime format
Change-Id: I1d8af400810b9ffd4586320c706a1f00ef1c1369
2014-06-11 19:05:01 +02:00
Eike Rathke
7550e153e5 allow additional i18n formats to define defaults
a5f62d96b1 would had liked to let
usage="DATE_TIME" formatindex="55" define the default format of that
usage, which wasn't possible. There is no reason to prevent this.

Change-Id: Ibef453c8a07aa03b0a8bb626b9cf71d362be0699
2014-06-11 19:04:59 +02:00
Miklos Vajna
e9261e8b41 DOCX drawingML filter: handle TextAutoGrowHeight for shapes having textboxes
Change-Id: I0cdc7edf851915f7fbc772eb42edd6ec08b09025
2014-06-11 19:03:34 +02:00
Stephan Bergmann
27fc435449 -Werror,-Wlogical-not-parentheses
...lets assume that was a stray "!" (originally introduced with
fb171e3886 "add second Restore function for
CntntIdxStore"), esp. given "make check" works fine when removing it.  But let
SweetShark have a look at it in any case.

Change-Id: I4d804a5b416a39055613d3104d31cdc314940ef1
2014-06-11 18:24:57 +02:00
Stephan Bergmann
12cb1f7e22 -Werror,-Wunused-parameter
Change-Id: Ie93e534b00151bb915940a1030b47b40cbaa339a
2014-06-11 18:14:45 +02:00
Stephan Bergmann
81f7aa81bc Resurrect SaneResId in the place where it is still used
Change-Id: I20f751f6b9fdf683566544aed4ca2ad877abc253
2014-06-11 18:05:24 +02:00
Kohei Yoshida
56ca1b7696 fdo#77506: (finally) write a unit test for this.
I've switched from using a Draw document to Writer document due to some
instability with Draw instance in our cppunit run.  The bug is reproducible
either way.

The test is disabled for now, since the bug has yet to be fixed.

Change-Id: I49e0417e1ecbc70f40aab8531237ae98ae58bdd3
2014-06-11 12:00:17 -04:00
Jan Holesovsky
51d1545e0c writerfilter: Kill debug_logger.
Does not really log interesting stuff; if anybody wants some kind of logging
like this, better to use SAL_INFO(), and add it only for really interesting
stuff.

Change-Id: I11b4caa9660aaf1e70819322b7fc207a544ea3bb
2014-06-11 17:53:53 +02:00
Stephan Bergmann
58d6e4fdc5 loplugin:unreffun
Change-Id: Iffc5a864954e106e1b20a86c8caddf4257ff139e
2014-06-11 17:50:13 +02:00
Stephan Bergmann
608a67ac73 Fix memory leaks, by refcounting XFContent
Change-Id: I8c94c63230eec13bf22043ff07f9f480a0463111
2014-06-11 17:47:21 +02:00
Stephan Bergmann
a83e40e2fe Dead code
Change-Id: Ifdb7c139fa6db7fef2896098f758769cb5284b28
2014-06-11 17:47:21 +02:00
Stephan Bergmann
f839d6ae2e Remove useless IXFProperty
Change-Id: Id4d5d6aaf537172ad8e1f6c422465c6f84d99dbf
2014-06-11 17:47:20 +02:00
Stephan Bergmann
747519fd05 Remove useless IXFObject
Change-Id: I11bdee00bd42ef302dbbfe9f52de5824aec985ee
2014-06-11 17:47:20 +02:00
Miklos Vajna
19dd5cf230 sw::mark::CntntIdxStore: add doxygen comment
Change-Id: Id9baab2e502408eeea194e79b6b029883e738ca0
2014-06-11 17:15:16 +02:00
Isamu Mogi
a5f62d96b1 Fix to be able to edit seconds in Japanese date/datetime cells
Currently seconds in Japanese date/datetime cells can't be edited.
But i18npool/source/localedata/data/locale.dtd and
offapi/com/sun/star/i18n/NumberFormatIndex.idl say that seconds in
time/datetime cells should be editable. And Japanese users
reported that current behavior is inconvenient.

Also to retain relativity against @formatindex='40', each
[@usage='TIME']/@type are shorten.

For better backward compatibility, @formatindex='55' should be
default format. But since there is implementation limit of
SvNumberFormatter::ImpGenerateFormats, @formatindex>=50 can't
be default one.

These changes are discussed in Japanese ML:
http://listarchives.libreoffice.org/ja/discuss/msg03044.html

Change-Id: I074b8d6d5c9d69b8ba1eb14c29b661d753c003ad
Reviewed-on: https://gerrit.libreoffice.org/9703
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-06-11 14:59:12 +00:00
Stephan Bergmann
90d8b417ca New loplugin:derefnullptr (all violations already fixed)
Change-Id: I32cd8e740855699036c420a091c282029f8d4a08
2014-06-11 16:34:55 +02:00
Bjoern Michaelsen
aa6e78eeef BOOST_FOREACH and constness
Change-Id: I86c86cfa245c78ce8e21d85831de5ae82f67f81e
2014-06-11 16:17:16 +02:00
Bjoern Michaelsen
99c1de27bf BOOST_FOREACH and constness
Change-Id: I832bc8fcdfb4997c2eaae3f0cb5d7014df20f2fd
2014-06-11 16:17:15 +02:00
Bjoern Michaelsen
958492d4d3 simplify MarkPos conditional
Change-Id: If109980429f2f87e06065837eaec7129b2ece336
2014-06-11 16:17:15 +02:00
Bjoern Michaelsen
5deaac4ff9 simplify cascading conditionals
Change-Id: I957d7c368f6b7158c74268f7274d59e8a25b83e8
2014-06-11 16:17:15 +02:00
Bjoern Michaelsen
6c7f0e8bfa remove now redundant old implementation
Change-Id: Ieab4fc54be0b2e5ad547f81a7a70d84284161c47
2014-06-11 16:17:14 +02:00
Bjoern Michaelsen
fb171e3886 add second Restore function for CntntIdxStore
Change-Id: I2d4c92d0927bce13b03a6f235e14812ed1d0bd54
2014-06-11 16:17:14 +02:00
Bjoern Michaelsen
64c31cc7e4 code conventions, while we are at it
Change-Id: I118aa2cb8747775d8c778cf49248c7f3ef68d6a2
2014-06-11 16:17:14 +02:00
Bjoern Michaelsen
bd60aba197 refactor bookmark moves
Change-Id: I13924d40ca1c31f56440b98d9a1829963cdd3e1a
2014-06-11 16:17:14 +02:00
Michael Stahl
3070914cf4 avoid undefined null-reference in CrossRefBookmark::GetOtherMarkPos()
CrossRefBookmark::GetOtherMarkPos() is apparently not supposed to be
called, so just replace the undefined null-reference with a call to
abort().

Change-Id: Ie8e141d661b870573092d20bd85fa1ae04506421
2014-06-11 16:08:34 +02:00
Michael Stahl
2da8a60702 Revert "Change sw::mark::IMark::GetOtherMarkPos return type from ref
... to pointer"

CrossRefBookmark::GetOtherMarkPos() is apparently not supposed to be
called, so just replace the undefined null-reference with a call to
abort().

This reverts commit dcf0ac048c.

Change-Id: I55b4accb4f42031df5671e8a30897e3aff9b56f9
2014-06-11 16:08:34 +02:00
Caolán McNamara
14560264be Reset preview boundaries on a new scanner
Change-Id: Id2830727216fa25ca5935406a74f4237276d56db
2014-06-11 15:07:44 +01:00
Caolán McNamara
ab713ba1ff Changing scanners has no effect
I guess no-one ever tested with multiple scanners but it just happens that my
laptops webcam is presented as a (non-functional) scanner alongside the real
one

Change-Id: Ie36651cfc867027ef19e272dbabe46de6c4261ee
2014-06-11 14:52:11 +01:00
Stephan Bergmann
88e940f315 Dead code
Change-Id: I08bd15316e7952d05b769326c0a8a1d3493b0eb8
2014-06-11 15:45:03 +02:00