diff options
author | Gökay Şatır <gokaysatir@collabora.com> | 2024-08-07 16:55:42 +0300 |
---|---|---|
committer | Gökay ŞATIR <gokaysatir@collabora.com> | 2024-09-04 16:47:20 +0200 |
commit | 558b1a9155dc6918a0731277330e27c2f72b7b13 (patch) | |
tree | 6238b77512ae1900568ef4941a84461ac669c0a8 /sd | |
parent | 0a89d65e6bb7be293c1a7b4615a08292701694dc (diff) |
Add SdrModel "IsImpress" function.
Functionalities like "SetMarkHandlesForLOKit" can now use this to send data selectively.
Change-Id: I8d300d1d6fe0d953f4798ec3ee0c48e258054335
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172854
Reviewed-by: Gökay ŞATIR <gokaysatir@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/drawdoc.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx index 4c411f94f6f7..7bce90338b38 100644 --- a/sd/source/core/drawdoc.cxx +++ b/sd/source/core/drawdoc.cxx @@ -146,6 +146,8 @@ SdDrawDocument::SdDrawDocument(DocumentType eType, SfxObjectShell* pDrDocSh) mpDrawPageListWatcher.reset(new ImpDrawPageListWatcher(*this)); mpMasterPageListWatcher.reset(new ImpMasterPageListWatcher(*this)); + this->SetImpress(true); + InitLayoutVector(); InitObjectVector(); SetObjectShell(pDrDocSh); // for VCDrawModel |