Commit graph

1336 commits

Author SHA1 Message Date
Thomas Arnhold
b312a38797 update_pch: add a bunch of pch files
desktop:    1m51s ->   54s
 framework:  1m55s -> 1m04s
 package:      32s ->   16s
 sdext:      1m31s ->   47s
 svgio:        32s ->   15s
 uui:          49s ->   20s
 vbahelper:  1m44s ->   27s
 xmlscript:    15s ->   10s
 xmlsecurity:  45s ->   23s

Change-Id: Ia437969c091bf877983ababc5ea2d044bbc0bee0
2014-06-04 21:18:37 +02:00
Noel Grandin
7e4c6e1ff1 remove unnecessary linefeeds from the end of exception messages
Change-Id: Id1d7971639b2496dbe0274423ff4150d9295e8d6
2014-05-29 09:01:39 +02:00
Noel Grandin
9af0abebfd remove unnecessary use of Reference constructor in throw
Convert code like this:
  throw IOException("xx",
     Reference< XInterface >(static_cast<OWeakObject*>(this)) );
to this:
  throw IOException("xx",
     static_cast<OWeakObject*>(this) );

Change-Id: Ife9f645f0f1810a8e80219126193015502c43dbb
2014-05-27 08:20:11 +02:00
Julien Nabet
ac76cc7e60 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23 22:11:52 +02:00
Noel Grandin
e7bc3cab01 remove boilerplate in UNO Exception constructor calls
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.

Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02:00
Stephan Bergmann
423921b085 fdo#78949 Handle (SAXParse-)Exception that can't pass getAllRelationships
...like it was already done in the similar else branch of
ReadRelInfoIfNecessary.  The call site at GetAllRelationshipsIfAny will
translate an m_nRelInfoStatus that remained RELINFO_NOT_INIT into an
IOException.

Change-Id: I79c601acd23b3b0020c7b4de4c20b0282524bce1
2014-05-20 11:17:22 +02:00
Chris Laplante
3c1e30b77d Correct common misspellings, and remove some ASCII art along the way.
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c
Reviewed-on: https://gerrit.libreoffice.org/9356
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-17 12:38:38 +00:00
Noel Grandin
b2096deaff various loplugin:passsequencebyref
Change-Id: Id1045a7f66b4fa10b6491587ba07246a31ceba72
2014-05-14 16:54:27 +02:00
Noel Grandin
5dfb875e98 package: remove SAL_INFO's that only mark function entry
Change-Id: I21a1bfbe99d5231b63dc6aaf5d9de92190c76d91
2014-05-14 16:54:25 +02:00
Noel Grandin
8c004aa108 cid#982783 Unintentional integer overflow
Change-Id: Ida52d1fbe3d84c9c0070c91ae24cae58dc4aa13f
2014-05-14 09:49:08 +02:00
Pedro Giffuni
19c4d8d2fb Many spelling fixes: directories h* - p*.
Attempt to clean up most but certainly not all the spelling
mistakes that found home in OpenOffice through decades. We
could probably blame the international nature of the code but
it is somewhat shameful that this wasn't done  before.

(cherry picked from commit 11a1ff6144521aeabb0c6db25c89a2ac31bedee0)

