diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-01 18:53:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-05 07:01:44 +0100 |
commit | e189a3f5b5c4f381dcf109eb9a2ee9b6d32d5551 (patch) | |
tree | ec73a1899adb6af2fa94cff8764fe7bb9b45b34f /sc | |
parent | 2a9e162564a6af63bece77f50fc553640e747b9e (diff) |
make some classes module private
Mark some stuff SAL_DLLPUBLIC_RTTI in
include/vcl/metaact.hxx
in order to make ASAN happy.
Change-Id: I97febe0968bf58b9cbe60ce647f0ada25e6f4bb0
Reviewed-on: https://gerrit.libreoffice.org/84202
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/chartlis.hxx | 2 | ||||
-rw-r--r-- | sc/inc/compiler.hxx | 2 | ||||
-rw-r--r-- | sc/inc/dbdata.hxx | 2 | ||||
-rw-r--r-- | sc/inc/dpcache.hxx | 4 | ||||
-rw-r--r-- | sc/inc/dptabdat.hxx | 2 | ||||
-rw-r--r-- | sc/inc/externalrefmgr.hxx | 4 | ||||
-rw-r--r-- | sc/inc/orcusxml.hxx | 2 | ||||
-rw-r--r-- | sc/inc/queryentry.hxx | 2 | ||||
-rw-r--r-- | sc/inc/userlist.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/inc/interpre.hxx | 8 | ||||
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 2 |
11 files changed, 16 insertions, 16 deletions
diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx index 1b49d168f826..ba44467b4a3e 100644 --- a/sc/inc/chartlis.hxx +++ b/sc/inc/chartlis.hxx @@ -41,7 +41,7 @@ class ScChartUnoData; class SC_DLLPUBLIC ScChartListener final : public SvtListener { public: - class ExternalRefListener final : public ScExternalRefManager::LinkListener + class SAL_DLLPRIVATE ExternalRefListener final : public ScExternalRefManager::LinkListener { public: ExternalRefListener(ScChartListener& rParent, ScDocument* pDoc); diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx index b45af659ecab..98a3aed7ee78 100644 --- a/sc/inc/compiler.hxx +++ b/sc/inc/compiler.hxx @@ -181,7 +181,7 @@ public: EXTENDED_ERROR_DETECTION_NAME_NO_BREAK // name error on unknown symbols, don't break, continue }; - struct Convention + struct SAL_DLLPRIVATE Convention { const formula::FormulaGrammar::AddressConvention meConv; diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx index a7dc35c3b61b..488063cd0a2b 100644 --- a/sc/inc/dbdata.hxx +++ b/sc/inc/dbdata.hxx @@ -273,7 +273,7 @@ public: /** * Stores global anonymous database ranges. */ - class AnonDBs + class SAL_DLLPRIVATE AnonDBs { typedef ::std::vector<std::unique_ptr<ScDBData>> DBsType; DBsType m_DBs; diff --git a/sc/inc/dpcache.hxx b/sc/inc/dpcache.hxx index 1d1559755369..50088234f398 100644 --- a/sc/inc/dpcache.hxx +++ b/sc/inc/dpcache.hxx @@ -53,7 +53,7 @@ public: typedef std::set<ScDPObject*> ScDPObjectSet; typedef std::vector<SCROW> IndexArrayType; - struct GroupItems + struct SAL_DLLPRIVATE GroupItems { ScDPItemDataVec maItems; ScDPNumGroupInfo maInfo; @@ -65,7 +65,7 @@ public: GroupItems(const ScDPNumGroupInfo& rInfo, sal_Int32 nGroupType); }; - struct Field + struct SAL_DLLPRIVATE Field { /** * Optional items for grouped field. diff --git a/sc/inc/dptabdat.hxx b/sc/inc/dptabdat.hxx index 3df053e36da8..17ba76aca255 100644 --- a/sc/inc/dptabdat.hxx +++ b/sc/inc/dptabdat.hxx @@ -66,7 +66,7 @@ public: /** This structure stores dimension information used when calculating results. These data are read only during result calculation, so it should be passed as a const instance. */ - struct CalcInfo + struct SAL_DLLPRIVATE CalcInfo { ::std::vector<long> aColLevelDims; ::std::vector<ScDPDimension*> aColDims; diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index 71fba923d446..7a6394ad71af 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -371,7 +371,7 @@ public: * link to a certain external file is updated, the notify() method gets * called. */ - class LinkListener + class SAL_DLLPRIVATE LinkListener { public: LinkListener(); @@ -422,7 +422,7 @@ private: public: /** Source document meta-data container. */ - struct SrcFileData + struct SAL_DLLPRIVATE SrcFileData { OUString maFileName; /// original file name as loaded from the file. OUString maRealFileName; /// file name created from the relative name. diff --git a/sc/inc/orcusxml.hxx b/sc/inc/orcusxml.hxx index 5db292c29d54..f335ae226d7f 100644 --- a/sc/inc/orcusxml.hxx +++ b/sc/inc/orcusxml.hxx @@ -52,7 +52,7 @@ struct ScOrcusXMLTreeParam */ UserDataStoreType m_UserDataStore; - static SC_DLLPUBLIC EntryData* getUserData(const weld::TreeView& rControl, const weld::TreeIter& rEntry); + static EntryData* getUserData(const weld::TreeView& rControl, const weld::TreeIter& rEntry); }; struct ScOrcusImportXMLParam diff --git a/sc/inc/queryentry.hxx b/sc/inc/queryentry.hxx index df858f08f339..46a65b957658 100644 --- a/sc/inc/queryentry.hxx +++ b/sc/inc/queryentry.hxx @@ -34,7 +34,7 @@ struct SC_DLLPUBLIC ScQueryEntry { enum QueryType { ByValue, ByString, ByDate, ByEmpty }; - struct Item + struct SAL_DLLPRIVATE Item { QueryType meType; double mfVal; diff --git a/sc/inc/userlist.hxx b/sc/inc/userlist.hxx index ae4bec457f7c..af9fe70ebdb3 100644 --- a/sc/inc/userlist.hxx +++ b/sc/inc/userlist.hxx @@ -33,7 +33,7 @@ class SC_DLLPUBLIC ScUserListData { public: - struct SubStr + struct SAL_DLLPRIVATE SubStr { OUString maReal; OUString maUpper; diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx index 3b902524d901..f3390902385a 100644 --- a/sc/source/core/inc/interpre.hxx +++ b/sc/source/core/inc/interpre.hxx @@ -865,10 +865,10 @@ private: static double gauss(double x); public: - static SC_DLLPUBLIC double phi(double x); - static SC_DLLPUBLIC double integralPhi(double x); - static SC_DLLPUBLIC double gaussinv(double x); - static SC_DLLPUBLIC double GetPercentile( ::std::vector<double> & rArray, double fPercentile ); + static double phi(double x); + static double integralPhi(double x); + static double gaussinv(double x); + static double GetPercentile( ::std::vector<double> & rArray, double fPercentile ); private: diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index a519f4c87d04..1b323aea3b84 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -125,7 +125,7 @@ class SC_DLLPUBLIC ScDocShell final: public SfxObjectShell, public SfxListener /** Do things that need to be done before saving to our own format and necessary clean ups in dtor. */ - class PrepareSaveGuard + class SAL_DLLPRIVATE PrepareSaveGuard { public: explicit PrepareSaveGuard( ScDocShell & rDocShell ); |