diff options
Diffstat (limited to 'include/svx/unomod.hxx')
-rw-r--r-- | include/svx/unomod.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/svx/unomod.hxx b/include/svx/unomod.hxx index 04571c9071b2..f8ecfd6fc965 100644 --- a/include/svx/unomod.hxx +++ b/include/svx/unomod.hxx @@ -34,7 +34,11 @@ class SVX_DLLPUBLIC SvxUnoDrawMSFactory : public css::lang::XMultiServiceFactory { protected: /** abstract SdrModel provider */ - virtual SdrModel* getSdrModelFromUnoModel() const = 0; //TTTT make reference return + // Every App has a DrwingLayer as internal Tooling, thus ist is + // not too hard to asl a UnoModel to hand back a DrawingLayer Model in the + // form of an SdrModel. Thus, returning a reference and make usages + // safer and easier is justified. + virtual SdrModel& getSdrModelFromUnoModel() const = 0; //TTTT make reference return public: SvxUnoDrawMSFactory() throw() {}; |