summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann3-9/+6
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-18Make getProcessComponentContext/ServiceFactory throw instead of returning nullStephan Bergmann1-1/+1
...with the same rationale as recent 543158edba6678d3d76eee983a9d4edd2a422fee "Require XComponentContext.getServiceManager to throw instead of returning null" (this helps find problems like 065a758d0c2b66c6683d648347b7a6cdef4a80f7 "Enable experimental gtk3 plugin only via SAL_USE_VCLPLUGIN"). Removed comphelper::createProcessComponent[WithAguments] and replaced its few uses with direct calls to createInstance[WithArguments]. Change-Id: Ia44b8656f74de88ef6eab3eb6bd597729b08e1c8
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud3-3/+1
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17XubString->OUStringCaolán McNamara1-6/+5
Change-Id: Ic8b191dfb0d14e129dc804aeb4ac14c732e72e6b
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann11-70/+41
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14next attempt to fix bug 35079Lennard Wasserthal1-10/+0
Removes the hidden frame. That frame really doesn't seem to be needed, not even for exporting, though. Change-Id: I37285a9dfe46fe9263ba1f767fe69a59226e342a Signed-off-by: Lennard Wasserthal <Wasserthal@nefkom.net> Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
2012-09-13Hide dtor details behind SVX_DLLPUBLICStephan Bergmann2-0/+7
Change-Id: I442e114322d2a70fbfbdaa2aa197146c0cffa4bd
2012-09-11XubString->rtl::OUStringCaolán McNamara2-3/+3
Change-Id: If7e5d015c95f8f173750ca32e061d69f56e2d93e
2012-09-10Resolves: rhbz#855972 crash on switching to outline viewCaolán McNamara1-1/+3
Change-Id: Ic2675e9d1d8ce6bb67e9c9e4db292f79c4240409
2012-09-09fdo#47368: Remove event listener also in Invalidate()Tor Lillqvist2-0/+9
Change-Id: Ifa3d7ff400137b4560fa0ff890cd211147c5c234
2012-09-05fdo#46808, Adapt frame::ModuleManager UNO service to new styleNoel Grandin1-16/+11
Create a merged XModuleManager2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Explicitly document the XNameReplace interface in the IDL, which is already implemented by the service, since there is code currently using it. Change-Id: Ib46349174b1ce495c240031e93c9427fc33d9853
2012-09-04fdo#53872: reportdesign: fix section drawpage crash:Michael Stahl2-5/+11
In order to wrap the SdrPage's UNO object completely, set its mxUnoPage member to the OSection wrapper instance in OSection::init; only OSection should have access to it. Also initialize m_xDrawPage_Tunnel (thanks Lionel for the hint). (regression from 05218c101df486302bf4cfe8be23ad840daa3f73) Change-Id: I048ddafc31e946853e56e6a403ddc9487cfbcf0e
2012-09-04n#777699: Clip the objects to the pagewe are paintingCédric Bosdonnat2-3/+7
Change-Id: I78ac7de5346a2adea9a2c6cf3cbb0321e05d79dc
2012-09-03More places that require a prefixed "system"Stephan Bergmann1-2/+2
Change-Id: I49cf1f02faf70a5a92ab45e7678253ba4e5f68d0
2012-09-03fdo#46808, Adapt util::NumberFormatter UNO service to new styleNoel Grandin1-4/+5
Create a merged XNumberFormatter2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I57f35cde0a9dbbe91c1d2c3d068cb3a97c7245e3
2012-09-03fdo#46808, Adapt system::SystemShellExecute UNO service to new styleNoel Grandin1-4/+3
Change-Id: Ib298b3219c3e89dd35bce0974846ed4888ed941e
2012-08-31SdrModel: make sure undo/redo stacks are not emptyIvan Timofeev3-11/+17
most probably Undo() does not get called if there is no undo actions, just to be on the safe side. Change-Id: I3597698dbe8208916be94ebddd7260fbd7eadc74
2012-08-31remove SdrObjRefList, use vector directlyIvan Timofeev2-41/+13
also prevent using operator[] on empty vector Change-Id: I0582ab1c7fd04a0bc6d717d8ca51670c3e5ef1c9
2012-08-30fix buildCaolán McNamara1-1/+1
Change-Id: I3642501e83247d6f88a3436c795be2acd794a4d2
2012-08-30SdrMarkList: fix STL conversionIvan Timofeev2-5/+6
regression from aa11e7bae89fe691f914abb27d1c4a03d27a7ee5: Container::GetObject returned NULL if the index is out of bounds, and callers seem to rely on that. Change-Id: I4c9f5249514efad0d516b6ffd6f04dadb019052f
2012-08-29String::Expand -> string::padToLengthCaolán McNamara1-3/+4
Change-Id: I684e371c31ba76d2e9b563eed70449764346161b
2012-08-28-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann1-1/+1
Change-Id: I2a181d1442ef3b41ecba009d160d2d18d6fb71ac
2012-08-27fdo#46808, Use BreakIterator ::create methodNoel Grandin2-20/+12
Change-Id: Iff603ebe772cfcd34ed3669ce46bc9112ba902ae
2012-08-24fdo#53888: svx: do not link against dbtoolsMatúš Kukan1-1/+0
dbtools were added in 01089138cc76f5717244bd04f25a868602aeaab6 only to create dependency and fix the build. This creates circular dependency for libmerged, dbtools is not that common library. It's better to create real dependency in connectivity_inc package. To avoid another circular dependency gb_YaccTarget_get_header_target must not depend on external headers target. Change-Id: I536376303de5330addd2dbf85bdfea8b9a23301c
2012-08-22Some cleanup for better localizationZolnai Tamás1-1/+1
First: localization tool can not recognize id because of empty line between id and its definition Second: same problem because of comment between type and id Change-Id: If42af406fab252ccae0a6bbc478bab8130210b21
2012-08-22fdo#53888: svx: fix dependencies:Michael Stahl2-1/+1
It appears that since cd0046bca0691fdca45a030903b7cde3bfee544c, 2 tinderboxes fail on including the generated sqlbison.hxx; it turns out one of the inclusions of that in svx is unnecessary and the other is used to call a virtual function, which can apparently be done without linking; just link svx to dbtools anyway, that should fix the build. Change-Id: I7f7b1c4e9561c4dd2b820b173d05bdd5d4c6ba6d
2012-08-22Use typedef instead of trivial inheritanceStephan Bergmann2-3/+1
Change-Id: I66155e362d5f44f9be8114099c46473ac846340c
2012-08-21add more runtime deps on resource files for unit-testsMatúš Kukan1-0/+4
Change-Id: Id9bbb2bbcafe335eada3f36ae103a9074a56848f
2012-08-17bnc#741480: adjusted display of Bracket/BracePair in pptFelix Zhang1-5/+17
Change-Id: Ia4bbce74e2c1a5f46e0b1a73940aeb2ce8fc6ab9
2012-08-17gbuild: register all jarsMichael Stahl1-5/+5
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-16svdotxat.cxx: MSVC needs set includedMichael Stahl1-0/+2
Change-Id: I8cc16c16c3884c5451b643b7de848aad15f02fcf
2012-08-16Convert local variable from Container to std::vector and std::setNoel Grandin1-18/+14
Change-Id: I0b15939e1d04a3a2a5f8a4e2df8f0826903a8811
2012-08-16Convert maHandles field from Container to std::vectorNoel Grandin1-4/+4
Change-Id: I28d96586e7e48209021abed73959e8a5e6dc2d61
2012-08-16Convert aList in SdrObjRefList class from Container to std::vectorNoel Grandin1-8/+15
Change-Id: Iee505825f46434b09c73679e1439f99afc631336
2012-08-16Convert pRedoStack in SdrModel class from Container to std::dequeNoel Grandin2-9/+12
Change-Id: I0535175c4881a1ea55d7cb7361ae78bb81aa10c6
2012-08-16Convert pUndoStack in SdrModel class from Container to std::dequeNoel Grandin2-14/+20
Change-Id: I59425c7d1e8603f45d193ae5e3498f8671510bc5
2012-08-16replace LIST_APPEND usage with CONTAINER_APPENDNoel Grandin1-1/+1
Change-Id: Ifc65ac24b04ac3d8fb0a4325cfe552ed6d5752d6
2012-08-16Convert aBuf in SdrUndoGroup class from Container to std::vectorNoel Grandin2-7/+6
Change-Id: I0635ed333033ce37eb86b360fd0ee0d77b8dc47a
2012-08-16Convert field from Container to std::vector in SdrPageGridFrameListNoel Grandin3-11/+28
Change-Id: I5940936e986b2f6580ca9ce973359d8179631f8c
2012-08-16Convert maPages field in SdrModel class from Container to std::vectorNoel Grandin2-19/+19
Change-Id: Id36c3c414429d8f0e16f8e479f9946511b1e377f
2012-08-16Convert maMaPag field in class SdrModel from Container to std::vectorNoel Grandin2-25/+39
Change-Id: I232ad32be90d93fe35a6cf089373e5a830e62113
2012-08-16Remove unused fieldNoel Grandin3-6/+3
Change-Id: I962c2bbd29b2ce2e39bf0f9db4c12fc5535cf4f6
2012-08-16SdrUShortCont: MSVC build can't link libsw if that is publicMichael Stahl1-2/+1
Change-Id: Id21368194c32f43e2f3bb091205ef7387fc0ee5b
2012-08-16SdrMarkView::UndirtyMrkPnt: set::erase returns void in C++98Michael Stahl1-1/+1
Change-Id: I5c1c06de9f149f77d2235684239ad077d28e64ba
2012-08-16Convert aLayer field in SdrLayerAdmin class from Container to std::vectorNoel Grandin2-22/+50
Change-Id: I884f8e76d0bc7b2eb9f99434809fa824409446e4
2012-08-16Convert aList field in SdrHelpLineList class from Container to std::vectorNoel Grandin2-10/+26
Change-Id: Ie91548bfad1cd60d8926cb5cc729a07f539590a1
2012-08-16Convert aList in SdrGluePointList class from Container to std::vectorNoel Grandin3-9/+15
Change-Id: I401b01d5d1072262d0bd2b85298751c9180004d3
2012-08-16Remove unnecessary includeNoel Grandin1-2/+0
Change-Id: Ie3cf56fd23b516b80dc39ceb92d4535c6583f97b
2012-08-16Remove unnecessary includeNoel Grandin1-1/+0
Change-Id: I27c4b22987d2a54eb71f5636eb72ba2e635ac6d8
2012-08-16_SdrItemBrowserControl::SetAttributes: fix previous commit:Michael Stahl1-4/+4
Since the element is no longer removed in the loop the same element is deleted over and over; also the erase should be from nEntryNum to end. Change-Id: I5767d5e453b5b9b05fe1869ab8915f23c30aab14