summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)AuthorFilesLines
2012-05-17removed unused const rtl::OUStringTakeshi Abe2-2/+0
Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb
2012-05-17fdo#49921 make sure all tab pages have the same dimensionsDavid Tardon7-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
2012-05-16reduce static_initialization_and_destruction chainCaolán McNamara1-19/+27
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
2012-05-15Related: rhbz#790233 Allow styles to be deleted from the template dialogCaolán McNamara1-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
2012-05-15Cleaned up some OSL_TRACE -> SAL_INFO usesStephan Bergmann1-12/+2
Change-Id: Ie70be4d3e4f086eaa301295df0bc7d25792d2cd2
2012-05-11Looks like CMD_SID_FRAMETITLE can goStephan Bergmann1-1/+0
...now that SID_FRAMETITLE is gone, and it is unused, anyway. Change-Id: I8b6b2641b988763df85d88490dc46484083b7180
2012-05-10Removed unused SID_FRAMETITLEStephan Bergmann9-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
2012-05-09Removed unnecessary SvLibraryStephan Bergmann3-3/+0
Change-Id: I42e64af8ed88e652341707d5f9d2da3daaa0f9bb
2012-05-09Resolves: rhbz#818557 crash with NULL shell post template updateCaolán McNamara1-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
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold3-5/+5
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-04Improved variable nameStephan Bergmann2-3/+3
Change-Id: Id3a505afa3d8a6e99beeccafe30713cf40fc0c76
2012-05-02!= instead of < for comparison with end iteratorJulien Nabet1-1/+1
Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8
2012-04-30duplicate SwDialogsResMgr definition and unused macrosCaolán McNamara1-1/+1
Change-Id: Ib7188a98230345557187b00826f33a2ad39a4f83
2012-04-30make ResId::toString a non-static memberCaolán McNamara7-10/+10
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-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
2012-04-28fixed typoTakeshi Abe1-1/+1
Change-Id: I98bf41fb13dfdb0a1e3402c0a2db8bc1d2ced5f6
2012-04-27Missing #include <errno.h>Stephan Bergmann1-0/+2
Change-Id: I79490015faf57a3f84395fa9ba29dd17503b9ef6
2012-04-27Related fdo#43895: Fixed shortcommings of FileDialogHelper_Impl::verifyPathStephan Bergmann1-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.
2012-04-27SetDisplayDirectory is deprecatedStephan Bergmann1-1/+1
...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 Bergmann1-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.
2012-04-25refactor ImpSvtDataCaolán McNamara3-2/+4
2012-04-23tweak paste-only context menu ( add paste only number )Noel Power3-1/+26
changed the text to really only paste text, also added pasteonly | number
2012-04-23Add some more timelogging, for graphic export here.Thorsten Behrens1-1/+5
2012-04-21Replace css macro with namespace for nicer namespacingThomas Arnhold1-7/+2
2012-04-16String->rtl::OUStringCaolán McNamara2-8/+9
2012-04-15re-open output file on save to fsync to improve first-start performanceMichael Meeks1-1/+12
2012-04-14Resolves: fdo#48640 handle various busted rtf docs without hangingCaolán McNamara1-1/+1
2012-04-12removed dead codeTakeshi Abe1-41/+0
2012-04-12removed useless static dataTakeshi Abe3-12/+0
2012-04-12removed unused definesTakeshi Abe3-17/+0
2012-04-10fix tinderboxCaolán McNamara1-1/+1
2012-04-10Resolves: fdo#31022 about dialog is suboptimalAndrew Higginson3-12/+19
2012-04-10char[] -> const char[].Jan Holesovsky1-9/+4
2012-04-10removed unused definesTakeshi Abe9-26/+0
2012-04-10removed OS/2 oneTakeshi Abe1-94/+0
2012-04-09add package deps for resourcesDavid Tardon1-1/+7
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi4-9/+7
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl1-1/+1
2012-04-08gbuild: "use" vs. "add":Michael Stahl5-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)
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi12-46/+30
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-4/+4
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi10-115/+115
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi13-32/+32
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-05SfxViewShell::GetScrollingMode always returns SCROLLING_DEFAULTIvan Timofeev3-22/+0
2012-04-05fdo#43895 lp#905355: fix the fix so it doesn't crashMichael Stahl1-1/+10
rtl::OUString rtl::OUString::copy(sal_Int32) const: Assertion `beginIndex >= 0 && beginIndex <= getLength()' failed. (regression from dd2fe95cce75f1157bd1c75d286a0047b2e4175e)
2012-04-05removed unused definesTakeshi Abe1-2/+0
2012-04-03fdo#44698 settings are under a different menu in Mac OS XAndras Timar1-0/+4
2012-04-02fdo#34324 - fix colorspace conversion for greyscale bitmapsMichael Meeks1-0/+3
2012-04-02Remove unused HTMLMODE_FIRSTLINEHarri Pitkänen1-1/+0
HTMLMODE_FIRSTLINE was disabled in all HTML export modes. It seems to have been used to add first line indent for paragraphs in Netscape version 3 but all currently available export modes use CSS for that.
2012-03-30Correct method name in warning messageTor Lillqvist1-2/+3