summaryrefslogtreecommitdiff
path: root/writerperfect/inc/WPFTResMgr.hxx
blob: 17bfc872731a00d53ab5f6bc67b20d58e7deca83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */

#ifndef INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX
#define INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX

#include "writerperfectdllapi.h"

#include <unotools/resmgr.hxx>

struct WRITERPERFECT_DLLPUBLIC WPFTResLocale
{
    static std::locale &GetResLocale();
};

inline OUString WpResId(const char *pId)
{
    return Translate::get(pId, WPFTResLocale::GetResLocale());
}

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */