summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/doc.hxx3
-rw-r--r--sw/inc/fmtcol.hxx2
-rw-r--r--sw/inc/rubylist.hxx5
3 files changed, 3 insertions, 7 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index bc53c5e05c14..4d881ad1547b 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -110,7 +110,6 @@ class SwNumRule;
class SwNumRuleTable;
class SwPagePreviewPrtData;
class SwRootFrame;
-class SwRubyList;
class SwRubyListEntry;
class SwSectionFormat;
class SwSectionFormats;
@@ -228,6 +227,8 @@ void SetAllScriptItem( SfxItemSet& rSet, const SfxPoolItem& rItem );
// global function to start grammar checking in the document
void StartGrammarChecking( SwDoc &rDoc );
+using SwRubyList = std::vector<std::unique_ptr<SwRubyListEntry>>;
+
// Represents the model of a Writer document.
class SW_DLLPUBLIC SwDoc :
public IInterface
diff --git a/sw/inc/fmtcol.hxx b/sw/inc/fmtcol.hxx
index 5c2045bad2c3..78688f02e528 100644
--- a/sw/inc/fmtcol.hxx
+++ b/sw/inc/fmtcol.hxx
@@ -207,7 +207,7 @@ public:
void RegisterToFormat( SwFormat& );
};
-class SwFormatCollConditions : public std::vector<std::unique_ptr<SwCollCondition>> {};
+using SwFormatCollConditions = std::vector<std::unique_ptr<SwCollCondition>>;
class SW_DLLPUBLIC SwConditionTextFormatColl : public SwTextFormatColl
{
diff --git a/sw/inc/rubylist.hxx b/sw/inc/rubylist.hxx
index 680379f3d2e3..bcb7447276a3 100644
--- a/sw/inc/rubylist.hxx
+++ b/sw/inc/rubylist.hxx
@@ -22,9 +22,6 @@
#include <swtypes.hxx>
#include <fmtruby.hxx>
-#include <memory>
-#include <vector>
-
class SwRubyListEntry
{
OUString m_sText;
@@ -41,8 +38,6 @@ public:
void SetRubyAttr( const SwFormatRuby& rAttr ) { m_aRubyAttr = rAttr; }
};
-class SwRubyList : public std::vector<std::unique_ptr<SwRubyListEntry>> {};
-
#endif //_ INCLUDED_SW_INC_RUBYLIST_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */