summaryrefslogtreecommitdiffstats
path: root/include/sfx2
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-04-08 08:54:21 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-04-09 11:14:15 +0200
commit65404e2c72ea2d5d3f6c074121005b8b9369e7fb (patch)
tree15eeeb5b634c461611893dbe3b49d689ef71f5c4 /include/sfx2
parenttdf#127792 implement UNO chart attribute MajorOrigin (diff)
downloadcore-65404e2c72ea2d5d3f6c074121005b8b9369e7fb.tar.gz
core-65404e2c72ea2d5d3f6c074121005b8b9369e7fb.zip
Move is*Locked methods to object shell
They depend on the model, not the view. Follow-up to 523922ee9d033fd304d2b50a72b76853ddcfbcdf Change-Id: I429bc25b8dd4f04ebf62eddd5ef455b5161e925d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91867 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/objsh.hxx4
-rw-r--r--include/sfx2/viewsh.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index ae7d32e34d54..da28df348996 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -586,6 +586,10 @@ public:
const css::uno::Sequence<OUString>& rExceptions = css::uno::Sequence<OUString>());
bool isEditDocLocked();
+ bool isContentExtractionLocked();
+ bool isExportLocked();
+ bool isPrintLocked();
+ bool isSaveLocked();
// The functions from SvPersist
void EnableSetModified( bool bEnable = true );
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx
index 47a50f23a3df..63441f17d883 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -289,10 +289,6 @@ public:
void AddRemoveClipboardListener( const css::uno::Reference < css::datatransfer::clipboard::XClipboardListener>&, bool );
css::uno::Reference< css::datatransfer::clipboard::XClipboardNotifier > GetClipboardNotifier() const;
- bool isContentExtractionLocked();
- bool isExportLocked();
- bool isPrintLocked();
- bool isSaveLocked();
SAL_DLLPRIVATE SfxInPlaceClient* GetUIActiveIPClient_Impl() const;
SAL_DLLPRIVATE void AddContextMenuInterceptor_Impl( const css::uno::Reference < css::ui::XContextMenuInterceptor >& xInterceptor );