summaryrefslogtreecommitdiff
path: root/sc/inc/docpool.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-09-04 00:14:59 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-09-06 15:44:58 +0200
commit3deacd971b843a752ddf456916209f52c9aa992f (patch)
treed7558c90cd5fc24cc5590b80732c90c7d6be8c01 /sc/inc/docpool.hxx
parentf4b91fc7230124120cf47f75c5197c5bd0c29c7f (diff)
How the hell did this survive 14 years? Kill it!
No need for a ugly static variable that just causes pain. Change-Id: I751f58a5dcfdeaa7bfd61f32ccbc13eaaf827632
Diffstat (limited to 'sc/inc/docpool.hxx')
-rw-r--r--sc/inc/docpool.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/docpool.hxx b/sc/inc/docpool.hxx
index db65148a391b..b7334863fe88 100644
--- a/sc/inc/docpool.hxx
+++ b/sc/inc/docpool.hxx
@@ -25,6 +25,7 @@
#include "scdllapi.h"
class ScStyleSheet;
+class ScDocument;
class SC_DLLPUBLIC ScDocumentPool: public SfxItemPool
{
@@ -57,7 +58,7 @@ public:
static void CheckRef( const SfxPoolItem& );
void StyleDeleted( ScStyleSheet* pStyle ); // delete templates(?) in organizer
- void CellStyleCreated( const OUString& rName );
+ void CellStyleCreated( const OUString& rName, ScDocument* pDoc );
virtual bool GetPresentation(
const SfxPoolItem& rItem,
SfxMapUnit ePresentationMetric,