diff options
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/Package_helpxsl.mk | 2 | ||||
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/provider.cxx | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/xmlhelp/Package_helpxsl.mk b/xmlhelp/Package_helpxsl.mk index ca862769e5e2..79bd3abd3ad7 100644 --- a/xmlhelp/Package_helpxsl.mk +++ b/xmlhelp/Package_helpxsl.mk @@ -11,7 +11,7 @@ $(eval $(call gb_Package_Package,xmlhelp_helpxsl,$(SRCDIR)/xmlhelp/util)) $(eval $(call gb_Package_set_outdir,xmlhelp_helpxsl,$(INSTDIR))) -$(eval $(call gb_Package_add_files,xmlhelp_helpxsl,help,\ +$(eval $(call gb_Package_add_files,xmlhelp_helpxsl,$(LIBO_SHARE_HELP_FOLDER),\ idxcaption.xsl \ idxcontent.xsl \ main_transform.xsl \ diff --git a/xmlhelp/source/cxxhelp/provider/provider.cxx b/xmlhelp/source/cxxhelp/provider/provider.cxx index 40206dba33f7..3c2235e88acf 100644 --- a/xmlhelp/source/cxxhelp/provider/provider.cxx +++ b/xmlhelp/source/cxxhelp/provider/provider.cxx @@ -17,11 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -/************************************************************************** - TODO - ************************************************************************** - - *************************************************************************/ +#include <config_folders.h> #include <stdio.h> #include <osl/file.hxx> @@ -235,7 +231,7 @@ void ContentProvider::init() OUString instPath( getKey( xHierAccess,"Path/Current/Help" ) ); if( instPath.isEmpty() ) // try to determine path from default - instPath = OUString( "$(instpath)/help" ); + instPath = OUString( "$(instpath)/" LIBO_SHARE_HELP_FOLDER ); // replace anything like $(instpath); subst( instPath ); |