Conflicts:
	external/libxmlsec/xmlsec1-customkeymanage.patch
	hwpfilter/source/hwpeq.cxx
	icc/README
	icu/createmak.pl
	idl/source/objects/object.cxx
	idlc/inc/idlc/errorhandler.hxx
	include/jvmfwk/framework.h
	include/oox/helper/propertyset.hxx
	instsetoo_native/inc_ure/windows/msi_templates/_Validat.idt
	javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/PrologueCtrl.java
	javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/LinuxInstaller.java
	javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/SolarisInstaller.java
	javainstaller2/src/JavaSetup/org/openoffice/setup/InstallerHelper/LinuxHelper.java
	javainstaller2/src/JavaSetup/org/openoffice/setup/SetupData/ProductDescription.java
	javainstaller2/src/JavaSetup/org/openoffice/setup/Util/Controller.java
	javainstaller2/src/JavaSetup/org/openoffice/setup/Util/ExecuteProcess.java
	javaunohelper/com/sun/star/comp/helper/SharedLibraryLoader.java
	javaunohelper/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.java
	jurt/com/sun/star/comp/servicemanager/ServiceManager.java
	jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
	jvmfwk/source/elements.cxx
	jvmfwk/source/elements.hxx
	l10ntools/inc/wtranode.hxx
	l10ntools/inc/wtratree.hxx
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/Convert.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/ConverterException.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/FileMaker.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/GSIWriter.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/GSIandSDFMerger.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/SDFReader.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/SDFWriter.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/XLIFFWriter.java
	l10ntools/scripts/localize.pl
	l10ntools/scripts/localize_old.pl
	l10ntools/source/cfgmerge.cxx
	l10ntools/source/export.cxx
	l10ntools/source/filter/merge/FCFGMerge.java
	l10ntools/source/filter/merge/Merger.java
	l10ntools/source/filter/utils/Cache.java
	l10ntools/source/filter/utils/ConfigHelper.java
	l10ntools/source/filter/utils/FileHelper.java
	l10ntools/source/filter/utils/XMLHelper.java
	l10ntools/source/merge.cxx
	l10ntools/source/tagtest.cxx
	l10ntools/source/xmlparse.cxx
	l10ntools/source/xrmmerge.cxx
	libtextcat/libtextcat-2.2.patch
	libxml2/libxml2-long-path.patch
	linguistic/inc/linguistic/misc.hxx
	linguistic/source/lngsvcmgr.cxx
	migrationanalysis/src/driver_docs/allstrings.ulf
	migrationanalysis/src/driver_docs/sources/AnalysisDriver.bas
	migrationanalysis/src/driver_docs/sources/CommonMigrationAnalyser.bas
	migrationanalysis/src/driver_docs/sources/word/MigrationAnalyser.cls
	migrationanalysis/src/msokill/msokill.cpp
	migrationanalysis/src/wizard/Wizard.frm
	odk/examples/DevelopersGuide/Accessibility/EventHandler.java
	odk/examples/DevelopersGuide/Accessibility/EventListenerProxy.java
	odk/examples/DevelopersGuide/Accessibility/GraphicalDisplay.java
	odk/examples/DevelopersGuide/Forms/DataAwareness.java
	odk/examples/DevelopersGuide/Forms/KeyGenerator.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
	odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
	odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
	odk/examples/cpp/complextoolbarcontrols/Makefile
	odk/setsdkenv_windows.template
	offapi/com/sun/star/accessibility/AccessibleEventId.idl
	offapi/com/sun/star/accessibility/AccessibleEventObject.idl
	offapi/com/sun/star/accessibility/AccessibleRelationType.idl
	offapi/com/sun/star/accessibility/XAccessible.idl
	offapi/com/sun/star/accessibility/XAccessibleRelationSet.idl
	offapi/com/sun/star/accessibility/XAccessibleStateSet.idl
	offapi/com/sun/star/animations/Event.idl
	offapi/com/sun/star/animations/XAnimationNode.idl
	offapi/com/sun/star/awt/AccessibleListBoxList.idl
	offapi/com/sun/star/awt/XLayoutFlow.idl
	offapi/com/sun/star/awt/XMessageBoxFactory.idl
	offapi/com/sun/star/awt/XPopupMenu.idl
	offapi/com/sun/star/awt/grid/XGridColumn.idl
	offapi/com/sun/star/chart/ChartAxis.idl
	offapi/com/sun/star/chart2/data/TabularDataProviderArguments.idl
	offapi/com/sun/star/chart2/data/XDatabaseDataProvider.idl
	offapi/com/sun/star/configuration/AdministrationProvider.idl
	offapi/com/sun/star/configuration/ConfigurationRegistry.idl
	offapi/com/sun/star/configuration/backend/XBackendChangesNotifier.idl
	offapi/com/sun/star/datatransfer/XDataFormatTranslator.idl
	offapi/com/sun/star/datatransfer/clipboard/RenderingCapabilities.idl
	offapi/com/sun/star/deployment/InvalidRemovedParameterException.idl
	offapi/com/sun/star/document/DocumentInfo.idl
	offapi/com/sun/star/document/EmptyUndoStackException.idl
	offapi/com/sun/star/document/EventObject.idl
	offapi/com/sun/star/document/ExtendedTypeDetection.idl
	offapi/com/sun/star/document/ExtendedTypeDetectionFactory.idl
	offapi/com/sun/star/document/FilterFactory.idl
	offapi/com/sun/star/document/MediaDescriptor.idl
	offapi/com/sun/star/document/NoSuchFilterRequest.idl
	offapi/com/sun/star/document/OfficeDocument.idl
	offapi/com/sun/star/document/TypeDetection.idl
	offapi/com/sun/star/document/UndoContextNotClosedException.idl
	offapi/com/sun/star/document/XExtendedFilterDetection.idl
	offapi/com/sun/star/document/XFilter.idl
	offapi/com/sun/star/document/XInteractionFilterSelect.idl
	offapi/com/sun/star/document/XTypeDetection.idl
	offapi/com/sun/star/drawing/Hatch.idl
	offapi/com/sun/star/drawing/XDrawPages.idl
	offapi/com/sun/star/drawing/XShapeBinder.idl
	offapi/com/sun/star/drawing/framework/XConfigurationControllerRequestQueue.idl
	offapi/com/sun/star/drawing/framework/XRelocatableResource.idl
	offapi/com/sun/star/embed/ElementModes.idl
	offapi/com/sun/star/embed/EntryInitModes.idl
	offapi/com/sun/star/embed/Storage.idl
	offapi/com/sun/star/embed/StorageFactory.idl
	offapi/com/sun/star/embed/StorageStream.idl
	offapi/com/sun/star/embed/XCommonEmbedPersist.idl
	offapi/com/sun/star/embed/XEmbedObjectClipboardCreator.idl
	offapi/com/sun/star/embed/XEmbeddedClient.idl
	offapi/com/sun/star/embed/XInplaceClient.idl
	offapi/com/sun/star/embed/XInplaceObject.idl
	offapi/com/sun/star/embed/XInsertObjectDialog.idl
	offapi/com/sun/star/embed/XPersistanceHolder.idl
	offapi/com/sun/star/embed/XStorage.idl
	offapi/com/sun/star/embed/XTransactionBroadcaster.idl
	offapi/com/sun/star/embed/XTransactionListener.idl
	offapi/com/sun/star/form/FormComponents.idl
	offapi/com/sun/star/form/XSubmitListener.idl
	offapi/com/sun/star/form/binding/BindableDataAwareControlModel.idl
	offapi/com/sun/star/form/binding/BindableDatabaseListBox.idl
	offapi/com/sun/star/form/component/DatabaseComboBox.idl
	offapi/com/sun/star/form/component/DatabaseFormattedField.idl
	offapi/com/sun/star/form/component/DatabasePatternField.idl
	offapi/com/sun/star/form/component/DatabaseTextField.idl
	offapi/com/sun/star/form/component/GridControl.idl
	offapi/com/sun/star/frame/Components.idl
	offapi/com/sun/star/frame/ContentHandler.idl
	offapi/com/sun/star/frame/ContentHandlerFactory.idl
	offapi/com/sun/star/frame/Desktop.idl
	offapi/com/sun/star/frame/DispatchDescriptor.idl
	offapi/com/sun/star/frame/DispatchProvider.idl
	offapi/com/sun/star/frame/DispatchRecorder.idl
	offapi/com/sun/star/frame/Frame.idl
	offapi/com/sun/star/frame/FrameActionEvent.idl
	offapi/com/sun/star/frame/FrameLoaderFactory.idl
	offapi/com/sun/star/frame/ProtocolHandler.idl
	offapi/com/sun/star/frame/XControlNotificationListener.idl
	offapi/com/sun/star/frame/XDesktop.idl
	offapi/com/sun/star/frame/XDispatchRecorderSupplier.idl
	offapi/com/sun/star/frame/XDocumentTemplates.idl
	offapi/com/sun/star/frame/XFrame.idl
	offapi/com/sun/star/frame/XFrameLoader.idl
	offapi/com/sun/star/frame/XInterceptorInfo.idl
	offapi/com/sun/star/frame/XRecordableDispatch.idl
	offapi/com/sun/star/frame/XStatusbarController.idl
	offapi/com/sun/star/frame/XStorable2.idl
	offapi/com/sun/star/frame/XSynchronousDispatch.idl
	offapi/com/sun/star/frame/XTerminateListener2.idl
	offapi/com/sun/star/graphic/GraphicObject.idl
	offapi/com/sun/star/graphic/XGraphicObject.idl
	offapi/com/sun/star/inspection/XNumericControl.idl
	offapi/com/sun/star/inspection/XObjectInspectorModel.idl
	offapi/com/sun/star/inspection/XPropertyHandler.idl
	offapi/com/sun/star/installation/XProtocolHandlerCheck.idl
	offapi/com/sun/star/installation/protocols.idl
	offapi/com/sun/star/linguistic2/SpellFailure.idl
	offapi/com/sun/star/linguistic2/XLinguServiceManager.idl
	offapi/com/sun/star/mail/XMailServer.idl
	offapi/com/sun/star/mozilla/XPluginInstance.idl
	offapi/com/sun/star/mozilla/XPluginInstanceSyncPeer.idl
	offapi/com/sun/star/packages/zip/ZipIOException.idl
	offapi/com/sun/star/presentation/OutlineView.idl
	offapi/com/sun/star/presentation/XPresentation2.idl
	offapi/com/sun/star/presentation/XSlideShow.idl
	offapi/com/sun/star/presentation/XSlideShowController.idl
	offapi/com/sun/star/report/XFunction.idl
	offapi/com/sun/star/report/XFunctionsSupplier.idl
	offapi/com/sun/star/report/XReportComponent.idl
	offapi/com/sun/star/report/XReportDefinition.idl
	offapi/com/sun/star/report/meta/XFunctionManager.idl
	offapi/com/sun/star/resource/XStringResourcePersistence.idl
	offapi/com/sun/star/resource/XStringResourceWithLocation.idl
	offapi/com/sun/star/resource/XStringResourceWithStorage.idl
	offapi/com/sun/star/sdb/DataSettings.idl
	offapi/com/sun/star/sdb/ErrorCondition.idl
	offapi/com/sun/star/sdb/SQLContext.idl
	offapi/com/sun/star/sdb/Table.idl
	offapi/com/sun/star/sdb/XRowSetApproveListener.idl
	offapi/com/sun/star/sdb/application/XDatabaseDocumentUI.idl
	offapi/com/sun/star/sdb/tools/XConnectionTools.idl
	offapi/com/sun/star/sdbc/DataType.idl
	offapi/com/sun/star/sdbc/XDatabaseMetaData.idl
	offapi/com/sun/star/sdbcx/Descriptor.idl
	offapi/com/sun/star/security/DocumentSignatureInformation.idl
	offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl
	offapi/com/sun/star/sheet/AccessibleSpreadsheetPageView.idl
	offapi/com/sun/star/sheet/DatabaseRange.idl
	offapi/com/sun/star/smarttags/XSmartTagAction.idl
	offapi/com/sun/star/table/AccessibleTableView.idl
	offapi/com/sun/star/table/CellProperties.idl
	offapi/com/sun/star/table/CellRangeListSource.idl
	offapi/com/sun/star/table/CellValueBinding.idl
	offapi/com/sun/star/table/XMergeableCellRange.idl
	offapi/com/sun/star/task/DocumentPasswordRequest.idl
	offapi/com/sun/star/task/JobExecutor.idl
	offapi/com/sun/star/task/MasterPasswordRequest.idl
	offapi/com/sun/star/task/PasswordRequest.idl
	offapi/com/sun/star/task/XJob.idl
	offapi/com/sun/star/text/AccessiblePageView.idl
	offapi/com/sun/star/text/AccessibleTextDocumentView.idl
	offapi/com/sun/star/text/LineNumberingProperties.idl
	offapi/com/sun/star/text/NumberingRules.idl
	offapi/com/sun/star/text/XRelativeTextContentRemove.idl
	offapi/com/sun/star/text/textfield/Database.idl
	offapi/com/sun/star/text/textfield/SetExpression.idl
	offapi/com/sun/star/text/textfield/docinfo/Description.idl
	offapi/com/sun/star/text/textfield/docinfo/Info0.idl
	offapi/com/sun/star/text/textfield/docinfo/Info1.idl
	offapi/com/sun/star/text/textfield/docinfo/Info2.idl
	offapi/com/sun/star/text/textfield/docinfo/Info3.idl
	offapi/com/sun/star/text/textfield/docinfo/Keywords.idl
	offapi/com/sun/star/text/textfield/docinfo/Revision.idl
	offapi/com/sun/star/text/textfield/docinfo/Subject.idl
	offapi/com/sun/star/text/textfield/docinfo/Title.idl
	offapi/com/sun/star/ucb/CommandFailedException.idl
	offapi/com/sun/star/ucb/Content.idl
	offapi/com/sun/star/ucb/ContentAction.idl
	offapi/com/sun/star/ucb/FetchError.idl
	offapi/com/sun/star/ucb/FetchResult.idl
	offapi/com/sun/star/ucb/HierarchyDataSource.idl
	offapi/com/sun/star/ucb/InteractiveFileIOException.idl
	offapi/com/sun/star/ucb/SearchRecursion.idl
	offapi/com/sun/star/ucb/UniversalContentBroker.idl
	offapi/com/sun/star/ucb/XAnyCompare.idl
	offapi/com/sun/star/ucb/XCachedContentResultSetFactory.idl
	offapi/com/sun/star/ucb/XCachedDynamicResultSetFactory.idl
	offapi/com/sun/star/ucb/XContentIdentifierMapping.idl
	offapi/com/sun/star/ui/UIElementType.idl
	offapi/com/sun/star/ui/dialogs/FilePicker.idl
	offapi/com/sun/star/ui/dialogs/FolderPicker.idl
	offapi/com/sun/star/util/PathSubstitution.idl
	offapi/com/sun/star/util/XChangesNotifier.idl
	offapi/com/sun/star/util/XCloseBroadcaster.idl
	offapi/com/sun/star/util/XCloseListener.idl
	offapi/com/sun/star/util/XCloseable.idl
	offapi/com/sun/star/util/XStringSubstitution.idl
	offapi/com/sun/star/util/XTextSearch.idl
	offapi/com/sun/star/util/XURLTransformer.idl
	offapi/com/sun/star/xforms/XModel.idl
	offapi/com/sun/star/xml/sax/XFastAttributeList.idl
	offapi/com/sun/star/xml/sax/XFastParser.idl
	officecfg/registry/data/org/openoffice/Office/Labels.xcu
	officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
	officecfg/registry/schema/org/openoffice/Office/Common.xcs
	officecfg/registry/schema/org/openoffice/Office/Embedding.xcs
	officecfg/registry/schema/org/openoffice/Office/ExtensionDependencies.xcs
	officecfg/registry/schema/org/openoffice/Office/ExtensionManager.xcs
	officecfg/registry/schema/org/openoffice/Office/Histories.xcs
	officecfg/registry/schema/org/openoffice/Office/OptionsDialog.xcs
	officecfg/registry/schema/org/openoffice/Office/Paths.xcs
	officecfg/registry/schema/org/openoffice/Office/PresenterScreen.xcs
	officecfg/registry/schema/org/openoffice/Office/TabBrowse.xcs
	officecfg/registry/schema/org/openoffice/Office/UI.xcs
	officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs
	officecfg/registry/schema/org/openoffice/Office/UI/WindowState.xcs
	officecfg/registry/schema/org/openoffice/Office/WebWizard.xcs
	officecfg/registry/schema/org/openoffice/Office/Writer.xcs
	officecfg/registry/schema/org/openoffice/Setup.xcs
	officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs
	oox/source/xls/sheetdatabuffer.cxx
	package/source/xstor/xstorage.cxx
	padmin/source/padialog.src
	postprocess/signing/signing.pl
	pyuno/source/module/pyuno_module.cxx

