summaryrefslogtreecommitdiff
path: root/editeng/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-29 01:43:30 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-29 01:52:31 -0400
commitc802cbad7f25d3070f2ae5fd8a7e1a7ce17f99a9 (patch)
tree280c9b8143c5104406430e8c722236a485dd9be8 /editeng/inc
parent8bf6eb4519b4b92390570341a10872e65fd95dc1 (diff)
ContentList no longer a child class of DummyContentList (take 2).
The previous commit was bad as it would cause segfalut on startup. This one is good as far as I can tell.
Diffstat (limited to 'editeng/inc')
-rw-r--r--editeng/inc/editeng/editeng.hxx3
-rw-r--r--editeng/inc/editeng/editview.hxx2
-rw-r--r--editeng/inc/editeng/outliner.hxx2
3 files changed, 4 insertions, 3 deletions
diff --git a/editeng/inc/editeng/editeng.hxx b/editeng/inc/editeng/editeng.hxx
index 4c0d5e0cc67e..c17b15b07529 100644
--- a/editeng/inc/editeng/editeng.hxx
+++ b/editeng/inc/editeng/editeng.hxx
@@ -328,7 +328,8 @@ public:
SfxStyleSheetPool* GetStyleSheetPool();
void SetStyleSheet( sal_uInt16 nPara, SfxStyleSheet* pStyle );
- SfxStyleSheet* GetStyleSheet( sal_uInt16 nPara ) const;
+ const SfxStyleSheet* GetStyleSheet( sal_uInt16 nPara ) const;
+ SfxStyleSheet* GetStyleSheet( sal_uInt16 nPara );
void SetWordDelimiters( const String& rDelimiters );
String GetWordDelimiters() const;
diff --git a/editeng/inc/editeng/editview.hxx b/editeng/inc/editeng/editview.hxx
index 7f3dd4c4ef47..aa9864f749b3 100644
--- a/editeng/inc/editeng/editview.hxx
+++ b/editeng/inc/editeng/editview.hxx
@@ -183,7 +183,7 @@ public:
void SetEditEngineUpdateMode( sal_Bool bUpdate );
void ForceUpdate();
- SfxStyleSheet* GetStyleSheet() const;
+ const SfxStyleSheet* GetStyleSheet() const;
void SetAnchorMode( EVAnchorMode eMode );
EVAnchorMode GetAnchorMode() const;
diff --git a/editeng/inc/editeng/outliner.hxx b/editeng/inc/editeng/outliner.hxx
index faceb8ae106e..ee7edecdea1c 100644
--- a/editeng/inc/editeng/outliner.hxx
+++ b/editeng/inc/editeng/outliner.hxx
@@ -308,7 +308,7 @@ public:
void Paste();
void PasteSpecial();
- SfxStyleSheet* GetStyleSheet() const;
+ const SfxStyleSheet* GetStyleSheet() const;
void SetControlWord( sal_uLong nWord );
sal_uLong GetControlWord() const;