From a98ac7220a92c1dfee9a2a490d764094050ffb91 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 15 Jun 2017 20:18:37 +0200 Subject: 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 Reviewed-by: Noel Grandin --- include/sfx2/objsh.hxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/sfx2/objsh.hxx') diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index e1e683694a9f..fc13b6a0b345 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -92,10 +92,6 @@ enum class SfxEventHintId; #define ASPECT_ICON 4 #define ASPECT_DOCPRINT 8 -// must be the same as in OLE2 -#define SVOBJ_MISCSTATUS_NOTRESIZEABLE 512 -#define SVOBJ_MISCSTATUS_RESIZEONPRINTERCHANGE 2048 - namespace sfx2 { class SvLinkSource; @@ -626,7 +622,6 @@ public: virtual void SetVisArea( const tools::Rectangle & rVisArea ); const tools::Rectangle & GetVisArea() const; void SetVisAreaSize( const Size & rVisSize ); - virtual sal_uIntPtr GetMiscStatus() const; MapUnit GetMapUnit() const; void SetMapUnit( MapUnit nMUnit ); -- cgit