summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/DocumentInfoPreview.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svtools/source/contnr/DocumentInfoPreview.cxx b/svtools/source/contnr/DocumentInfoPreview.cxx
index f8f2c9a1742b..7b44cb4f69d2 100644
--- a/svtools/source/contnr/DocumentInfoPreview.cxx
+++ b/svtools/source/contnr/DocumentInfoPreview.cxx
@@ -37,7 +37,6 @@
#include <vcl/builderfactory.hxx>
#include <tools/datetime.hxx>
#include <tools/urlobj.hxx>
-#include <unotools/pathoptions.hxx>
#include <unotools/ucbhelper.hxx>
#include "fileview.hxx"
@@ -49,8 +48,7 @@ namespace svtools {
ODocumentInfoPreview::ODocumentInfoPreview(vcl::Window * pParent, WinBits nBits):
Window(pParent, WB_DIALOGCONTROL),
m_pEditWin( VclPtr<ExtMultiLineEdit>::Create(this, nBits) ),
- m_xInfoTable(new SvtDocInfoTable_Impl),
- m_aLanguageTag(SvtPathOptions().GetLanguageTag()) // detect application language
+ m_xInfoTable(new SvtDocInfoTable_Impl)
{
m_pEditWin->SetLeftMargin(10);
m_pEditWin->Show();