summaryrefslogtreecommitdiff
path: root/include/svl/inethist.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-07-02 16:01:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-07-02 16:10:39 +0200
commit80a1a2599e04142683d2286d0e32d0e13fb45de3 (patch)
tree21d43dd4288bf66a424f5c2b65db587e9d685d54 /include/svl/inethist.hxx
parentb0080192e51fe80b682d805c19530da0655b4667 (diff)
Generally better to have DLLPUBLIC class with some DLLPRIVATE members
...than the other way around an implicitly DLLPRIVATE class with some DLLPUBLIC members, so that any symbols implicitly added by the compiler have the right visibility (e.g., RTTI as needed by -fsanitize=function). Change-Id: I4898dee0ccc6fdc4e7e1f3fb19db94661563444f
Diffstat (limited to 'include/svl/inethist.hxx')
-rw-r--r--include/svl/inethist.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/svl/inethist.hxx b/include/svl/inethist.hxx
index 96e728a2fecd..91964f8d4efe 100644
--- a/include/svl/inethist.hxx
+++ b/include/svl/inethist.hxx
@@ -25,9 +25,9 @@
#include <tools/urlobj.hxx>
class INetURLHistory_Impl;
-class INetURLHistory : public SfxBroadcaster
+class SVL_DLLPUBLIC INetURLHistory : public SfxBroadcaster
{
- struct StaticInstance
+ struct SAL_DLLPRIVATE StaticInstance
{
INetURLHistory * operator()();
};
@@ -39,25 +39,25 @@ class INetURLHistory : public SfxBroadcaster
/** Construction/Destruction.
*/
- INetURLHistory (void);
- virtual ~INetURLHistory (void);
+ SAL_DLLPRIVATE INetURLHistory (void);
+ SAL_DLLPRIVATE virtual ~INetURLHistory (void);
/** Implementation.
*/
- static void NormalizeUrl_Impl (INetURLObject &rUrl);
+ SAL_DLLPRIVATE static void NormalizeUrl_Impl (INetURLObject &rUrl);
- SVL_DLLPUBLIC void PutUrl_Impl (const INetURLObject &rUrl);
- SVL_DLLPUBLIC bool QueryUrl_Impl (const INetURLObject &rUrl);
+ void PutUrl_Impl (const INetURLObject &rUrl);
+ bool QueryUrl_Impl (const INetURLObject &rUrl);
/** Not implemented.
*/
- INetURLHistory (const INetURLHistory&);
- INetURLHistory& operator= (const INetURLHistory&);
+ SAL_DLLPRIVATE INetURLHistory (const INetURLHistory&);
+ SAL_DLLPRIVATE INetURLHistory& operator= (const INetURLHistory&);
public:
/** GetOrCreate.
*/
- SVL_DLLPUBLIC static INetURLHistory* GetOrCreate (void);
+ static INetURLHistory* GetOrCreate (void);
/** QueryProtocol.
*/