diff options
Diffstat (limited to 'sw/source/uibase/inc/basesh.hxx')
-rw-r--r-- | sw/source/uibase/inc/basesh.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/basesh.hxx b/sw/source/uibase/inc/basesh.hxx index b4426137fe9d..6e924a62cde1 100644 --- a/sw/source/uibase/inc/basesh.hxx +++ b/sw/source/uibase/inc/basesh.hxx @@ -24,10 +24,12 @@ #include <tools/link.hxx> #include <sfx2/module.hxx> #include <sfx2/shell.hxx> - #include <mdiexp.hxx> +#include <memory> #include <set> +#include <vector> +class SwPaM; class SwWrtShell; class SwView; class SfxItemSet; @@ -110,6 +112,10 @@ public: static void SetFrameMode( FlyMode eMode, SwWrtShell *pShell ); // with update! static void SetFrameMode_( FlyMode eMode ) { eFrameMode = eMode; } static FlyMode GetFrameMode() { return eFrameMode; } + + // duplicate rOrig and rOrig's multi-selection Ring so the first element of the returned + // vector can be used equivalently to rOrig to affect the same selections + static std::shared_ptr<std::vector<std::unique_ptr<SwPaM>>> CopyPaMRing(SwPaM& rOrig); }; #endif |