Commit graph

7031 commits

Author SHA1 Message Date
Andras Timar
51b0ada740 Moldovan -> Romanian (Moldova)
Change-Id: I5d754099ca0ce2a82d1d89df4ab2b146b1cc2f4e
2012-08-23 15:37:05 +02:00
Andras Timar
0557510561 fdo#51911 add Moldovan (ro-MD) to language selection list
Change-Id: I916097048b6c8767745bcdd56430d5d2cc832e71
2012-08-22 21:31:07 +02:00
Michael Stahl
601bfe2ce3 fdo#51777: add a hack for 1 twip DOUBLE borders:
Arguably such annoyingly thin double borders don't make much sense
anyway, because they're essentially 2 hairlines with ~no space between,
but unfortunately older LO versions are able to create them;
since the refactoring in 2d045cdb69,
which changed the BorderWidthImpl::Get* methods to return 0 due to
rounding, they were ignored at least in the HTML import, which is a
regression.
So add a special purpose hack that essentially rounds up the first line
to 1 but not the other lines so the visual result is a hairline single
border.

Change-Id: I20ac4675bcf67ea58a6931a40bff3605390e9c0d
2012-08-22 00:34:52 +02:00
Thomas Arnhold
cfda6c9a00 remove some useless comments
Change-Id: Ied223890539a3407abbed7c7135dfc3de2f2fe48
Reviewed-on: https://gerrit.libreoffice.org/429
Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com>
Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
2012-08-18 16:49:22 +00:00
Stephan Bergmann
3a54474c40 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I1341170e8ca43e23723a88ec05d826981e4473ee
2012-08-15 15:19:15 +02:00
Caolán McNamara
90bde1cbe2 that->than in comment typo
Change-Id: I3c0e8ce9b2aabe0bd27d5d6d15cd7cb53f72c31c
2012-08-15 13:37:42 +01:00
Tomaž Vajngerl
42801a0e69 Fix transparent bitmap rendering.
Convert transparent mask to 8bit-grey after scale/rotate/crop
transformation. Use correct perspective at rendering.

Change-Id: I80b19d7bec880b0c58709c7c5bee6199cbc815c9
2012-08-14 20:43:18 +02:00
Rob Snelders
b843d90568 code cleanup
Change-Id: Ib154cd53253e4d802d13a024a20f6c34d499e672
2012-08-14 15:10:55 +02:00
Noel Grandin
0beb6bc4b3 Convert from tools/list.hxx to tools/contnr.hxx
Most places don't need to include tools/list.hxx

Change-Id: Ib2415fbbf92b039a77e1f5c21856f03de60262d4
2012-08-13 22:48:15 +02:00
Thomas Arnhold
582e06f71c unusedcode.easy: remove unused code
Change-Id: I87e7264ffd3086796aaa8e136c2f9b77fde7b74f
2012-08-13 18:18:42 +02:00
Ivan Timofeev
7fbab3fc35 remove duplicate code, thanks to Petr Mladek for spotting
Change-Id: I136dc9e314197ac100f1f0d12d1f485dc659af9f
2012-08-13 17:27:55 +04:00
Caolán McNamara
919632bd5e validate polypolygon point counts
Change-Id: Ibf6bdf48e5855583f14cd2be36f1e4896a396d32
2012-08-09 08:41:08 +01:00
Ivan Timofeev
84d5e639b0 fdo#50654: update virtual device width on modifying WB_EXTRAFIELD flag
Writer sets this flag dynamically via Ruler::SetStyle depending on
the text direction, the flag is set by default and gets unset for the
vertical ruler, because the initial text direction is horizontal,
see SwView::StateTabWin.

Ruler::SetStyle calls Ruler::ImplInitExtraField, which modifies mnVirOff,
however mnVirWidth depends on mnVirOff, but gets updated only in Resize.

This patch copies the code from Resize to ImplInitExtraField, we cannot
just call Resize from ImplInitExtraField due to possible infinite recursion.

Change-Id: Ic7bb897059295aebe86c11977c37419017b55787
2012-08-08 17:26:58 +04:00
Thomas Arnhold
2beba8f93e reduce ascii noise and useless comments
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08 13:53:54 +02:00
Thomas Arnhold
49ad17e2b1 remove include comments and boxes
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08 13:53:53 +02:00
Noel Grandin
daccbc1e07 Convert from tools/list.hxx to std::list in GraphicCache
Change-Id: I020a2e9ef8485549d0c66798c8b651641319e17a
2012-08-08 13:53:08 +03:00
Noel Grandin
016918cf94 STL'ify SV_DECL_IMPL_PERSIST_LIST
Converts it to a template based on std::vector

Change-Id: Id7f89f494164c61a3a573cff443ac0e0488e93f1
2012-08-08 13:53:07 +03:00
Noel Grandin
cb9d71e85d Convert HashedEntryList to boost::ptr_vector
Convert from tools/inc/tools/list.hxx

Change-Id: Ia0f45a54822d8e341ec803f4b8f54734338d541b
2012-08-08 13:53:03 +03:00
Arnaud Versini
50f6c281d2 Use the correct licence header
Change-Id: Ieef62aaf240a133d70222e8d0c0bc5032d97d945
2012-08-07 23:13:46 +02:00
Thomas Arnhold
adc49a81e9 remove empty ascii boxes and stuff
Change-Id: Ied91b5b298f0cfad0d3408c3cbb87c7bd1b83247
2012-08-07 18:08:29 +02:00
Thomas Arnhold
34569eb28f drop bogus eof lines
Change-Id: Idda2852c3e96ce15fde75d5a95369ec50a012410
2012-08-07 13:45:27 +02:00
Thomas Arnhold
d1ba5419cf Remove non-existing forward declarations
Those classes don't exist. So remove friend class operators too.

Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-08-07 13:45:26 +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
Christophe JAILLET
cf239da5c4 There is not need to allocate memory just for getting the 'indexOf'
a literal within a OUString.

Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-08-06 12:22:10 +01:00
Rafael Dominguez
51802df732 Move PlaceEditDialog class and resources to svtools.
- Update fpicker files that include them.
- Separate Place class into its own header and move it to svtools.

Change-Id: I83a285d4c7fc21d6e76e4d7e47e347dac2bb4344
2012-08-03 18:31:33 -04:30
Caolán McNamara
7480f766e9 remove now pointless pItemDesruptList
This pItemDesruptList is pointless now. We're registering the delete-when-idle
items in their ctor's and deregistering in their dtor's which get called from
the idle callback. The idea of pItemDesruptList appears to be for use in
deleting any items at exit time whose idle callback didn't get called already.

Which was done by DeleteOnIdleItems which itself was removed a while ago
because nothing was calling it (for years). Some experiments in making it a
simple singleton and/or one that hooks off default component dispose or
XDesktop dispose shows that its crash city, so lets just remove the unused
stuff outright rather than trying to fight to get some 12+ year unused appendix
used.

Change-Id: Ie0256d6987cf89a2a12db297065af09674547b3e
2012-08-02 09:07:47 +01:00
Noel Power
ff54a3c291 simpler fix fo fdo#51336 - change vcl checkbox no-label behaviour
Change-Id: I1563dc2afc49c7b1115192db00fbd08a7524154e
2012-08-01 17:03:07 +01:00
Noel Power
59d9a39abc Revert "fdo#51336 - change vcl checkbox no-label behaviour"
This reverts commit a1345cd93a.
2012-08-01 17:03:07 +01:00
Ivan Timofeev
6657052e46 consider only fully visible items
Change-Id: I32d88e5206a96b316f29cf4ede04a6ac951d86d5
2012-08-01 17:03:00 +04:00
Caolán McNamara
747cb47357 remove unnecessary includes of svl/svarray.hxx
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2012-07-30 12:47:50 +01:00
Stephan Bergmann
889de665ec Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-30 09:26:00 +02:00
Mathieu Vonlanthen
0bdf6fc7c7 Bug 48549 - System::Beep() removal
Change-Id: I011048912af051a762a78af8646513a1fc624073
2012-07-30 05:20:02 +02:00
Thomas Arnhold
10ada83716 Partially revert "Remove unused defines"
This partially reverts 00240d0497

http://lists.freedesktop.org/archives/libreoffice/2012-July/035331.html

Change-Id: Ib682cd258cca12e742be5fb1715b2aecfe0a761e
2012-07-29 19:36:35 +02:00
Caolán McNamara
6c40ccd73c svxbox.cxx unbuilt, svxbox.hxx unnecessarily included
so remove svxbox.?xx

