summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-09 08:55:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-05-09 08:55:45 +0200
commit10b03e6ea8d93c5f47c68177fd73269a628e630d (patch)
tree00a4563eb2180c80392f26bfa93b06cfff54a8c7 /svtools
parentf66b76a4d20719e4c13bd755c49f8140a0e72816 (diff)
-Werror,-Wunused-private-field
Change-Id: Id42e8699f5cfb420d49f7223ee288090539f2492
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();