summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
AgeCommit message (Collapse)AuthorFilesLines
2012-05-29targetted SAL_N_ELEMENTS reversion.Michael Meeks1-1/+1
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-24Removed unused SfxMedium::bDirectStephan Bergmann3-4/+4
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 Yoshida2-1/+29
This info will be used during type detection for more clever filter selection. Change-Id: I66a52ff6f425e97884afd1c85831c11381fb695d
2012-05-16reduce static_initialization_and_destruction chainCaolán McNamara1-19/+27
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
2012-05-09Removed unnecessary SvLibraryStephan Bergmann3-3/+0
Change-Id: I42e64af8ed88e652341707d5f9d2da3daaa0f9bb
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold1-2/+2
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
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 McNamara2-5/+3
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
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 McNamara2-1/+3
2012-04-10removed unused definesTakeshi Abe2-6/+0
2012-04-10removed OS/2 oneTakeshi Abe1-94/+0
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi3-59/+59
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 Dezsi1-1/+1
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-02fdo#34324 - fix colorspace conversion for greyscale bitmapsMichael Meeks1-0/+3
2012-03-30removed duplicate includes in sfx2Takeshi Abe10-13/+0
2012-03-23.mm files don't need executable bitsMichael Stahl1-0/+0
2012-03-23.hrc files don't need executable bitsMichael Stahl3-0/+0
2012-03-23overly static lingering OUStringsCaolán McNamara1-10/+1
2012-03-22don't need to check for null before deleteMarkus Mohrhard1-4/+2
2012-03-16Introduced SystemShellExecuteFlags::URIS_ONLYStephan Bergmann6-122/+189
2012-03-12WaE: comparison between signed and unsigned integer expressionsDavid Tardon1-1/+1
2012-03-09reorganize license dialog to avoid Resource leaksCaolán McNamara1-37/+74
2012-03-05WaE: unused parameters in the DISABLE_SCRIPTING caseTor Lillqvist2-2/+6
2012-03-05Sprinkle DISABLE_SCRIPTING ifdefsTor Lillqvist8-2/+113
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann2-22/+22
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
2012-02-28some fancy new SAL_LOG tracing for sfx2Bjoern Michaelsen1-0/+1
2012-02-27Deduplication of aSfxInt16Item_Impl only for iOSTor Lillqvist1-0/+4
2012-02-27Removed unused codeSzabolcs Dezsi1-7/+0
2012-02-26aSfxInt16Item_Impl, tooTor Lillqvist1-0/+2
2012-02-26Static linking for iOS effectively means "merged libs"Tor Lillqvist1-2/+2
2012-02-23Get rid of CREATEVERSIONRESMGR[_NAME]Stephan Bergmann1-1/+1
2012-02-17Removed unused code from svl and sfx2Szabolcs Dezsi1-4/+0
2012-02-15WaE: these are integers, not pointersCaolán McNamara1-1/+1
2012-02-15WaE: mingwCaolán McNamara1-0/+2
2012-02-14fdo#37775: Recent Documents not updated by Save & Save AsMuhammad Haggag1-44/+65
This patch changes LO behavior so that we update recent documents on file save, save as, save all, and close. The previous behavior was to only update the list on document close. = Changes = SfxPickList (sfxpicklist.cxx/hxx): . Extracted the logic to add a document to the "Recent Documents" list into a function of its own: AddDocumentToPickList - Simplified the logic used by removing the check of SfxObjectShell_impl::bWaitingForPickList (see SfxObjectShell_impl::bWaitingForPickList below for details) . Modified SfxPickList::Notify to call the aforementioned function on save, save-to, and save-as. SfxObjectShell::APISaveAs_Impl (objserv.cxx): . Modified it to allow picklist entry when doing "Save As". SfxObjectShell_impl::bWaitingForPickList (objstor.cxx, objxtor.cxx, objshimp.hxx): . Removed this flag. It was used to indicate that a document wants to be added to the picklist, then cleared after it's added. Since we now always add documents to the picklist on saving, we no longer need it. = Verification = The change is in sfx2, so it should apply to all LO apps. I verified the new behavior in both writer and calc with the following actions: . File->Save . File->Save As . File->Save All . File->Close
2012-02-13Add fw* and sfx to libmergedTor Lillqvist1-0/+17
2012-02-05Remove unused codeElton Chung2-28/+0
2012-02-05Some cppcheck cleaningJulien Nabet2-8/+8
2012-01-31Simplify code by making getProcessComponentContext() implicit.Stephan Bergmann2-41/+24
2012-01-31Move unotools/configuration.hxx to comphelperStephan Bergmann2-4/+4
...so that other code in comphelper can use it.
2012-01-30Fixed cppheader.xsl nillable treatment.Stephan Bergmann1-6/+9
* cppheader.xsl had initially been written under the false assumption that a missing oor:nillable attribute defaults to "false" instead of "true". That has been fixed. * As a result, many places that use the new simplified officecfg/*.hxx headers broke as they did not expect value types to be wrapped boost::optional. To keep the code simple, I decided to change all occurrences in officecfg/registry/schema/ of properties that specify a default <value> and do not explicitly specify oor:nillable="true" to oor:nillable="false". Strictly speaking, this is an incompatible change, but in many cases it should be what was intended, anyway. * Some places that use the new simplified officecfg/*.hxx headers still had to be adapted to boost::optional wrapping. * This showed that unotools/configuration.hxx did not yet work for those wrapped properties and needed fixing, too.
2012-01-27Replace SvtUndoOptions with (simplified) direct configuration access.Stephan Bergmann4-12/+24
Also, code in sw can be simplified under the premise that always /org.openoffice.Office.Common/Undo/Steps > 0.
2012-01-26Replace SvtInetOptions with (simplified) direct configuration access.Stephan Bergmann2-33/+71
2012-01-24remove unused #define SFX_ITEMTYPE_STATBAR in workwin.cxxIvan Timofeev1-2/+0
2012-01-23add the "Send Feedback..." help menu itemIvan Timofeev1-0/+16
2012-01-21Bump copyright yearAndras Timar1-2/+2
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann3-3/+3
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-20Provide a version that takes rtl::OUString.Kohei Yoshida1-2/+26
2012-01-20Provide a version that takes rtl::OUString.Kohei Yoshida1-4/+20