summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-08-06 16:26:32 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-08-07 13:45:26 +0200
commitd1ba5419cf9f75fe437b835e49d3b75459dd48c2 (patch)
tree030dd7522098e4e03f0d64304e48cb866dfc375f /sw
parent5502be9695b67b094d581d108dc9ebddc161cc60 (diff)
Remove non-existing forward declarations
Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/crsrsh.hxx1
-rw-r--r--sw/inc/istyleaccess.hxx2
-rw-r--r--sw/inc/pagedesc.hxx1
-rw-r--r--sw/inc/postithelper.hxx1
-rw-r--r--sw/inc/printdata.hxx1
-rw-r--r--sw/inc/splargs.hxx1
-rw-r--r--sw/source/core/inc/rolbck.hxx1
-rw-r--r--sw/source/core/inc/swblocks.hxx1
-rw-r--r--sw/source/filter/ww8/ww8scan.hxx1
-rw-r--r--sw/source/filter/xml/xmlexp.hxx2
-rw-r--r--sw/source/ui/inc/cfgitems.hxx5
-rw-r--r--sw/source/ui/inc/view.hxx1
12 files changed, 0 insertions, 18 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx
index 48620e9f40d1..7630214ee33a 100644
--- a/sw/inc/crsrsh.hxx
+++ b/sw/inc/crsrsh.hxx
@@ -156,7 +156,6 @@ class SW_DLLPUBLIC SwCrsrShell
friend class SwCallLink;
friend class SwVisCrsr;
friend class SwSelPaintRects;
- friend class SwChgLinkFlag;
// requires the Crsr as InternalCrsr
friend sal_Bool GetAutoSumSel( const SwCrsrShell&, SwCellFrms& );
diff --git a/sw/inc/istyleaccess.hxx b/sw/inc/istyleaccess.hxx
index 2066589cb9dc..0fd66bf85d36 100644
--- a/sw/inc/istyleaccess.hxx
+++ b/sw/inc/istyleaccess.hxx
@@ -26,8 +26,6 @@
Management of (automatic) styles
--------------------------------------------------------------------*/
-class SwStyleHandle;
-
class IStyleAccess
{
public:
diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx
index c7a95cd93046..e83452f9e883 100644
--- a/sw/inc/pagedesc.hxx
+++ b/sw/inc/pagedesc.hxx
@@ -141,7 +141,6 @@ namespace nsUseOnPage
class SW_DLLPUBLIC SwPageDesc : public SwModify
{
friend class SwDoc;
- friend class SwUndoPageDescExt;
String aDescName;
SvxNumberType aNumType;
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx
index 6552a5680a9e..014a3048e103 100644
--- a/sw/inc/postithelper.hxx
+++ b/sw/inc/postithelper.hxx
@@ -38,7 +38,6 @@
class SwTxtFld;
class SwRootFrm;
-class SwPostIt;
class String;
class SwPostItMgr;
class SwEditWin;
diff --git a/sw/inc/printdata.hxx b/sw/inc/printdata.hxx
index 02d56b8a20b2..b041305c1bfd 100644
--- a/sw/inc/printdata.hxx
+++ b/sw/inc/printdata.hxx
@@ -47,7 +47,6 @@ class _SetGetExpFlds;
class SwViewOption;
class OutputDevice;
class SwViewOptionAdjust_Impl;
-class SwPrtOptions;
class ViewShell;
class SfxViewShell;
diff --git a/sw/inc/splargs.hxx b/sw/inc/splargs.hxx
index 0afcc54f72c6..974664236261 100644
--- a/sw/inc/splargs.hxx
+++ b/sw/inc/splargs.hxx
@@ -26,7 +26,6 @@
class SwTxtNode;
class SwIndex;
-class SpellCheck;
class Font;
#include <com/sun/star/linguistic2/XSpellAlternatives.hpp>
#include <com/sun/star/linguistic2/XSpellChecker1.hpp>
diff --git a/sw/source/core/inc/rolbck.hxx b/sw/source/core/inc/rolbck.hxx
index 9bd12144c448..aebec241ec6c 100644
--- a/sw/source/core/inc/rolbck.hxx
+++ b/sw/source/core/inc/rolbck.hxx
@@ -359,7 +359,6 @@ public:
class SwHistory
{
friend class SwDoc; // actually only SwDoc::DelUndoObj may access
- friend class SwUndoWriter; // for Undo/Redo Writer
friend class SwRegHistory; // for inserting History attributes
SwpHstry m_SwpHstry;
diff --git a/sw/source/core/inc/swblocks.hxx b/sw/source/core/inc/swblocks.hxx
index bf89e6e4f22f..d182c5cfcfc6 100644
--- a/sw/source/core/inc/swblocks.hxx
+++ b/sw/source/core/inc/swblocks.hxx
@@ -43,7 +43,6 @@ class SvxMacroTableDtor;
class SwBlockName
{
friend class SwImpBlocks;
- friend class Sw2TextBlocks;
sal_uInt16 nHashS, nHashL; // Hash-Codes zum Checken
long nPos; // Dateiposition (SW2-Format)
public:
diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx
index 2adec6661023..867a536f5537 100644
--- a/sw/source/filter/ww8/ww8scan.hxx
+++ b/sw/source/filter/ww8/ww8scan.hxx
@@ -914,7 +914,6 @@ friend WW8PLCFx_Cp_FKP::WW8PLCFx_Cp_FKP( SvStream*, SvStream*, SvStream*,
#ifndef DUMP
friend WW8PLCFMan::WW8PLCFMan(WW8ScannerBase*, ManTypes, long, bool);
-friend class SwWw8ImplReader;
friend class SwWW8FltControlStack;
#endif
diff --git a/sw/source/filter/xml/xmlexp.hxx b/sw/source/filter/xml/xmlexp.hxx
index 9f07858df014..d51e35977215 100644
--- a/sw/source/filter/xml/xmlexp.hxx
+++ b/sw/source/filter/xml/xmlexp.hxx
@@ -56,8 +56,6 @@ typedef ::std::vector< SwXMLTableLines_Impl* > SwXMLTableLinesCache_Impl;
class SwXMLExport : public SvXMLExport
{
- friend class SwXMLExpContext;
-
SvXMLUnitConverter* pTwipUnitConv;
SvXMLExportItemMapper* pTableItemMapper;
SwXMLTableLinesCache_Impl* pTableLines;
diff --git a/sw/source/ui/inc/cfgitems.hxx b/sw/source/ui/inc/cfgitems.hxx
index aed0bb91d588..feebfc001444 100644
--- a/sw/source/ui/inc/cfgitems.hxx
+++ b/sw/source/ui/inc/cfgitems.hxx
@@ -35,7 +35,6 @@
#include <cmdid.h>
-class SwWriterApp;
class SwModule;
#ifdef DBG_UTIL
class SwTestTabPage;
@@ -46,7 +45,6 @@ class ViewShell;
class SwViewOption;
class SwContentOptPage;
class SwShdwCrsrOptionsTabPage;
-class SwDocEditDialog;
SfxPrinter* GetPrt( ViewShell* );
void SetPrt( SfxPrinter* );
@@ -56,7 +54,6 @@ Item for settings dialog - document view
--------------------------------------------------------- */
class SW_DLLPUBLIC SwDocDisplayItem : public SfxPoolItem
{
- friend class SwWriterApp;
friend class SwShdwCrsrOptionsTabPage;
friend class SwModule;
@@ -210,9 +207,7 @@ Item for settings dialog - test settings
class SW_DLLPUBLIC SwTestItem : public SfxPoolItem
{
friend class SwModule;
- friend class SwWriterApp;
friend class SwTestTabPage;
- friend class SwDocEditDialog;
sal_Bool bTest1:1;
sal_Bool bTest2:1;
diff --git a/sw/source/ui/inc/view.hxx b/sw/source/ui/inc/view.hxx
index c0a22bd66d96..5aa8086f13c1 100644
--- a/sw/source/ui/inc/view.hxx
+++ b/sw/source/ui/inc/view.hxx
@@ -162,7 +162,6 @@ class SW_DLLPUBLIC SwView: public SfxViewShell
// exhibition hack (MA,MBA)
friend void lcl_SelectShellForDrop( SwView &rView );
- friend class TestTemplateItem;
friend class SwHHCWrapper;
friend class SwHyphWrapper;
friend class SwView_Impl;