summaryrefslogtreecommitdiff
path: root/chart2/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-15 11:27:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 08:45:17 +0200
commit98c4cd372bf0e9d4b5b129405f5af4562d8a0f64 (patch)
treef3aae749f01d0453a227b922a6ad3217171700d7 /chart2/source/inc
parent666901bc82fab69f9a80b564f97b5456d0ef684e (diff)
loplugin:unusedfields improve write-only analysis
by whitelisting a couple of methods we know only write to their parameters Change-Id: Id7aef9c03c23d10c27707b21eb9a0db4a6c2757c Reviewed-on: https://gerrit.libreoffice.org/37647 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc')
-rw-r--r--chart2/source/inc/MediaDescriptorHelper.hxx51
1 files changed, 1 insertions, 50 deletions
diff --git a/chart2/source/inc/MediaDescriptorHelper.hxx b/chart2/source/inc/MediaDescriptorHelper.hxx
index f0180640c716..488a31851b25 100644
--- a/chart2/source/inc/MediaDescriptorHelper.hxx
+++ b/chart2/source/inc/MediaDescriptorHelper.hxx
@@ -71,30 +71,15 @@ public:
//@todo define this for debug only, except URL
bool AsTemplate; //document is a template.
bool ISSET_AsTemplate;
- OUString Author;
- bool ISSET_Author;
- OUString CharacterSet; //identifier of used character set.
- bool ISSET_CharacterSet;
- OUString Comment;
- bool ISSET_Comment;
css::uno::Any
ComponentData;
bool ISSET_ComponentData;
- OUString FileName; //deprecated, same as url
- bool ISSET_FileName;
css::uno::Any
FilterData;
bool ISSET_FilterData;
OUString FilterName; //internal filter name.
bool ISSET_FilterName;
- OUString FilterFlags;//deprecated,
- bool ISSET_FilterFlags;
- OUString FilterOptions;
- bool ISSET_FilterOptions;
- //not documented ... @todo remove?
- OUString FrameName; //name of target frame.
- bool ISSET_FrameName;
bool Hidden; //load document, invisible.
bool ISSET_Hidden;
@@ -107,50 +92,20 @@ public:
css::uno::Reference< css::io::XInputStream >
InputStream; //content of document.
bool ISSET_InputStream;
- css::uno::Reference< css::uno::XInterface >
- InteractionHandler; //css::task::XInteractionHandler
- bool ISSET_InteractionHandler;
-
- OUString JumpMark; //specifies the name of a mark within the document where the first view is to position itself.
- bool ISSET_JumpMark;
- OUString MediaType; //mime type.
- bool ISSET_MediaType;
- OUString OpenFlags; //deprecated
- bool ISSET_OpenFlags;
+
bool OpenNewView; //opens a new view for an already loaded document.
bool ISSET_OpenNewView;
bool Overwrite; //opens a new view for an already loaded document.
bool ISSET_Overwrite;
- OUString Password;
- bool ISSET_Password;
- //not documented ... @todo remove?
- css::awt::Rectangle
- PosSize; //position and size of document window.
- bool ISSET_PosSize;
-
- css::uno::Sequence< sal_Int8 >
- PostData; //contains the data for HTTP post method as a sequence of bytes.
- bool ISSET_PostData;
- OUString PostString; //deprecated, contains the data for HTTP post method as a sequence of bytes.
- bool ISSET_PostString;
bool Preview; //show preview.
bool ISSET_Preview;
bool ReadOnly; //open document readonly.
bool ISSET_ReadOnly;
- OUString Referer; //name of document referrer.
- bool ISSET_Referer;
- css::uno::Reference< css::uno::XInterface >
- StatusIndicator; //css::task::XStatusIndicator
- bool ISSET_StatusIndicator;
//not documented ... @todo remove?
bool Silent; //prevents dialogs to query for more information.
bool ISSET_Silent;
- OUString TemplateName; //deprecated, name of the template instead of the URL.
- bool ISSET_TemplateName;
- OUString TemplateRegionName; //deprecated, name of the region of the template.
- bool ISSET_TemplateRegionName;
bool Unpacked;
bool ISSET_Unpacked;
OUString URL;// FileName, URL of the document.
@@ -172,10 +127,6 @@ public:
Stream;
bool ISSET_Stream;
- // undocumented SFX Properties
- css::uno::Sequence< sal_Int32 >
- WinExtent;
- bool ISSET_WinExtent;
bool SetEmbedded;
bool ISSET_SetEmbedded;