Commit graph

1422 commits

Author SHA1 Message Date
Michael Stahl
0abceaaf62 refactor reportdesign::OSection construction
Indended to solve a problem that turned out to be imaginary.

Change-Id: I185887f6e45869102ac600717a0bb7564ebdb7e5
2012-08-10 00:09:50 +02:00
Michael Stahl
8ec791316c fdo#53154: fix report design wizard crash:
As described by Stephan in the bug report, the XAggregation usage in
OSection of SvxFmDrawPage is broken; replace it by explicit forwarding
of the XDrawPage, XShapeGrouper, XFormsSupplier2 methods; it seems
to fix the crash here.  Also get rid of horrid refcount manipulation
etc. while at it.

Change-Id: Ib08830d2092bd2026db5b57c1c2e165b946889b3
2012-08-10 00:09:50 +02:00
Stephan Bergmann
889de665ec Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-30 09:26:00 +02:00
Lionel Elie Mamane
3d46635bf1 Debug unhandled exception
Change-Id: I65661ffe5c006529f8ba1f3652a4d997d46c3da2
2012-07-24 19:22:36 +02:00
Stephan Bergmann
c2617e960e fdo#52399: Do not needlessly set DefaultContext of global ServiceManager
...the new cppuhelper/source/defaultbootstrap.cxx now forbids this nonsense with
a PropertyVetoException.  It looks like the code in propbrw.cxx had always been
confused about what to do exactly (using xOwnContext as delegate in the call to
createComponentContext should just be enough) and the useless re-setting of the
global ServiceManager's DefaultContext happened to work by accident.

Change-Id: I80a87fe9b0948d9aa6dc9e2e63497097044a4959
2012-07-24 17:36:09 +02:00
Stephan Bergmann
4dd7c0369d Various Clang 3.1 -Wunsued-variable, -Wconstant-conversion
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-07-18 08:23:28 +02:00
Christophe JAILLET
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
Thomas Arnhold
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02:00
Thomas Arnhold
5a7e8389f0 hrc cleanup: Remove include guards from src files
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-14 05:43:47 +02:00
Thomas Arnhold
fc01739951 hrc cleanup: Remove commented out lines in hidother.src files
Change-Id: Ib83ea7e5b4647f5335f7efe7bebf819fa6810864
2012-07-12 14:12:11 +02:00
Caolán McNamara
104261010a some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
Takeshi Abe
e719baa35f removed unused includes
Change-Id: I248ef370c55c18d60a8ea32ef92f70734bffbaf2
2012-07-08 21:47:21 +09:00
Lionel Elie Mamane
8dd6a23b6b fdo#43556 round pos&dim of report controls & sections to nearest 10^-4m
Change-Id: I3fa331d246160935f4feed21de69f9ec0c2e9994
2012-07-04 17:50:18 +02:00
Caolán McNamara
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
Stefan Knorr (astron)
0617454d3b Remove duplication of License/Credits information
A bit differently this time around:
+ remove Credits menu item from menu
+ remove License button from the About dialog

Change-Id: I07c1e115aa209ef1d69458f5b188d73caaae4294
2012-07-03 14:29:43 +02:00
Thomas Arnhold
64517292c9 hrc cleanup: Remove include guards
Also add some missing include guards.

Change-Id: I320a3c017ca65d34f2cd516849bcde3dec9b33f1
2012-07-02 22:42:09 +02:00
Thomas Arnhold
892bb81d17 hrc cleanup: Remove unused defines
Change-Id: Iaa7da7745fc01544d9a503b313479b2450810524
2012-07-02 17:46:25 +02:00
Michael Meeks
fdda178d88 targetted improvement of UNO API includes / usage 2012-07-02 14:43:34 +01:00
Michael Meeks
2005a34318 re-base on ALv2 code. 2012-06-29 15:51:49 +01:00
Thomas Arnhold
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
Thomas Arnhold
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
Thomas Arnhold
92da6de0c5 hrc cleanup: Remove commented out code
Change-Id: Id859d1e039d9012c100c16d49d2de0560cac2a66
2012-06-27 13:32:33 +02:00
Michael Stahl
1ab899c4c8 .xml files don't need executable bits
Change-Id: I399d086181a9f513cd95157e815551f0be9b9e95
2012-06-22 22:39:31 +02:00
Michael Stahl
f6f802e555 .props files don't need executable bits
Change-Id: Ie8667b1119cb60936a1a522086b1c99d0f4066b7
2012-06-22 22:39:30 +02:00
Takeshi Abe
dbd9db69bb removed unused forward declarations of class
Change-Id: Ibb3918b95c2518fd83f566bb726273dbf90cf8c8
2012-06-23 02:48:28 +09:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Michael Meeks
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Thomas Arnhold
5fcecf9b88 hrc cleanup: Remove unused defines
All of those defines (should) not be used at any point in the code.
False positives may exist, because some macro names are getting
generated by some template/macro foo. This is the version which
compiled fine for me.

