[Libreoffice-commits] core.git: include/svtools svtools/source

Stephan Bergmann sbergman at redhat.com
Tue May 9 06:56:30 UTC 2017


 include/svtools/DocumentInfoPreview.hxx       |    1 -
 svtools/source/contnr/DocumentInfoPreview.cxx |    4 +---
 2 files changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 10b03e6ea8d93c5f47c68177fd73269a628e630d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 9 08:55:45 2017 +0200

    -Werror,-Wunused-private-field
    
    Change-Id: Id42e8699f5cfb420d49f7223ee288090539f2492

diff --git a/include/svtools/DocumentInfoPreview.hxx b/include/svtools/DocumentInfoPreview.hxx
index c4e48d697a12..f071fdaf568f 100644
--- a/include/svtools/DocumentInfoPreview.hxx
+++ b/include/svtools/DocumentInfoPreview.hxx
@@ -55,7 +55,6 @@ public:
 private:
     VclPtr<ExtMultiLineEdit> m_pEditWin;
     std::unique_ptr< SvtDocInfoTable_Impl > m_xInfoTable;
-    LanguageTag m_aLanguageTag;
 
     void insertEntry(OUString const & title, OUString const & value);
 
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();


More information about the Libreoffice-commits mailing list