Kaydet (Commit) 1e21df65 authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Miklos Vajna

tdf#42949 Fix IWYU warnings in starmath/*/*cxx

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: I18dc216a59a5770456b20162c881c8726e2f44b2
Reviewed-on: https://gerrit.libreoffice.org/68788
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
üst 9c2cf303
......@@ -13,3 +13,19 @@ blacklist:
# Base class needs complete type
- com/sun/star/document/XExtendedFilterDetection.hpp
- com/sun/star/lang/XServiceInfo.hpp
starmath/source/accessibility.cxx:
# Needed for implicit dtor
- editeng/editobj.hxx
starmath/source/smdll.cxx:
# Needed to inherit linker visibility
- smdll.hxx
starmath/source/typemap.cxx:
# Needed for smslots.hxx to build
- config_options.h
- sfx2/msg.hxx
- sfx2/zoomitem.hxx
- svx/zoomslideritem.hxx
- svl/slstitm.hxx
starmath/source/unodoc.cxx:
# Avoid loplugin:unreffun error
- register.hxx
......@@ -10,7 +10,6 @@
#include <sal/config.h>
#include <test/bootstrapfixture.hxx>
#include <vcl/svapp.hxx>
#include <vcl/virdev.hxx>
#include <sfx2/sfxmodelfactory.hxx>
#include <smdll.hxx>
......
......@@ -10,7 +10,6 @@
#include <sal/config.h>
#include <test/bootstrapfixture.hxx>
#include <vcl/svapp.hxx>
#include <vcl/virdev.hxx>
#include <sfx2/sfxmodelfactory.hxx>
#include <smdll.hxx>
......
......@@ -20,7 +20,6 @@
#include <sfx2/dispatch.hxx>
#include <editeng/editeng.hxx>
#include <editeng/editview.hxx>
#include <sfx2/zoomitem.hxx>
#include <starmath.hrc>
......
......@@ -18,8 +18,6 @@
#include <document.hxx>
#include <smdll.hxx>
#include <node.hxx>
#include <parse.hxx>
#include <memory>
......
......@@ -9,9 +9,6 @@
#include <sal/config.h>
#include <test/screenshot_test.hxx>
#include <rtl/strbuf.hxx>
#include <osl/file.hxx>
#include <sfx2/app.hxx>
#include <vcl/abstdlg.hxx>
using namespace ::com::sun::star;
......
......@@ -25,7 +25,6 @@
#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include <com/sun/star/accessibility/AccessibleTextType.hpp>
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/AccessibleEventObject.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <unotools/accessiblerelationsethelper.hxx>
......
......@@ -33,9 +33,9 @@
#include <editeng/editeng.hxx>
#include <editeng/unoedsrc.hxx>
#include <edit.hxx>
#include <view.hxx>
#include <memory>
class SmGraphicWindow;
class SmDocShell;
namespace accessibility { class AccessibleTextHelper; }
......
......@@ -17,17 +17,13 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <starmath.hrc>
#include <helpids.h>
#include <vcl/menu.hxx>
#include <vcl/settings.hxx>
#include <editeng/editview.hxx>
#include <editeng/editeng.hxx>
#include <editeng/editstat.hxx>
#include <sfx2/dispatch.hxx>
#include <svl/stritem.hxx>
#include <sfx2/viewfrm.hxx>
......
......@@ -9,7 +9,6 @@
#include "mathmlattr.hxx"
#include <cassert>
#include <unordered_map>
static sal_Int32 ParseMathMLUnsignedNumber(const OUString &rStr, Fraction& rUN)
......
......@@ -26,7 +26,6 @@ one go*/
#include <com/sun/star/xml/sax/Parser.hpp>
#include <com/sun/star/xml/sax/XFastParser.hpp>
#include <com/sun/star/xml/sax/SAXParseException.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/packages/WrongPasswordException.hpp>
#include <com/sun/star/packages/zip/ZipIOException.hpp>
......@@ -46,6 +45,7 @@ one go*/
#include <sfx2/frame.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/sfxsids.hrc>
#include <sfx2/sfxmodelfactory.hxx>
#include <osl/diagnose.h>
#include <sot/storage.hxx>
#include <svtools/sfxecode.hxx>
......@@ -67,7 +67,6 @@ one go*/
#include "mathmlattr.hxx"
#include "mathmlimport.hxx"
#include "register.hxx"
#include <document.hxx>
#include <smdll.hxx>
#include <unomodel.hxx>
......
......@@ -12,7 +12,6 @@
#include <types.hxx>
#include <oox/mathml/importutils.hxx>
#include <oox/token/tokens.hxx>
#include <oox/token/namespaces.hxx>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
......
......@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <cppuhelper/factory.hxx>
#include <rtl/ustring.hxx>
#include <sfx2/sfxmodelfactory.hxx>
......
......@@ -21,7 +21,6 @@
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/ucb/ContentCreationException.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <sfx2/docfile.hxx>
#include <unotools/mediadescriptor.hxx>
#include <sal/log.hxx>
......
......@@ -20,11 +20,8 @@
#include <config_options.h>
#include <sfx2/msg.hxx>
#include <svl/stritem.hxx>
#include <svl/eitem.hxx>
#include <sfx2/zoomitem.hxx>
#include <svx/zoomslideritem.hxx>
#include <svx/svxids.hrc>
#include <svl/slstitm.hxx>
#ifdef DISABLE_DYNLOADING
......
......@@ -13,8 +13,7 @@
#include <memory>
#include <vcl/uitest/uiobject.hxx>
class SmElementsControl;
class SmElement;
#include <ElementsDockingWindow.hxx>
class ElementUIObject : public UIObject
{
......
......@@ -18,7 +18,6 @@
*/
#include <sfx2/sfxmodelfactory.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include "register.hxx"
#include <smdll.hxx>
......
......@@ -32,7 +32,6 @@
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/formula/SymbolDescriptor.hpp>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/script/XLibraryContainer.hpp>
#include <comphelper/propertysetinfo.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/servicehelper.hxx>
......
......@@ -19,7 +19,6 @@
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/XFramesSupplier.hpp>
#include <com/sun/star/container/XChild.hpp>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment