summaryrefslogtreecommitdiff
path: root/filter/source/pdf/impdialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/pdf/impdialog.cxx')
-rw-r--r--filter/source/pdf/impdialog.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 82aaf012505a..88d0e9687d05 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -42,21 +42,14 @@
#include <com/sun/star/security/DocumentDigitalSignatures.hpp>
#include <com/sun/star/security/XCertificate.hpp>
-static std::locale& getPDFFilterResLocale()
-{
- static std::locale loc = Translate::Create("flt");
- return loc;
-}
-
OUString PDFFilterResId(const char* pId)
{
- return Translate::get(pId, getPDFFilterResLocale());
+ return Translate::get(pId, Translate::Create("flt"));
}
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-
/** Tabbed PDF dialog implementation
Please note: the default used here are the same as per specification,
They should be the same in PDFFilter::implExport and in PDFExport::PDFExport