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 /sw | |
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 'sw')
-rw-r--r-- | sw/inc/docsh.hxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/app/docsh.cxx | 5 | ||||
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh1.cxx | 2 |
3 files changed, 0 insertions, 8 deletions
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index 9d2114516c5d..801ef8324840 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -180,7 +180,6 @@ public: virtual Printer *GetDocumentPrinter() override; virtual OutputDevice* GetDocumentRefDev() override; virtual void OnDocumentPrinterChanged( Printer * pNewPrinter ) override; - virtual sal_uLong GetMiscStatus() const override; virtual void PrepareReload() override; virtual void SetModified( bool = true ) override; diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx index ff2fd5c76088..fc112a080bff 100644 --- a/sw/source/uibase/app/docsh.cxx +++ b/sw/source/uibase/app/docsh.cxx @@ -902,11 +902,6 @@ void SwDocShell::OnDocumentPrinterChanged( Printer * pNewPrinter ) GetDoc()->getIDocumentDeviceAccess().setPrinter( nullptr, true, true ); } -sal_uLong SwDocShell::GetMiscStatus() const -{ - return SVOBJ_MISCSTATUS_RESIZEONPRINTERCHANGE; -} - // #i20883# Digital Signatures and Encryption HiddenInformation SwDocShell::GetHiddenInformationState( HiddenInformation nStates ) { diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx index 08527aa134de..c6b6e929300a 100644 --- a/sw/source/uibase/wrtsh/wrtsh1.cxx +++ b/sw/source/uibase/wrtsh/wrtsh1.cxx @@ -711,8 +711,6 @@ void SwWrtShell::CalcAndSetScale( svt::EmbeddedObjectRef& xObj, { if ( (embed::EmbedMisc::EMBED_ACTIVATEIMMEDIATELY & nMisc) || bLinkingChart - // TODO/LATER: ResizeOnPrinterChange - //|| SVOBJ_MISCSTATUS_RESIZEONPRINTERCHANGE & xObj->GetMiscStatus() // --> OD #i117189# - refine condition for non-resizable objects // non-resizable objects need to be set the size back by this method || ( bNoTextFramePrtAreaChanged && nMisc & embed::EmbedMisc::EMBED_NEVERRESIZE ) ) |