Change-Id: I329b8468d05ea108ea9cfb57e3702cccfcc69227
2012-07-28 20:48:49 +01:00
Caolán McNamara
2346f0d158 merge the two pict/pct detectors which disagree together
Change-Id: I63fc63884e3377f2707d99e7e85ab6761d37cd0a
2012-07-27 12:27:24 +01:00
Rob Snelders
61679f9b7a fd0#35973 - [EasyHack] Remember the state of the sidebar pane in Impress
Change-Id: Ie287bc1c545bd8986ee3509181c878bdcd0d1942
2012-07-26 21:38:47 +02:00
Ivan Timofeev
09cc3a1b65 pTabBar is always NULL
Change-Id: I0f40a54c02c0231f75fcfcae7676f529984ee0f2
2012-07-26 20:31:21 +04:00
Caolán McNamara
3c2c2eb46e discard broken embedded object previews
Change-Id: I4f632545d383c4887342aa2959987d4ac3638eb4
2012-07-26 16:38:05 +01:00
Tomaž Vajngerl
085e747b6c Fix bitmap resizing issue when using ScaleRotateCrop with BitmapEx.
Change-Id: I1fd08d94c506580ed7557066448ccb10adb9b16d
2012-07-25 23:53:42 +02:00
Uray M. János
f5a625f61a fdo#40152 replace with empty string in Basic IDE
Change-Id: I2ee41160e5cb10694ccdb5a1cdaf7d4abfeb23bb
2012-07-25 14:11:06 +01:00
Michael Stahl
75acbd4b47 delete svl/svstdarr.hxx
Change-Id: Ia3d1d8dbe100443410b80c3881f10ab51b2d0419
2012-07-25 14:13:47 +02:00
Ruslan Kabatsayev
64124314a1 Use native theme to draw TabBar background
Change-Id: Ia274a6438dbb1e3ae94d492df6b9ff86343dd272
2012-07-25 12:50:33 +01:00
Tomaž Vajngerl
53d51dbee6 One pass scale, rotate and crop using bilinear filtering and averaging.
With this commit I reintroduce one pass scale, rotate and crop that
was located in grfmgr2.cxx (now in Bitmap class) and was used for
preparing bitmaps for displaying on screen. By default the combination
of two filters is used: bilinear, which is a similar algorithm than
the "old" one, but with the same result, and averaging algorithm. Bilinear
filtering is used for bitmap enlarging and shrinking till factor 0.6. Below
this bilinear gives bad results because of limited sampling. For such cases
averaging is used which is a simple algorithm for shrinking. In averaging
the algorithm calculates the average of samples which result is the new
pixel. Currently both algorithms are not optimised.

One pass scale, rotate and crop should only be used for displaying of
images.

Change-Id: I5a1330b58a7cbb6fde8546e16c3e8c140afca565
2012-07-24 22:17:27 +02:00
Lionel Elie Mamane
6faebe5fb2 janitorial: C++-style cast instead of legacy C-style cast
Change-Id: I86cd5d87751c5a9dd31a392e2b3847e8f5741524
2012-07-24 18:02:44 +02:00
Lionel Elie Mamane
9bd5e75b95 forcing repaint has catastrophic performance implications; invalidate only
In Base:
1) Open a big table (hundreds of rows)
2) Only the first 40 to 100 rows are fetched into the cache and shown
   (depending on screen / window size).
3) Move to last row (click on icon |>|)
4) The last 40 to 100 rows are fetched into the cache; the data of the
   first 40/100 rows is pushed out of the cache.
5) The first 40 to 100 rows are fetched, just so that the call to
   rWindow.Paint() can do its job, because they are not in the cache
   anymore (!). The last 40/100 rows are pushed out of the cache.
6) The last 40 to 100 rows are fetched into the cache and displayed;
   the first 40/100 rows are pushed out of the cache *again*.

Steps 5 and 6 are obviously *very* stupid.

Change-Id: Ic11b893ea9440c2c5a142bd3c77c95d6730aa723
2012-07-24 17:35:57 +02:00
Michael Stahl
117fb70532 fdo#51659: static assertion for STR_ARR_SVT_LANGUAGE_TABLE
Change-Id: I5588198452a609dd541d51ac7a84cd5773949ae7
2012-07-24 15:16:00 +02:00
Mathieu Vonlanthen
0f6101cfef fdo#48549 System::Beep() removal
Change-Id: I8fe133dd8d1f759fbe21d47ae358c0b5451812b5
2012-07-23 15:12:44 +01:00
Stephan Bergmann
c68afc22fe Work around Mac GCC error
Change-Id: I7fcd84e923c0971f420cfd3f298e5a1d0b111d1a
2012-07-19 09:21:51 +02:00
Stephan Bergmann
4dd7c0369d Various Clang 3.1 -Wunsued-variable, -Wconstant-conversion
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-07-18 08:23:28 +02:00
Ruslan Kabatsayev
720e290692 Revert "Make bottom tabbar items follow native theme"
This reverts commit 17ea32a1a3.
2012-07-16 09:29:03 +02:00