diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-06-15 20:18:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-17 08:36:31 +0200 |
commit | a98ac7220a92c1dfee9a2a490d764094050ffb91 (patch) | |
tree | 4c7345cdfb7beeff4e44f02dbaacd8627c0c0040 /starmath | |
parent | 2404a17e157273430d40ceaa1ab1275e7b50ba6e (diff) |
TransferableObjectDescriptor::mnOle2Misc field is unused
which means that SfxObjectShell::GetMiscStatus becomes unused
Change-Id: I5c89a2cd5c77c7f08a57fdac08237aab514fc7fa
Reviewed-on: https://gerrit.libreoffice.org/38843
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/document.hxx | 1 | ||||
-rw-r--r-- | starmath/source/document.cxx | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index a705e72f33a8..e18c674f2a69 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -116,7 +116,6 @@ class SM_DLLPUBLIC SmDocShell : public SfxObjectShell, public SfxListener sal_Int32 nFileFormat, bool bTemplate = false ) const override; - virtual sal_uIntPtr GetMiscStatus() const override; virtual void OnDocumentPrinterChanged( Printer * ) override; virtual bool InitNew( const css::uno::Reference< css::embed::XStorage >& xStorage ) override; virtual bool Load( SfxMedium& rMedium ) override; diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index f814db1962c7..ef1ce59cf0fe 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -1294,12 +1294,6 @@ void SmDocShell::FillClass(SvGlobalName* pClassName, } } -sal_uIntPtr SmDocShell::GetMiscStatus() const -{ - return SfxObjectShell::GetMiscStatus() | SVOBJ_MISCSTATUS_NOTRESIZEABLE - | SVOBJ_MISCSTATUS_RESIZEONPRINTERCHANGE; -} - void SmDocShell::SetModified(bool bModified) { if( IsEnableSetModified() ) |