summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-01-16 15:06:12 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-01-16 15:17:45 +0100
commit9758961f6c6d2e40eec2d89c7bb1a5d065a6a1d8 (patch)
treee0e5635e739659aacea09e0e1cec08d20b01deab /sw
parentf6824eb6df649628630598278aa1b5e3ab4b9a0d (diff)
sw: make these public as well for unit tests
All are Sw-prefixed or are in Sw-prefixed namespace, so what can go wrong. Change-Id: Icbd8cead5e1db88d34519b09b21e64735ccb2734
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/shellio.hxx4
-rw-r--r--sw/source/filter/basflt/fltini.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index bfdac41d4a5d..6fe135b6e37b 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -506,7 +506,7 @@ public:
// Interface class for general access on special writers.
-class SwWriter
+class SW_DLLPUBLIC SwWriter
{
SvStream* pStrm;
SotStorageRef pStg;
@@ -566,7 +566,7 @@ namespace SwReaderWriter
Reader* GetReader( const OUString& rFltName );
/// Return writer based on the name.
- void GetWriter( const OUString& rFltName, const OUString& rBaseURL, WriterRef& xWrt );
+ SW_DLLPUBLIC void GetWriter( const OUString& rFltName, const OUString& rBaseURL, WriterRef& xWrt );
}
void GetRTFWriter( const OUString&, const OUString&, WriterRef& );
diff --git a/sw/source/filter/basflt/fltini.cxx b/sw/source/filter/basflt/fltini.cxx
index 1f784b700dc8..a415b3a17894 100644
--- a/sw/source/filter/basflt/fltini.cxx
+++ b/sw/source/filter/basflt/fltini.cxx
@@ -171,7 +171,7 @@ SW_DLLPUBLIC Reader* GetReader( ReaderWriterEnum eReader )
return aReaderWriter[eReader].GetReader();
}
-void GetWriter( const OUString& rFltName, const OUString& rBaseURL, WriterRef& xRet )
+SW_DLLPUBLIC void GetWriter( const OUString& rFltName, const OUString& rBaseURL, WriterRef& xRet )
{
for( sal_uInt16 n = 0; n < MAXFILTER; ++n )
if ( aFilterDetect[n].IsFilter( rFltName ) )