summaryrefslogtreecommitdiff
path: root/desktop/inc/dp_shared.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/inc/dp_shared.hxx')
-rw-r--r--desktop/inc/dp_shared.hxx23
1 files changed, 3 insertions, 20 deletions
diff --git a/desktop/inc/dp_shared.hxx b/desktop/inc/dp_shared.hxx
index b4f86e44556f..dbd695c31b9b 100644
--- a/desktop/inc/dp_shared.hxx
+++ b/desktop/inc/dp_shared.hxx
@@ -17,28 +17,11 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_SHARED_HXX
-#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_SHARED_HXX
+#pragma once
-#include <rtl/instance.hxx>
#include <unotools/resmgr.hxx>
+#include <dp_misc_api.hxx>
-namespace dp {
-
-struct DeploymentLocale :
- public ::rtl::StaticWithInit<std::locale, DeploymentLocale > {
- std::locale operator () () {
- return Translate::Create("dkt");
- }
-};
-
-} // namespace dp
-
-inline OUString DpResId(const char* pId)
-{
- return Translate::get(pId, dp::DeploymentLocale::get());
-}
-
-#endif
+DESKTOP_DEPLOYMENTMISC_DLLPUBLIC OUString DpResId(TranslateId aId);
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */