summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/misc/dp_dependencies.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/deployment/misc/dp_dependencies.cxx')
-rw-r--r--desktop/source/deployment/misc/dp_dependencies.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/desktop/source/deployment/misc/dp_dependencies.cxx b/desktop/source/deployment/misc/dp_dependencies.cxx
index 6112ad114593..1b858319f894 100644
--- a/desktop/source/deployment/misc/dp_dependencies.cxx
+++ b/desktop/source/deployment/misc/dp_dependencies.cxx
@@ -30,11 +30,11 @@
#include <rtl/ustring.h>
#include <rtl/ustring.hxx>
#include <sal/types.h>
-#include <tools/resid.hxx>
#include <unotools/configmgr.hxx>
-#include "deployment.hrc"
+#include "strings.hrc"
#include "dp_resource.h"
+#include "dp_shared.hxx"
#include "dp_dependencies.hxx"
#include "dp_descriptioninfoset.hxx"
@@ -85,7 +85,7 @@ OUString produceErrorText(
{
return reason.replaceFirst("%VERSION",
(version.isEmpty()
- ? dp_misc::getResId(RID_DEPLOYMENT_DEPENDENCIES_UNKNOWN)
+ ? DpResId(RID_DEPLOYMENT_DEPENDENCIES_UNKNOWN)
: version));
}
@@ -156,27 +156,27 @@ OUString getErrorText(
if ( dependency->getNamespaceURI() == namespaceOpenOfficeOrg && dependency->getTagName() == minimalVersionOpenOfficeOrg )
{
return produceErrorText(
- dp_misc::getResId(RID_DEPLOYMENT_DEPENDENCIES_OOO_MIN),
+ DpResId(RID_DEPLOYMENT_DEPENDENCIES_OOO_MIN),
dependency->getAttribute("value"));
} else if (dependency->getNamespaceURI() == namespaceOpenOfficeOrg && dependency->getTagName() == maximalVersionOpenOfficeOrg )
{
return produceErrorText(
- dp_misc::getResId(RID_DEPLOYMENT_DEPENDENCIES_OOO_MAX),
+ DpResId(RID_DEPLOYMENT_DEPENDENCIES_OOO_MAX),
dependency->getAttribute("value"));
} else if (dependency->getNamespaceURI() == namespaceLibreOffice && dependency->getTagName() == minimalVersionLibreOffice )
{
return produceErrorText(
- dp_misc::getResId(RID_DEPLOYMENT_DEPENDENCIES_LO_MIN),
+ DpResId(RID_DEPLOYMENT_DEPENDENCIES_LO_MIN),
dependency->getAttribute("value"));
} else if (dependency->hasAttributeNS(namespaceOpenOfficeOrg,
minimalVersionOpenOfficeOrg))
{
return produceErrorText(
- dp_misc::getResId(RID_DEPLOYMENT_DEPENDENCIES_OOO_MIN),
+ DpResId(RID_DEPLOYMENT_DEPENDENCIES_OOO_MIN),
dependency->getAttributeNS(namespaceOpenOfficeOrg,
minimalVersionOpenOfficeOrg));
} else {
- return dp_misc::getResId(RID_DEPLOYMENT_DEPENDENCIES_UNKNOWN);
+ return DpResId(RID_DEPLOYMENT_DEPENDENCIES_UNKNOWN);
}
}