Also there are many commented out lines removed.

Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-21 11:54:18 +02:00
Takeshi Abe
bf729a27bd removed useless InsertFunctions.hxx
Change-Id: If3a6dcd2216cbac63b43fb393af37206e8730a20
2012-06-21 00:05:07 +09:00
Caolán McNamara
d9e4c74811 merge together hand-crafted traditional/simplified chinese tests
merge together a gadzillion hand-crafted
isSimpleChinese/isTraditionalChinese/isKoreanVariants/isCJK
implementations which should fix a goodly amount of them

add a MsLangId::isFamilyNameFirst for locales where
family name appears first while I'm at it.

Change-Id: I65377793be037d16fe7250cd7450b28aec689e83
2012-06-19 14:11:50 +01:00
Petr Mladek
1a2549dcdd Revert "Remove License/Credits menu items"
GPLv3 has to be easily accessible. We should not hide it under too many
mouse clicks.

This reverts commit f4c567f8d4.
2012-06-19 14:56:53 +02:00
Stefan Knorr (astron)
f4c567f8d4 Remove License/Credits menu items
The About dialog now houses these functions.

Change-Id: I7f751027564897a063d2910644c69680d471b6d9

Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-06-18 16:34:44 +02:00
Tim Hardeck
2368615b9f added zoom submenu to View
Added zoom submenu to View with the same entries of the zoom status bar
right mouse button menu.
This feature was requested on the design-mailing list:
http://www.mail-archive.com/design@global.libreoffice.org/msg03561.html

Additionally the zoom menu entries were sorted in a more logical way.

Change-Id: I5f2df8aa33be9305841fd5505c95963bee8a0ed0
2012-06-15 13:39:41 +02:00
Tim Hardeck
6484ccb4ed move zoomitem from svx to sfx2
To allow using SvxZoomItem in sfx2 zoomitem is moved from svx to sfx2.
This patch does base on Caolán McNamara's patch he sent to the mailing list.

Change-Id: I4d245f938d92ad3a20b692f5f76d8e0d00b1a648
2012-06-15 13:38:56 +02:00
Thomas Arnhold
e06d6e3956 hrc cleanup: Remove completely unused RIDs
These RID definitions aren't used at any other point. So remove
them. Unused START and END definitions were commented out for
documentation purpose.

All definitions in basctl/source/basicide/tbxctl.hrc were unused,
so I removed this file.

Change-Id: I4713188a12b9da912b2a91b85ea4e54ca1aeb994
2012-06-15 08:22:09 +02:00
Jan Holesovsky
6d78c490b0 Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
2012-06-12 16:31:43 +02:00
Caolán McNamara
8f5629fd5a remove EraseLeadingChars and EraseTrailingChars
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-11 14:46:46 +01:00
Thomas Arnhold
13887f4848 Remove superfluous include comments
Change-Id: Icd57ca7fd89e30c190c1b06dbe67c30bea8d1b59
2012-06-09 04:51:38 +02:00
Stephan Bergmann
075271062a -Werror,-Wself-assign (Clang)
Change-Id: Ic541f6539a34ea20b19613edc4fe8670b1a69dee
2012-06-06 14:09:49 +02:00
Michael Meeks
c326e8c687 targetted revert of minor cppcheck cleanups
Change-Id: I2ec1bc3fd5dd5d38c2b3b9600265943083873515
2012-05-31 13:09:04 +01:00
Michael Meeks
a0bbb2a1af targetted SAL_N_ELEMENTS reversion.
Change-Id: I181c5b5dd24836ff0398aa5ed03915c2c7c55183
2012-05-31 13:09:03 +01:00
Caolán McNamara
5dcf536b69 merge the 5 ConstAsciiString duplicate classes together
a) merge them together and move it into comphelper
b) turn it into a POD rather than having vast amounts
of destructors registered into the cxa_atexit chain

Change-Id: I04d3b9d7804f8e233013c916df9d617a0f84f96a
2012-05-17 14:03:26 +01:00
Caolán McNamara
df34ccb01d remove unneeded include of boost/bind.hpp
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-16 15:05:36 +01:00
Caolán McNamara
9b71aa0de1 convert GetUndoActionComment family to rtl::OUString
Change-Id: I36ccf62ee2e2769bcf1aef6d26d96bce6c7078f0
2012-05-15 12:05:47 +01:00
Takeshi Abe
a6b68f4682 removed unused static rtl::OUString
Change-Id: I5a097beaaeb30214ed6071bba1297e551291922b
2012-05-14 23:43:54 +09:00
Caolán McNamara
c182a75241 convert GetComment family to rtl::OUString
Change-Id: I563ab83a24ca4f839892548b350486e83dd071d3
2012-05-14 14:34:09 +01:00
Takeshi Abe
e3bc45b807 removed unused defines
Change-Id: Ida50737f540459bd0e709c49414c3a7f4d042a47
2012-05-13 08:51:39 +09:00
Caolán McNamara
5f1d65fe21 WaE: msvc2008 C4928 copy-ctor confusion
Change-Id: Id086aedc27977b4ca81299a00a340a65284118b8
2012-05-10 10:18:32 +01:00
Tor Lillqvist
0d79369ead Bin a few lines of apparently leftover temporary debugging code
Change-Id: Idc543cc7f45c3dbaf3a49c8edeaaa0b5f59492ac
2012-05-10 11:34:31 +03:00