summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/cption.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/cption.hxx')
-rw-r--r--sw/source/uibase/inc/cption.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/cption.hxx b/sw/source/uibase/inc/cption.hxx
index 08f31a4f2649..98ed59d65c0d 100644
--- a/sw/source/uibase/inc/cption.hxx
+++ b/sw/source/uibase/inc/cption.hxx
@@ -52,7 +52,12 @@ class TextFilterAutoConvert : public TextFilter
{
private:
OUString m_sLastGoodText;
+ OUString m_sNone;
public:
+ TextFilterAutoConvert(const OUString &rNone)
+ : m_sNone(rNone)
+ {
+ }
virtual OUString filter(const OUString &rText) SAL_OVERRIDE;
};
@@ -60,6 +65,7 @@ class SwCaptionDialog : public SvxStandardDialog
{
Edit* m_pTextEdit;
ComboBox* m_pCategoryBox;
+ OUString m_sNone;
TextFilterAutoConvert m_aTextFilter;
FixedText* m_pFormatText;
ListBox* m_pFormatBox;
@@ -76,8 +82,6 @@ class SwCaptionDialog : public SvxStandardDialog
SwCaptionPreview* m_pPreview;
- OUString m_sNone;
-
SwView &rView; // search per active, avoid View
SwFldMgr *pMgr; // pointer to save the include
SelectionType eType;