summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2012-06-01nuke unused namespaceTakeshi Abe
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-05-31nuke unused typedefTakeshi Abe
Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
2012-05-29targeted string re-workNorbert Thiebaud
Change-Id: If9a9889fa36bc76c9afed295568ed9a05de4587f
2012-05-29targetted SAL_N_ELEMENTS reversion.Michael Meeks
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-28Whatever an inimanager was, it has been dead for a decadeTor Lillqvist
Change-Id: I6efd7877df34af515e61b6b7fcd112fa041f5e61
2012-05-25sfx2: improve READMEMichael Stahl
2012-05-24Delete SfxItemSet before the current shell gets destroyed.Kohei Yoshida
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
2012-05-24Removed unused SfxMedium::bDirectStephan Bergmann
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
2012-05-23Add mechanism to pass doc service name to the descriptor when opening a file.Kohei Yoshida
This info will be used during type detection for more clever filter selection. Change-Id: I66a52ff6f425e97884afd1c85831c11381fb695d
2012-05-22Renamed writer_web_HTML to generic_HTML.Kohei Yoshida
This should reflect the fact that this type was already used as a generic HTML type. Change-Id: I0a209d51ed229f07aff001075c39bfc82d4c3088
2012-05-22border window: Design by Mirek M. - make the 'shells' more lightweight.Jan Holesovsky
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
2012-05-17removed unused const rtl::OUStringTakeshi Abe
Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb
2012-05-17fdo#49921 make sure all tab pages have the same dimensionsDavid Tardon
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
2012-05-16reduce static_initialization_and_destruction chainCaolán McNamara
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
2012-05-15Related: rhbz#790233 Allow styles to be deleted from the template dialogCaolán McNamara
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
2012-05-15Cleaned up some OSL_TRACE -> SAL_INFO usesStephan Bergmann
Change-Id: Ie70be4d3e4f086eaa301295df0bc7d25792d2cd2
2012-05-11Looks like CMD_SID_FRAMETITLE can goStephan Bergmann
...now that SID_FRAMETITLE is gone, and it is unused, anyway. Change-Id: I8b6b2641b988763df85d88490dc46484083b7180
2012-05-10Removed unused SID_FRAMETITLEStephan Bergmann
...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
2012-05-09Removed unnecessary SvLibraryStephan Bergmann
Change-Id: I42e64af8ed88e652341707d5f9d2da3daaa0f9bb
2012-05-09Resolves: rhbz#818557 crash with NULL shell post template updateCaolán McNamara
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
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-04Improved variable nameStephan Bergmann
Change-Id: Id3a505afa3d8a6e99beeccafe30713cf40fc0c76
2012-05-02!= instead of < for comparison with end iteratorJulien Nabet
Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8
2012-04-30duplicate SwDialogsResMgr definition and unused macrosCaolán McNamara
Change-Id: Ib7188a98230345557187b00826f33a2ad39a4f83
2012-04-30make ResId::toString a non-static memberCaolán McNamara
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
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
2012-04-28fixed typoTakeshi Abe
Change-Id: I98bf41fb13dfdb0a1e3402c0a2db8bc1d2ced5f6
2012-04-27Missing #include <errno.h>Stephan Bergmann
Change-Id: I79490015faf57a3f84395fa9ba29dd17503b9ef6
2012-04-27Related fdo#43895: Fixed shortcommings of FileDialogHelper_Impl::verifyPathStephan Bergmann
* 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.
2012-04-27SetDisplayDirectory is deprecatedStephan Bergmann
...and SetDisplayFolder seems correct here, anyway, given that aReccomendedDir (sic) denotes a directory, not a file. Change-Id: I2f77e8e9fe0948a028f344639d383726b4b8641d
2012-04-27Related fdo#37775: Update Recent Documents for r/o docs, tooStephan Bergmann
...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.
2012-04-25refactor ImpSvtDataCaolán McNamara
2012-04-23tweak paste-only context menu ( add paste only number )Noel Power
changed the text to really only paste text, also added pasteonly | number
2012-04-23Add some more timelogging, for graphic export here.Thorsten Behrens
2012-04-21Replace css macro with namespace for nicer namespacingThomas Arnhold
2012-04-16String->rtl::OUStringCaolán McNamara
2012-04-15re-open output file on save to fsync to improve first-start performanceMichael Meeks
2012-04-14Resolves: fdo#48640 handle various busted rtf docs without hangingCaolán McNamara
2012-04-12removed dead codeTakeshi Abe
2012-04-12removed useless static dataTakeshi Abe
2012-04-12removed unused definesTakeshi Abe
2012-04-10fix tinderboxCaolán McNamara
2012-04-10Resolves: fdo#31022 about dialog is suboptimalAndrew Higginson
2012-04-10char[] -> const char[].Jan Holesovsky
2012-04-10removed unused definesTakeshi Abe
2012-04-10removed OS/2 oneTakeshi Abe
2012-04-09add package deps for resourcesDavid Tardon
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl
2012-04-08gbuild: "use" vs. "add":Michael Stahl
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)