Change-Id: I60c7b6d661ff803b5e9214ac7fefb32772ef19a7
2014-04-30 17:11:30 +01:00
Takeshi Abe
541761d7b8 prefer makefile-gmake-mode
Change-Id: I9cc9bfbddd3a90e00eee3e674994e5d6207f9034
2014-04-28 23:35:42 +09:00
Noel Grandin
d83dfeb5e5 filter: sal_Bool->bool
Change-Id: Icf20f23cb46ad3cb147d8c6a743f1d25a23fbca5
2014-04-22 09:56:06 +02:00
Noel Grandin
5df6dcf747 package: sal_Bool->bool
Change-Id: I05dd5070d0618ef7539b26c7edcaf01b0a84732c
2014-04-22 09:53:14 +02:00
Thomas Arnhold
d75f773f62 fixincludeguards.sh: package
Change-Id: Ia66d825baad3315c34bd579dc804f607bc6be30b
2014-04-19 11:10:11 +02:00
Stephan Bergmann
c3e84d4c74 sal/log.hxx functionality also includes the equivalent of OSL_LOG_PREFIX
Change-Id: I1bb0115a378003b5cc5b1cfc59c474a1f100d894
2014-04-16 22:42:40 +02:00
Jan Holesovsky
a60d9aa7ce package: Turn own logging infra into SAL_INFO to reduce product bin size.
Change-Id: I81b4cf62cb6ae77ea35e7781ef5f464c28b44855
2014-04-16 18:28:19 +02:00
Thomas Arnhold
02e14adc6e remove update_precomp.py markers 2014-04-14 12:31:55 +02:00
Stephan Bergmann
a736781e83 Remove dead function declaration
Change-Id: If16e9bed79cc55896cb6c35367935848140da4df
2014-04-14 11:54:48 +02:00
Tor Lillqvist
6835d9f307 It's "its", not "it's"
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
Noel Grandin
5babf1b903 remove unnecessary scope qualifier from sal_Bool uses
i.e. convert "::sal_Bool" to "sal_Bool"

Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
Noel Grandin
6f7ca49591 package: sal_Bool->bool
Change-Id: I66999e5d9f827650f4c1bccb14178f8fa8a57cbf
2014-04-03 09:17:50 +02:00
Stephan Bergmann
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."

Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
Thomas Arnhold
7d3b9d3333 typo: optimisation -> optimization 2014-03-29 19:16:18 +01:00
Stephan Bergmann
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
Caolán McNamara
52cc0c8f05 coverity#982784 Unintentional integer overflow
Change-Id: Ib50e0987adf419ecdd569fc5dd5c8b2b1e246e2f
2014-03-21 08:54:44 +00:00
Caolán McNamara
16b6b45e8c coverity#707964 Uninitialized scalar field
Change-Id: I051e5ae4200563426d810e9a4d94ab02fb8ccf51
2014-03-21 08:54:44 +00:00
Noel Grandin
86a32589e9 Find places where OUString and OString are passed by value.
It's not very efficient, because we generally end up copying it twice -
once into the parameter and again into the destination OUString.

So I create a clang plugin that finds such places and generates a
warning so that we can convert them to pass-by-reference.

Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
2014-03-18 08:32:26 +02:00
Stephan Bergmann
bf8441444c package: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I6cfedbb93fade4179d9dcbf3701116d4b320ebd3
2014-03-10 17:39:56 +01:00
Stephan Bergmann
1349f49a72 Use cppu::OImplementationId for XUnoTunnel IDs
Change-Id: I564ec761b7a7b3488682acfb3aff56beb3f68213
2014-03-10 08:59:23 +01:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Alexander Wilms
d148739576 Remove visual noise from package
Change-Id: Icef40ad2d451d3c5ca90ed4b305ece5430d352f7
Reviewed-on: https://gerrit.libreoffice.org/8289
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 09:13:49 -06:00
Takeshi Abe
5f17e5eaad Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I674b7ee507258555b667657a13db6fda9b8d8372
2014-02-21 14:35:52 +09:00
Stephan Bergmann
05f742d28b comphelper: sal_Bool -> bool
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
2014-02-17 17:55:19 +01:00
Stephan Bergmann
faced6b5f7 ucbhelper: sal_Bool -> bool
Change-Id: Iee327c3dd75bebb35d99de01eaa7103956e08974
2014-02-17 17:55:18 +01:00
Michael Stahl
04ff535f72 normalize values of SYSTEM_ZLIB, SYSTEM_DICTS, SYSTEM_FONTCONFIG
Change-Id: I7530cb9d0797df5fc86695b0379cc44c159d2ab5
2014-02-12 09:53:08 +01:00
Alexandre Vicenzi
f9369d33a4 fdo#54938 Convert to cppu::supportsService
Change-Id: I512c525029ebd63d261560d27e9f38bbe94f7e10
Reviewed-on: https://gerrit.libreoffice.org/7649
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-03 14:35:46 +00:00
Stephan Bergmann
0f50845dbd bool improvements
Change-Id: I5dfdb3a11737a2cb805ff44652c9ca502e5fc81b
2014-01-28 20:26:25 +01:00
Jan Holesovsky
cb64711136 Don't use OSL_LOG_PREFIX when throwing exceptions in non-debug builds.
Using OSL_LOG_PREFIX in the exceptions is not a good idea; it blows the size
of the string literals tremendously - full build path for every line that uses
that, including the line.

