diff options
Diffstat (limited to 'include/svx/svdmodel.hxx')
-rw-r--r-- | include/svx/svdmodel.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index d5c14c0baa57..8153e4f915cc 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -260,6 +260,9 @@ private: // this is a weak reference to a possible living api wrapper for this model css::uno::Reference< css::uno::XInterface > mxUnoModel; + // used to disable unique name checking during page move + bool mbMakePageObjectsNamesUnique = true; + public: SVX_DLLPRIVATE virtual bool IsCreatingDataObj() const { return false; } bool IsTransportContainer() const { return bTransportContainer; } @@ -597,6 +600,10 @@ public: also during the runtime of the Undo() and Redo() methods. */ bool IsUndoEnabled() const; + // used to prevent object name change during page move + bool DoesMakePageObjectsNamesUnique() const { return mbMakePageObjectsNamesUnique; } + void DoMakePageObjectsNamesUnique(bool bDo) { mbMakePageObjectsNamesUnique = bDo; } + virtual void dumpAsXml(xmlTextWriterPtr pWriter) const; }; |