summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/srcedtw.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/inc/srcedtw.hxx')
-rw-r--r--sw/source/ui/inc/srcedtw.hxx23
1 files changed, 13 insertions, 10 deletions
diff --git a/sw/source/ui/inc/srcedtw.hxx b/sw/source/ui/inc/srcedtw.hxx
index 9e9a74f900af..3439b19478ba 100644
--- a/sw/source/ui/inc/srcedtw.hxx
+++ b/sw/source/ui/inc/srcedtw.hxx
@@ -30,12 +30,15 @@
#include <vcl/window.hxx>
#include <svl/lstner.hxx>
-#include <unotools/options.hxx>
#include <vcl/timer.hxx>
#include <tools/table.hxx>
#include <svtools/xtextedt.hxx>
+namespace com { namespace sun { namespace star { namespace beans {
+ class XMultiPropertySet;
+} } } }
+
class ScrollBar;
class SwSrcView;
class SwSrcEditWindow;
@@ -43,11 +46,6 @@ class TextEngine;
class ExtTextView;
class DataChangedEvent;
-namespace utl
-{
- class SourceViewConfig;
-}
-
class TextViewOutWin : public Window
{
ExtTextView* pTextView;
@@ -70,10 +68,12 @@ public:
};
//------------------------------------------------------------
-namespace svt{ class SourceViewConfig;}
-class SwSrcEditWindow : public Window, public SfxListener, public utl::ConfigurationListener
+class SwSrcEditWindow : public Window, public SfxListener
{
private:
+ class ChangesListener;
+ friend class ChangesListener;
+
ExtTextView* pTextView;
ExtTextEngine* pTextEngine;
@@ -82,7 +82,11 @@ private:
*pVScrollbar;
SwSrcView* pSrcView;
- utl::SourceViewConfig* pSourceViewConfig;
+
+ rtl::Reference< ChangesListener > listener_;
+ osl::Mutex mutex_;
+ com::sun::star::uno::Reference< com::sun::star::beans::XMultiPropertySet >
+ notifier_;
long nCurTextWidth;
sal_uInt16 nStartLine;
@@ -116,7 +120,6 @@ protected:
void DoSyntaxHighlight( sal_uInt16 nPara );
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
- virtual void ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 );
DECL_LINK(ScrollHdl, ScrollBar*);