Let's not remove it for good, but hide it for non-debug builds
(OSL_DEBUG_LEVEL == 0) so that anybody who would like to use this during
debugging could still do (but I doubt it has any value for anybody).

Change-Id: Icc8db95ae0862671a206e681f92c60cdf51ffc32
2014-01-27 23:21:43 +01:00
David Tardon
a6b0c67ee5 css::io::XInputStream _is_ allowed
Change-Id: Ib72c02a329bbc9a26390a16e115fd8ae94343263
2014-01-27 18:14:04 +01:00
Stephan Bergmann
01fe7b7238 bool improvements
Change-Id: I80dfcb60878d9e280e8a03297ccc4833277c235d
2014-01-22 08:22:32 +01:00
David Tardon
c20db8735e Revert "impl. enumeration for ZipPackage"
This reverts commit 5b2cca80ee.
Also reverts commit 86a5053df0.
2014-01-16 16:40:00 +01:00
David Tardon
28619201e9 do not close input, unless it was us who opened it
Change-Id: I6ffedd1e64e48b4fc4bd6f5eb63e96b49f1a8508
2014-01-16 16:39:59 +01:00
David Tardon
86a5053df0 bah
Change-Id: I0fd33c8ee1791714ee9b42f50cabbdc51ebe4440
2014-01-15 21:44:26 +01:00
David Tardon
5b2cca80ee impl. enumeration for ZipPackage
Change-Id: I800d22d8ec99e943b59467cf64b96aaa1f797953
2014-01-15 21:27:47 +01:00
Michael Meeks
ed6b4dc7f6 package: avoid un-necessary modification event work.
Change-Id: Ia4b4e3edccf661b8c5f474c5c7474b5f9e497fcc
2014-01-05 16:23:39 +00:00
Stephan Bergmann
8233226fe4 No need for implbase1.hxx to include XComponentContext.hpp
...which it did unlike all the other implbaseN.hxx.  Required lots of downstream clean-up,
of course.

Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-12-17 17:32:58 +01:00
Stephan Bergmann
9ed364774c Adapt all (non-extension, SharedLibrary) .components to environment="..."
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
Rohit Deshmukh
88b9e7f391 fdo#71786 : Implemented Glossary folder
1. Glosary folder is imported as Intrograb and exported.
   2. Added unit test case

Reviewed on:
	https://gerrit.libreoffice.org/6825

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx
	writerfilter/source/filter/ImportFilter.cxx

Change-Id: Ifd51a75a65e030d44d30e02cd7ab51fb088186b3
2013-12-13 11:19:42 +01:00
Caolán McNamara
827b44d38a Related: EDB-29934-1 add .zip cppunit tests
Change-Id: Iaafdcc4e2c97e06bee245251316b18b3d9e87262
2013-12-02 12:26:26 +00:00