/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef SCH_XMLEXPORT_HXX_ #define SCH_XMLEXPORT_HXX_ #include #include "SchXMLAutoStylePoolP.hxx" #include #include #include #include namespace com { namespace sun { namespace star { namespace task { class XStatusIndicator; } }}} // ------------------------------------------ // export class for a complete chart document // ------------------------------------------ class SchXMLExport : public SvXMLExport { private: com::sun::star::uno::Reference< com::sun::star::task::XStatusIndicator > mxStatusIndicator; SchXMLAutoStylePoolP maAutoStylePool; SchXMLExportHelper maExportHelper; protected: virtual sal_uInt32 exportDoc( enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID ); virtual void _ExportStyles( sal_Bool bUsed ); virtual void _ExportAutoStyles(); virtual void _ExportMasterStyles(); virtual void _ExportContent(); public: // #110680# SchXMLExport( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, sal_uInt16 nExportFlags = EXPORT_ALL ); virtual ~SchXMLExport(); UniReference< XMLPropertySetMapper > GetPropertySetMapper() const; // XServiceInfo ( : SvXMLExport ) virtual ::rtl::OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException ); }; #endif // SCH_XMLEXPORT_HXX_ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ so that it throws Exception. This is appropriate for unit testing. The wrapping adds no value and the calling method already has a catch(Exception) to handle anything. Change-Id: I430a414f63d2cbfc3b65ecfde0285509265e5192
Modify createTestEnvironment so that it throws Exception. This
is appropriate for unit testing.
The wrapping adds no value and the calling method already has
a catch(Exception) to handle anything.

Change-Id: I430a414f63d2cbfc3b65ecfde0285509265e5192
java: no need to instantiate the AccessibilityTools object 2015-01-12T06:36:17+00:00 Noel Grandin noel@peralex.com 2014-12-19T14:00:53+00:00 4bf4e3d40778051f1f886c47dd2b2bef82acf1e5 since all of it's methods and fields are static. Change-Id: Ia2b652969489c5a21e01a35cda65c6e84346aac0
since all of it's methods and fields are static.

Change-Id: Ia2b652969489c5a21e01a35cda65c6e84346aac0
java: add @Override annotation to overriding methods 2014-08-12T07:41:28+00:00 Noel Grandin noel@peralex.com 2014-08-06T06:55:09+00:00 0477e6c39b7ce8b7f6560fbf222c19fe4f358dc8 Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
java: remove unused parameters 2014-08-11T10:33:02+00:00 Noel Grandin noel@peralex.com 2014-08-08T12:53:00+00:00 41709cc2688738f091a4b17839fe853caa5a0bfd Change-Id: I47c618117e079bb2ef90d92c449c8166ea957fa5
Change-Id: I47c618117e079bb2ef90d92c449c8166ea957fa5
java: remove some unused import statements 2014-08-04T11:38:31+00:00 Noel Grandin noel@peralex.com 2014-08-04T11:19:23+00:00 dfd4b94a52698858ad8cd595f98d77bc21a11206 Change-Id: Id6342be66221c81b05aee9af519c800e51a286b3
Change-Id: Id6342be66221c81b05aee9af519c800e51a286b3
java: remove some unused variables 2014-08-04T11:38:30+00:00 Noel Grandin noel@peralex.com 2014-08-04T11:18:10+00:00 9658b27b6915d7113f166099410d5417a08d151e Change-Id: Ia9405d3e34e710059ff68bf850de91c36f4e1e1b
Change-Id: Ia9405d3e34e710059ff68bf850de91c36f4e1e1b
java: remove some casting in lib.TestParameters#getMSF 2014-08-04T11:38:30+00:00 Noel Grandin noel@peralex.com 2014-08-04T11:16:37+00:00 f493555623fb36bb51e78a4630483271ed36afe7 where the return value is always cast to XMultiServiceFactory, so just do the cast in the method and avoid noise at the call sites. Change-Id: I3a2e06ac6edb3c6021eda6442032db57aaa22e13
where the return value is always cast to XMultiServiceFactory,
so just do the cast in the method and avoid noise at the call sites.

Change-Id: I3a2e06ac6edb3c6021eda6442032db57aaa22e13