summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)AuthorFilesLines
2011-12-22"*.*" is not "all files" (bnc#738021)Luboš Luňák1-1/+1
Not on any Unix, at least. I have no idea how deep entrenched is this mistake all over the code, so I'll play safe and just fix the KDE4 fpicker (GNOME/KDE3 seem to handle it fine), but at least in the UI show just "All files" instead of "All files (*.*)").
2011-12-22catch by const refCaolán McNamara12-31/+45
2011-12-21ditch min/max as macros under msvcCaolán McNamara1-1/+1
2011-12-21disentangle Read/WriteByteString OUString variantsCaolán McNamara1-2/+2
The ones which use a definite 8-bit encoding read/write pascal-style strings with a 16bit length prefix. The ones which use a definite 16-bit encoding read/write pascal-style UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending on the charset. Rename to ReadUniOrByteString like the other similar horrors to flag this misery
2011-12-21convert ReadByteString/WriteByteString from ByteString to OStringCaolán McNamara1-1/+1
Nobody ever used the return values anyway, so for reading just return the string and for writing the number of bytes written Doesn't need to be members, make standalone functions Rename to read_lenPrefixed_uInt8s_ToO[U]String and write_lenPrefixed_uInt8s_FromO[U]String, lengthy, but much less unambiguous, seeing as a lot of users of it don't seem to be aware that they read/write pascal-style length prefixed strings, which isn't surprising given the apparent simplicity of their original name. added a unit test
2011-12-21More removal from TTPropertiesAugust Sodora4-91/+0
2011-12-21Remove TTPropertiesAugust Sodora1-106/+0
2011-12-21needs more work firstCaolán McNamara1-1/+1
This reverts commit 92f396733ebc518bcb7a9eae2dd3169d333b82b9.
2011-12-21bah, need to tweak for pre c++0xCaolán McNamara1-2/+2
This reverts commit d00fc0e293852cfc019ffaffa65bee327397677b.
2011-12-21disentangle Read/WriteByteString OUString variantsCaolán McNamara1-2/+2
The ones which use a definite 8-bit encoding read/write pascal-style strings with a 16bit length prefix. The ones which use a definite 16-bit encoding read/write pascal-style UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending on the charset. Rename to ReadUniOrByteString like the other similar horrors to flag this misery
2011-12-21convert ReadByteString/WriteByteString from ByteString to OStringCaolán McNamara1-1/+1
Nobody ever used the return values anyway, so for reading just return the string and for writing the number of bytes written Doesn't need to be members, make standalone functions Rename to read_lenPrefixed_uInt8s_ToO[U]String and write_lenPrefixed_uInt8s_FromO[U]String, lengthy, but much less unambiguous, seeing as a lot of users of it don't seem to be aware that they read/write pascal-style length prefixed strings, which isn't surprising given the apparent simplicity of their original name. added a unit test
2011-12-21callcatcher: SfxRequest::IsRecording unused for a long timeCaolán McNamara2-19/+0
2011-12-20Link most libs and executables with gb_STDLIBS as presumably is intendedTor Lillqvist1-0/+1
2011-12-16Removed unused code.Thorsten Behrens1-24/+2
Clearly this iteration and reading of the referer, that is then subsequently not used at all by the method, can go.
2011-12-15Removed extra semicolonsJesse3-3/+3
2011-12-13m_pInfoImage never constructed or usedCaolán McNamara2-5/+1
2011-12-09callcatcher: remove unused code post automation removalCaolán McNamara3-111/+0
2011-12-08childs -> childrenMichael T. Whiteley14-136/+136
2011-12-08Less succes, more successStefan Knorr (astron)1-1/+1
2011-12-07Remove oooimprovementAugust Sodora2-61/+0
2011-12-07in modules, when we have a env we are in stage gbuildBjoern Michaelsen1-0/+1
2011-12-06Removed unnessecary tools/table.hxx includesMarcel Metz1-1/+0
2011-12-03Revert "fdo#41865: Make macro recording work without experimental features"August Sodora1-0/+15
This reverts commit f4b3bd91ca177101d90f522e81163dc6421e14c9.
2011-12-03fdo#41865: Make macro recording work without experimental featuresAugust Sodora1-15/+0
2011-12-03WaE : missing return value on one code pathNorbert Thiebaud1-1/+2
2011-12-03sfx2::FileDialogHelper: the punchline:Michael Stahl2-5/+5
Now that we have removed all the pointless clutter, we can finally make it possible to create a file dialog that has a link checkbox but not dozens of graphic filters pre-registered: only add them if SFXWB_GRAPHIC is given.
2011-12-03sfx2::FileDialogHelper: refactor construction:Michael Stahl7-107/+31
There are currently 2 different ways to specify what kind of file dialog should be created: the nDialogType and nFlags ctor parameters. Simplify that by using the nDialogType for the API specified variety, and the nFlags only for options that cannot be specified by the API. This allows to get rid of 3 constructors, and the following constants: WB_OPEN, WB_SAVEAS, WB_PASSWORD, SFXWB_PASSWORD, SFXWB_SHOWSTYLES
2011-12-03sfx2::DocumentInserter: remove nFlags ctor paramMichael Stahl2-10/+9
2011-12-03SvBaseLink::GetFileDialog renamed GetInsertFileDialogMichael Stahl3-10/+16
2011-12-03sfx2::FileDialogHelper: remove obsolete flagsMichael Stahl2-9/+1
2011-12-03sfx2::FileDialogHelper ignores WB_3DLOOK, WB_STDMODALMichael Stahl1-2/+2
2011-12-03sfx2::FileDialogHelper: remove use of WB_OPENMichael Stahl6-16/+43
This can really be derived from the dialog type, don't duplicate it.
2011-12-03remove unused #include sfx2/filedlghelper.hxxMichael Stahl3-3/+0
2011-12-01get rid of class Date and Time default ctor with system time penaltyEike Rathke11-15/+17
2011-11-30renamed Date::IsValid() to IsValidAndGregorian() to prevent misassumptionsEike Rathke2-2/+2
Once smaller than 1582-10-15 decrementing a Date will not produce a valid date.
2011-11-29fs34c: #i117625# when assigning events, only throw if there is an invalid ↵mst1-2/+2
type given, *not* if the type is correct, but the sequence is merely empty * found as LGPLv3-only fix at svn rev 1172123 (http://svn.apache.org/viewvc?view=revision&revision=1172123)
2011-11-29move reconfigure into gbuildBjoern Michaelsen1-1/+1
2011-11-29Replace formattings with formattingLior Kaplan1-1/+1
2011-11-29Install a Cancel callback, don't rely on vcl searching for a parent to closeCaolán McNamara1-4/+3
If there is no cancel callback for a Cancel button, it's monstrous to dig around the hierarchy looking for a parent to call EndDialog/Close on. Really messes up attempts to refactor dialogs.
2011-11-28SfxInterfaces may legally have no translatable ui nameCaolán McNamara1-2/+2
2011-11-28s/weather/whether/ where appropriateKorrawit Pruegsanusak1-1/+1
2011-11-27remove precompiled_xxx.hxx/cxxNorbert Thiebaud2-690/+0
2011-11-27remove pch from the include listNorbert Thiebaud2-2/+0
2011-11-27remove include of pch header from sfx2Norbert Thiebaud162-316/+0
2011-11-27remove pre-compiled header support in gbuild and gbuildified moduleNorbert Thiebaud1-2/+0
2011-11-27typos fixingKorrawit Pruegsanusak1-1/+1
2011-11-25make gbuild makefiles run independant of pwd againBjoern Michaelsen1-1/+1
2011-11-25gsl_getSystemTextEncoding -> osl_getThreadTextEncodingDavid Tardon1-1/+1
2011-11-23Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.Stephan Bergmann4-10/+10
A compile time check ensures the common case of streaming just a plain C-style string literal still produces reasonably compact call-site code. The format-string variants are still available in sal/detail/log.h, but only to be used in obsolete osl/diagnose.h etc., and going to be removed again eventually.
2011-11-23Enable :first-letter CSS pseudo-class for all browsers in HTML exportHarri Pitkänen1-1/+0
Previously when drop caps were specified in a paragraph style (not as direct formatting) export to HTML was implemented with :first-letter pseudo-class for "LibreOffice Writer" and through styling individual characters for other browsers. Since all browsers used these days (even obsolete ones like IE 5.5) support :first-letter there seems to be no reason to maintain this difference. This patch unifies all export modes to use :first-letter in such cases.