summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2017-02-08 18:10:15 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2017-02-08 20:04:03 +0200
commit25912929cfba42099581c55380dbef18cb81b5b9 (patch)
tree11e4ac9ae52bf0f7ed0d53c12379eacad11de205
parentc419d2f1b03750903422ffbeb9509bf8e158e6f8 (diff)
This is only used within vcl
Change-Id: I64d7e39506495e9fcc78bb670b897338a01a9ae1
-rw-r--r--include/vcl/printerinfomanager.hxx2
-rw-r--r--svtools/source/control/ctrlbox.cxx1
-rw-r--r--vcl/inc/unx/fontmanager.hxx2
-rw-r--r--vcl/inc/unx/helper.hxx (renamed from include/vcl/helper.hxx)16
-rw-r--r--vcl/inc/unx/printergfx.hxx2
-rw-r--r--vcl/unx/generic/app/salinst.cxx2
-rw-r--r--vcl/unx/generic/fontmanager/helper.cxx2
-rw-r--r--vcl/unx/generic/print/text_gfx.cxx2
-rw-r--r--vcl/unx/generic/printer/ppdparser.cxx2
9 files changed, 15 insertions, 16 deletions
diff --git a/include/vcl/printerinfomanager.hxx b/include/vcl/printerinfomanager.hxx
index 4b1105df4337..f80633945b23 100644
--- a/include/vcl/printerinfomanager.hxx
+++ b/include/vcl/printerinfomanager.hxx
@@ -24,9 +24,9 @@
#include <unordered_map>
#include <vcl/dllapi.h>
-#include <vcl/helper.hxx>
#include <vcl/jobdata.hxx>
#include <osl/file.hxx>
+#include <unx/helper.hxx>
#include <cstdio>
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index d16372c9f687..4aeaf506853f 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -24,7 +24,6 @@
#include <vcl/builderfactory.hxx>
#include <vcl/svapp.hxx>
#include <vcl/field.hxx>
-#include <vcl/helper.hxx>
#include <vcl/settings.hxx>
#include <sal/macros.h>
#include <comphelper/processfactory.hxx>
diff --git a/vcl/inc/unx/fontmanager.hxx b/vcl/inc/unx/fontmanager.hxx
index 55b674690f35..fa99dac82091 100644
--- a/vcl/inc/unx/fontmanager.hxx
+++ b/vcl/inc/unx/fontmanager.hxx
@@ -21,7 +21,7 @@
#define INCLUDED_VCL_INC_FONTMANAGER_HXX
#include <vcl/dllapi.h>
-#include <vcl/helper.hxx>
+#include <unx/helper.hxx>
#include <vcl/timer.hxx>
#include <vcl/vclenum.hxx>
#include <com/sun/star/lang/Locale.hpp>
diff --git a/include/vcl/helper.hxx b/vcl/inc/unx/helper.hxx
index 1f89cbabdeaf..889641dbcea2 100644
--- a/include/vcl/helper.hxx
+++ b/vcl/inc/unx/helper.hxx
@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_HELPER_HXX
-#define INCLUDED_VCL_HELPER_HXX
+#ifndef INCLUDED_VCL_INC_UNX_HELPER_HXX
+#define INCLUDED_VCL_INC_UNX_HELPER_HXX
#include <list>
@@ -34,27 +34,27 @@ namespace osl { class File; }
namespace psp
{
-void VCL_DLLPUBLIC getPrinterPathList( std::list< OUString >& rPathList, const char* pSubDir );
+void getPrinterPathList( std::list< OUString >& rPathList, const char* pSubDir );
// note: gcc 3.4.1 warns about visibility if we retunr a const OUString& here
// seems to be a bug in gcc, now we return an object instead of a reference
-VCL_DLLPUBLIC OUString const & getFontPath();
+OUString const & getFontPath();
// normalized path (equivalent to realpath)
-void VCL_DLLPUBLIC normPath( OString& rPath );
+void normPath( OString& rPath );
// splits rOrgPath into dirname and basename
// rOrgPath will be subject to normPath
-void VCL_DLLPUBLIC splitPath( OString& rOrgPath, OString& rDir, OString& rBase );
+void splitPath( OString& rOrgPath, OString& rDir, OString& rBase );
enum class whichOfficePath { InstallationRootPath, UserPath, ConfigPath };
// note: gcc 3.4.1 warns about visibility if we retunr a const OUString& here
// seems to be a bug in gcc, now we return an object instead of a reference
-VCL_DLLPUBLIC OUString const & getOfficePath( whichOfficePath ePath );
+OUString const & getOfficePath( whichOfficePath ePath );
} // namespace
-#endif // INCLUDED_VCL_HELPER_HXX
+#endif // INCLUDED_VCL_INC_UNX_HELPER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/unx/printergfx.hxx b/vcl/inc/unx/printergfx.hxx
index 820f047e809f..152573e10b9d 100644
--- a/vcl/inc/unx/printergfx.hxx
+++ b/vcl/inc/unx/printergfx.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_VCL_INC_GENERIC_PRINTERGFX_HXX
#define INCLUDED_VCL_INC_GENERIC_PRINTERGFX_HXX
-#include <vcl/helper.hxx>
+#include <unx/helper.hxx>
#include "sallayout.hxx"
#include "osl/file.hxx"
#include "tools/gen.hxx"
diff --git a/vcl/unx/generic/app/salinst.cxx b/vcl/unx/generic/app/salinst.cxx
index 77941353c3a4..cf433df4c1ff 100644
--- a/vcl/unx/generic/app/salinst.cxx
+++ b/vcl/unx/generic/app/salinst.cxx
@@ -33,9 +33,9 @@
#include <unx/sm.hxx>
#include <unx/i18n_im.hxx>
#include <unx/saldisp.hxx>
+#include <unx/helper.hxx>
#include <vcl/inputtypes.hxx>
-#include <vcl/helper.hxx>
#include "salwtype.hxx"
#include <sal/macros.h>
diff --git a/vcl/unx/generic/fontmanager/helper.cxx b/vcl/unx/generic/fontmanager/helper.cxx
index d79c0bcab557..0377ead5a0c4 100644
--- a/vcl/unx/generic/fontmanager/helper.cxx
+++ b/vcl/unx/generic/fontmanager/helper.cxx
@@ -29,7 +29,7 @@
#include <rtl/bootstrap.hxx>
#include <rtl/ustring.hxx>
#include <tools/urlobj.hxx>
-#include <vcl/helper.hxx>
+#include <unx/helper.hxx>
#include <vcl/ppdparser.hxx>
#include <memory>
diff --git a/vcl/unx/generic/print/text_gfx.cxx b/vcl/unx/generic/print/text_gfx.cxx
index 36f17761f684..bbb8adede54f 100644
--- a/vcl/unx/generic/print/text_gfx.cxx
+++ b/vcl/unx/generic/print/text_gfx.cxx
@@ -24,7 +24,7 @@
#include "unx/printergfx.hxx"
#include "unx/fontmanager.hxx"
-#include <vcl/helper.hxx>
+#include <unx/helper.hxx>
#include "osl/thread.h"
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx
index a2d99e5a624f..429cd5486598 100644
--- a/vcl/unx/generic/printer/ppdparser.cxx
+++ b/vcl/unx/generic/printer/ppdparser.cxx
@@ -22,10 +22,10 @@
#include <comphelper/string.hxx>
#include <vcl/ppdparser.hxx>
#include <vcl/strhelper.hxx>
-#include <vcl/helper.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
+#include <unx/helper.hxx>
#include "unx/cupsmgr.hxx"
#include "tools/urlobj.hxx"