summaryrefslogtreecommitdiffstats
path: root/sfx2
Commit message (Collapse)AuthorAgeFilesLines
* targeted string re-workNorbert Thiebaud2012-05-291-2/+2
| | | | Change-Id: If9a9889fa36bc76c9afed295568ed9a05de4587f
* targetted SAL_N_ELEMENTS reversion.Michael Meeks2012-05-294-5/+7
| | | | Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
* Whatever an inimanager was, it has been dead for a decadeTor Lillqvist2012-05-283-14/+0
| | | | Change-Id: I6efd7877df34af515e61b6b7fcd112fa041f5e61
* sfx2: improve READMEMichael Stahl2012-05-251-1/+13
|
* Delete SfxItemSet before the current shell gets destroyed.Kohei Yoshida2012-05-241-4/+10
| | | | | | | | | | | SfxItemSet takes hold of the SfxItemPool instance from the current shell, and accesses it when it gets destroyed. The problem arises when the current shell gets destroyed before the SfxItemSet instnace does, in which case an illegal memory access ensues. This fixes intermittent crashes when opening a document in Writer. Change-Id: Ib5e74b43051f868f22f6efdb311e6c2a75326d9a
* Removed unused SfxMedium::bDirectStephan Bergmann2012-05-2410-25/+28
| | | | | | | | See the TODO comment in sfx2/inc/sfx2/docfile.hxx about a temporary SfxMedium ctor overload to find not yet adapted uses of another overload, to be removed again in due time. Change-Id: Ie22c33c32f8870ce6ebf6d500abc7a4e33d97183
* Add mechanism to pass doc service name to the descriptor when opening a file.Kohei Yoshida2012-05-233-1/+30
| | | | | | | This info will be used during type detection for more clever filter selection. Change-Id: I66a52ff6f425e97884afd1c85831c11381fb695d
* Renamed writer_web_HTML to generic_HTML.Kohei Yoshida2012-05-222-2/+2
| | | | | | | This should reflect the fact that this type was already used as a generic HTML type. Change-Id: I0a209d51ed229f07aff001075c39bfc82d4c3088
* border window: Design by Mirek M. - make the 'shells' more lightweight.Jan Holesovsky2012-05-221-0/+1
| | | | | | | Just a line at the top and the bottom, we do not want the entire 3D effect here, it makes it visually incompatible with the window decorations. Change-Id: I262932fb5def21d5bc4fb347be6d6a07807bb4d2
* removed unused const rtl::OUStringTakeshi Abe2012-05-172-2/+0
| | | | Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb
* fdo#49921 make sure all tab pages have the same dimensionsDavid Tardon2012-05-177-8/+53
| | | | | | | | | | The reason is that they can be combined arbitrarily in dialogs, so changing, e.g., height of one tab can lead to "interesting" results. Cf. commits 8631dbf85fb5ed56d225e32ea5a9c36c96b0d649 and 29042d096a2c5812ae179e1553367afd21b0f71e that were the cause of the problem described fdo#49921. Change-Id: I9995002a2bd5c3604bdfa06dc817916ce61c558d
* reduce static_initialization_and_destruction chainCaolán McNamara2012-05-161-19/+27
| | | | Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
* Related: rhbz#790233 Allow styles to be deleted from the template dialogCaolán McNamara2012-05-151-1/+10
| | | | | | | | | | | | | I knew this used to work at some stage, appears to be a regression since cdf8680ed24a56956f257c99c73ff95ff488e2c6 GetIndices_Impl gives the region and index of the entry relative to the immediate parent, so doesn't make sense to use those as indexes into the template array if we're at the style level. backup into the template level if we're below it to get the relevant template index. Change-Id: I37a0bbc38cbb4dd82dd3d2c8309d8be61d83adbd
* Cleaned up some OSL_TRACE -> SAL_INFO usesStephan Bergmann2012-05-151-12/+2
| | | | Change-Id: Ie70be4d3e4f086eaa301295df0bc7d25792d2cd2
* Looks like CMD_SID_FRAMETITLE can goStephan Bergmann2012-05-111-1/+0
| | | | | | ...now that SID_FRAMETITLE is gone, and it is unused, anyway. Change-Id: I8b6b2641b988763df85d88490dc46484083b7180
* Removed unused SID_FRAMETITLEStephan Bergmann2012-05-109-172/+3
| | | | | | | | | ...which was only ever written to, never read. This in turn allowed SfxViewFrame::UpdateTitle to return void instead of String, and made SfxObjectShell::UpdateTitle become unused. (The title appears to be created via SfxBaseModel::getTitle instead these days?) Change-Id: I5e1115a707134058a1f3a0beaa180eb471c817e6
* Removed unnecessary SvLibraryStephan Bergmann2012-05-093-3/+0
| | | | Change-Id: I42e64af8ed88e652341707d5f9d2da3daaa0f9bb
* Resolves: rhbz#818557 crash with NULL shell post template updateCaolán McNamara2012-05-091-0/+3
| | | | | | | | | | | | | It's all a bit baffling in a maze of Shells, but what I can see is that when we update from the template at the end of loading we end up with a different order of shells on the stack than in the usual case. Apparently from positioning the cursor at an earlier stage than usual. If I lock the dispatcher for the duration of updating the template it all works out ok. I freely admit I can't foresee the full consequences of this, but it appears to work. Change-Id: Ib7b2f511cdb5a37715a6ad839d9b1426ad9db8e0
* fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold2012-05-043-5/+5
| | | | Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
* Improved variable nameStephan Bergmann2012-05-042-3/+3
| | | | Change-Id: Id3a505afa3d8a6e99beeccafe30713cf40fc0c76
* != instead of < for comparison with end iteratorJulien Nabet2012-05-021-1/+1
| | | | Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8
* duplicate SwDialogsResMgr definition and unused macrosCaolán McNamara2012-04-301-1/+1
| | | | Change-Id: Ib7188a98230345557187b00826f33a2ad39a4f83
* make ResId::toString a non-static memberCaolán McNamara2012-04-307-10/+10
| | | | Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
* make gbuild the default assumption of build.plBjoern Michaelsen2012-04-291-1/+0
| | | | | | | | this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
* fixed typoTakeshi Abe2012-04-281-1/+1
| | | | Change-Id: I98bf41fb13dfdb0a1e3402c0a2db8bc1d2ced5f6
* Missing #include <errno.h>Stephan Bergmann2012-04-271-0/+2
| | | | Change-Id: I79490015faf57a3f84395fa9ba29dd17503b9ef6
* Related fdo#43895: Fixed shortcommings of FileDialogHelper_Impl::verifyPathStephan Bergmann2012-04-271-14/+47
| | | | | | | * maPath.reverseCompareToAsciiL("file:///tmp",11) == 0 failed for file:///tmp/ * It was unclear whether special treatment should only happen for files directly in /tmp or also in sub-dirs; assuming the latter now. * Proper translation from file URL to system path.
* SetDisplayDirectory is deprecatedStephan Bergmann2012-04-271-1/+1
| | | | | | | ...and SetDisplayFolder seems correct here, anyway, given that aReccomendedDir (sic) denotes a directory, not a file. Change-Id: I2f77e8e9fe0948a028f344639d383726b4b8641d
* Related fdo#37775: Update Recent Documents for r/o docs, tooStephan Bergmann2012-04-271-2/+1
| | | | | | ...not sure why this explicit check was there at all. Before the fix for fdo#37775, the check was not an issue, as docs were only added to Recent Documents upon saving them, anyway.
* refactor ImpSvtDataCaolán McNamara2012-04-253-2/+4
|
* tweak paste-only context menu ( add paste only number )Noel Power2012-04-233-1/+26
| | | | changed the text to really only paste text, also added pasteonly | number
* Add some more timelogging, for graphic export here.Thorsten Behrens2012-04-231-1/+5
|
* Replace css macro with namespace for nicer namespacingThomas Arnhold2012-04-211-7/+2
|
* String->rtl::OUStringCaolán McNamara2012-04-162-8/+9
|
* re-open output file on save to fsync to improve first-start performanceMichael Meeks2012-04-151-1/+12
|
* Resolves: fdo#48640 handle various busted rtf docs without hangingCaolán McNamara2012-04-141-1/+1
|
* removed dead codeTakeshi Abe2012-04-121-41/+0
|
* removed useless static dataTakeshi Abe2012-04-123-12/+0
|
* removed unused definesTakeshi Abe2012-04-123-17/+0
|
* fix tinderboxCaolán McNamara2012-04-101-1/+1
|
* Resolves: fdo#31022 about dialog is suboptimalAndrew Higginson2012-04-103-12/+19
|
* char[] -> const char[].Jan Holesovsky2012-04-101-9/+4
|
* removed unused definesTakeshi Abe2012-04-109-26/+0
|
* removed OS/2 oneTakeshi Abe2012-04-101-94/+0
|
* add package deps for resourcesDavid Tardon2012-04-091-1/+7
|
* Replaced a few equal calls with ==Szabolcs Dezsi2012-04-084-9/+7
|
* LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl2012-04-081-1/+1
|
* gbuild: "use" vs. "add":Michael Stahl2012-04-085-10/+10
| | | | | | | | | Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
* Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2012-04-0612-46/+30
|
* Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2012-04-061-4/+4
| | | | | | Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;