summaryrefslogtreecommitdiffstats
path: root/sw/inc/IDocumentDrawModelAccess.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-19 09:15:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-19 10:26:50 +0100
commit67820a90370513cd65cd7f042c1d0dea6fb0965f (patch)
tree7d53cf940b8e4457af578e25e7a4a6fb0b012bf7 /sw/inc/IDocumentDrawModelAccess.hxx
parentcoverity#706069 Unintended sign extension (diff)
downloadcore-67820a90370513cd65cd7f042c1d0dea6fb0965f.tar.gz
core-67820a90370513cd65cd7f042c1d0dea6fb0965f.zip
coverity#705037 Unchecked dynamic_cast
Change-Id: I9f6c8ceafd09b4a5d4e951e01e1a06b2b5265181
Diffstat (limited to 'sw/inc/IDocumentDrawModelAccess.hxx')
-rw-r--r--sw/inc/IDocumentDrawModelAccess.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/IDocumentDrawModelAccess.hxx b/sw/inc/IDocumentDrawModelAccess.hxx
index 4c76292bc3cb..ad8415a4b91b 100644
--- a/sw/inc/IDocumentDrawModelAccess.hxx
+++ b/sw/inc/IDocumentDrawModelAccess.hxx
@@ -22,7 +22,7 @@
#include <svx/svdtypes.hxx>
-class SdrModel;
+class SwDrawDocument;
class SdrPageView;
class IDocumentDrawModelAccess
@@ -31,10 +31,10 @@ public:
/** Draw Model and id accessors
*/
- virtual const SdrModel* GetDrawModel() const = 0;
- virtual SdrModel* GetDrawModel() = 0;
- virtual SdrModel* _MakeDrawModel() = 0;
- virtual SdrModel* GetOrCreateDrawModel() = 0;
+ virtual const SwDrawDocument* GetDrawModel() const = 0;
+ virtual SwDrawDocument* GetDrawModel() = 0;
+ virtual SwDrawDocument* _MakeDrawModel() = 0;
+ virtual SwDrawDocument* GetOrCreateDrawModel() = 0;
virtual SdrLayerID GetHeavenId() const = 0;
virtual SdrLayerID GetHellId() const = 0;
virtual SdrLayerID GetControlsId() const = 0;