Commit Graph

2911 Commits

Author SHA1 Message Date
18a39e216f remove menubar post processing of SID_PASTESPECIAL state to always enabled
at least calc deals with paste-special correct, if other applications don't
let's fix 'em up one by one

Change-Id: I1beb04e227f2971ee8ef2ce9b7ebdabf566be086
2012-08-16 17:50:14 +01:00
8a11858921 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I57abfb3b3d659edcd130788d173c2df3b79101f0
2012-08-16 09:47:00 +02:00
529951aae5 -Werror,-Wunused-value (Clang towards 3.2)
Change-Id: Idf2ec39ba286d359903edb6be60f2692c6a9837b
2012-08-16 09:46:59 +02:00
7bfb229230 sync cell context menu & edit menu 'PasteSpecial' entries for calc fdo#46250
calc application specifically handles PasteSpecial so no need to set the state of the menu entry to enabled always ( for calc at least )

Change-Id: Iaf13dd825f0cbdcf9f455db07d727753fae90868
2012-08-14 09:55:11 +01:00
88840a796e Remove unused local vars
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
2012-08-11 10:25:54 +02:00
6dcb3d4ef4 Related fdo#51252: No more prereg, no more unopkg sync
Now that 5c47e5f63a79a9e72ec4a100786b1bbf65137ed4 "fdo#51252 Disable copying
share/prereg/bundled to avoid startup crashes" removed the use of share/prereg,
there is no longer need to generate it in the first place (by calling "unopkg
sync" at build or installation time), and so no need for the "unopkg sync" sub-
command, either.  This also allows to simplify some of the jvmfwk code that was
only there so that "unopkg sync" (which can require a JVM) can work in "hostile"
environments (during build and installation).

Change-Id: I52657384f4561bf27948ba4f0f88f4498e90987f
2012-08-10 16:03:28 +02:00
2beba8f93e reduce ascii noise and useless comments
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08 13:53:54 +02:00
49ad17e2b1 remove include comments and boxes
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08 13:53:53 +02:00
548a2ffe3a remove bogus date information
Change-Id: I2789153ee35f4ec10e760f9412eb7d379de031bf
2012-08-07 18:08:30 +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
889de665ec Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-30 09:26:00 +02:00
a86bef45ec Fix excessive indentation.
Change-Id: Id96c7693a53981d69820aa45e97fb34c64cb787a
2012-07-27 19:23:48 -04:00
6410afaa44 Remove unnecessary fluffy comment partitions.
Change-Id: I8fad1d7e4bb9827266b6b1f1d90fe1dd2b401b44
2012-07-27 19:23:48 -04:00
c549e1e836 Unused methods.
Change-Id: Iafd1895d96df32c312f937db479e04abd7cb7038
2012-07-24 21:03:07 -04:00
f15b1d084e It makes no sense to make these methods virtual.
LoadEnv doesn't have any child classes, and is not a UNO service.

Change-Id: I773324e10b755c6e5f1a29c07495b21f6a236a3e
2012-07-24 21:03:06 -04:00
4dd7c0369d Various Clang 3.1 -Wunsued-variable, -Wconstant-conversion
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-07-18 08:23:28 +02:00
e0f7e213af the unknwon typo is surprisingly popular
Change-Id: Iffe25051c8357019521196f9a27065d6108ede47
2012-07-16 19:40:58 +02:00
df645a2bd8 There is not need to allocate memory just for getting the 'indexOf'
a literal within a OUString.

Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
2012-07-16 11:33:05 +01:00
6c4838c13c These methods can be const
Change-Id: Ia4aa8df3768923f7b5a31fb5158e4a744f4b9788
2012-07-15 15:41:15 +02:00
d3bfd98213 fix breaker introduced by 0fcd1a73f0e1ec564f3c6da1ccd890183d3c18db
Change-Id: I5e60c2d157e53831fb8239ca6d833aaca6735994
2012-07-14 16:07:40 +02:00
d24b518261 Revert "Some cppcheck cleaning"
This reverts commit b21661ce4200fd8040a213770a3f9e63a4b9f137.

this breaks with ../framework/source/lomenubar/MenuItemInfo.hxx:49:12: error: expected ‘;’ at end of member declaration
2012-07-14 16:07:39 +02:00
feca483344 Simplify code and correct the erroneous length parameter for "macro:///" and align text
Change-Id: Id9eef27636c5c74857ed05b891514bee70903c3b
2012-07-14 16:07:39 +02:00
5a7e8389f0 hrc cleanup: Remove include guards from src files
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-14 05:43:47 +02:00
a1d493fad2 Revert "attempt fix of hang on base close, due to solarmutex deadlock on join"
This reverts commit 5b2cb23c429e1be1099008473770c634ce96c969.

That did not fix the bug (fdo#47021), but apparently it does cause
problems, such as the failure of the sfx2 DocumentEvents test (that
doesn't crash any more since 228a3f8b9f279e80917968d9780e822a1d684ada);
without the SolarMutexReleaser the test doesn't fail for me.
2012-07-09 17:35:22 +02:00
228a3f8b9f Handle attachFrame on disposed object gracefully
...this can apparently happen during the complex.sfx2.DocumentEvetns JUnit test
(which would otherwise sometimes fail with an uncaught RuntimeException).

Change-Id: I4c96a3bc6bf08e92ec3ec82d76812a35226494fb
2012-07-09 16:35:06 +02:00
e2799d253b re-base on ALv2 code. Includes:
Patches contributed by Mathias Bauer:
    cws mba34issues01: #i117713#: remove superfluous assertions about field unit fallbacks
    http://svn.apache.org/viewvc?view=revision&revision=1172341
    cws mba34issues01: #i117718#: provide filter name in case
    storage of medium does not allow to detect one
    cws mba34issues01: #i117712#: fix several resource errors introduced by IAccessible2 implementation
    http://svn.apache.org/viewvc?view=revision&revision=1172343
    http://svn.apache.org/viewvc?view=revision&revision=1172350
    cws mba34issues01: #i117708#: status indicator for inactive documents
    http://svn.apache.org/viewvc?view=revision&revision=1172358
    cws mba34issues01: #i116025#: fix typo and add missing treatment of new parameter
    http://svn.apache.org/viewvc?view=revision&revision=1172359
    cws mba34issues01: #i117024#: rework parameter conversion for load/save slots
    http://svn.apache.org/viewvc?view=revision&revision=1172360
    cws mba34issues01: #i116803#: possible crash on Linux when
    dispatch.cxx is compiled with optimization
    http://svn.apache.org/viewvc?view=revision&revision=1172367
    cws mba34issues01: #i114600#: fix compiler warning for name clash found on Solaris
    http://svn.apache.org/viewvc?view=revision&revision=1172371
2012-07-06 20:29:14 +01:00
511845e09c fs34b: #i117039# restore old behavior of SfxUndoManager::EnableUndo
don't count the calls, but maintain a simple flag.
Consequently, let sw's UndoManager simply delegate now, and
change the UndoManagerHelper to maintain a lock counter itself.
Conflicts:

	framework/source/fwe/helper/undomanagerhelper.cxx
2012-07-06 20:29:12 +01:00
5f26c0fb0d gridfixes: don't be too generous with exceptions:
avoid where possible (by checking beforehand), and assert when caught
Conflicts:

	framework/source/fwe/classes/framelistanalyzer.cxx
	framework/source/helper/titlebarupdate.cxx
	framework/source/services/frame.cxx
	framework/source/uifactory/windowcontentfactorymanager.cxx
	sfx2/source/notify/eventsupplier.cxx
2012-07-06 20:29:11 +01:00
180a67252e update hardcoded borders according to the new Start Center images
Change-Id: I23174caacf26c37b4d63b7374c3a2a4a8d4124c3
2012-07-06 16:01:21 +04:00
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
278000a28b Remove unused defines
Some of them were commented out for documentation purpose.

Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02 17:46:25 +02:00
00240d0497 Remove unused defines
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-07-01 18:33:42 +02:00
d341aca7f6 hrc cleanup: Remove unused resource definitions
Change-Id: Ie3a3a65bfb628195940105d7261464989e9af3fa
2012-07-01 18:33:42 +02:00
8e1bffe7ff Remove include guards
Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
2012-06-29 15:59:53 +02:00
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
6fcac7dfc4 Remove unused include files
Those never get included at any point in the code.

Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27 13:34:23 +02:00
b22adb4940 Remove commented out code
Change-Id: Ifd82dbc35d2f03ee9a9a40f498c8fde3f5a1d5c6
2012-06-27 13:32:40 +02:00
2c757293b8 reduce static_initialization_and_destruction chain
Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
2012-06-25 14:19:03 +01:00
66cd9eeb90 Remove various commented out defines
Most of them in hrc files.

Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
2012-06-25 14:12:57 +02:00
e45bb323ee Fix prefix ++/-- operators for non-primitive types
Change-Id: Ibb55fcedecaf66f0817d24d8f408ef69d273ffa2
2012-06-23 23:06:48 +02:00
1ab899c4c8 .xml files don't need executable bits
Change-Id: I399d086181a9f513cd95157e815551f0be9b9e95
2012-06-22 22:39:31 +02:00
ceb8b18f5b use generic names rather than specific algorithm names when scaling
The Lanczos scaling is of very good quality, but it's rather slow,
which can be very noticeable with large images, so it's not a very
good default for everything. And in general, it's not good to refer
to a specific algorithm when all one usually wants is fast/default/best.

Some of these changes are a bit of a guess between default/best,
but the general logic is that best should be used only for images
that won't be large or where the possible waiting does not matter.

Change-Id: I53765507ecb7ed167890f6dd05e73fe53ffd0231
2012-06-22 17:40:09 +02: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
153c5e3f07 Convert SV_DECL_PTRARR_DEL(ImageItemListDescriptor) to boost::ptr_vector
Change-Id: Ic3b06e179d182d68288c7c6832149309160cd637
2012-06-12 23:25:09 +02:00
0169c40e13 Convert SV_DECL_PTRARR_DEL(ExternalImageItemListDescriptor) to ptr_vector
Change-Id: I29e61ac8c932d0920f326f268aa62acc4aaec5c5
2012-06-12 23:25:09 +02:00
059f0fd3bd Convert SV_DECL_PTRARR_DEL( ImageListDescriptor) to boost::ptr_vector
Change-Id: Iea01a7d7c01bb9da80ccae001157c60d6090348b
2012-06-12 23:25:09 +02:00
4019acf297 cppcheck: avoid unreachable code warnings
Change-Id: I1d126eb10bfebc747d4bb6d153b80abe73a1e81e
2012-06-12 12:08:33 +01:00
8f5629fd5a remove EraseLeadingChars and EraseTrailingChars
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-11 14:46:46 +01:00
10ff11e70c Do what the TODO said: Remove unused member and inclusion of vcl/virdev.hxx
Add header back in a few C++ files elsewhere.

Change-Id: I041ed39ff9bb26d1f42f3614ca50dbc085f13861
2012-06-09 23:51:08 +03:00