[Libreoffice-commits] core.git: sfx2/source
Stephan Bergmann
sbergman at redhat.com
Tue Mar 11 06:26:50 PDT 2014
sfx2/source/doc/new.cxx | 7 -------
1 file changed, 7 deletions(-)
New commits:
commit 5b8fd39d3bd319ed760ebdcbb0cbef868ec5a2b1
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 11 14:26:18 2014 +0100
-Werror,-Wunused-variable
Change-Id: I3b499a17985b55fbfb62a441afb9d137f7bd8593
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index 7f8afa8..f5e570c 100644
--- a/sfx2/source/doc/new.cxx
+++ b/sfx2/source/doc/new.cxx
@@ -144,7 +144,6 @@ class SfxNewFileDialog_Impl
SfxObjectShellLock xDocShell;
SfxNewFileDialog* pAntiImpl;
- void ClearInfo();
DECL_LINK( Update, void * );
DECL_LINK( RegionSelect, ListBox * );
@@ -170,11 +169,6 @@ public:
void SetTemplateFlags(sal_uInt16 nSet);
};
-void SfxNewFileDialog_Impl::ClearInfo()
-{
- const OUString aNo;
-}
-
IMPL_LINK_NOARG(SfxNewFileDialog_Impl, Update)
{
if ( xDocShell.Is() )
@@ -187,7 +181,6 @@ IMPL_LINK_NOARG(SfxNewFileDialog_Impl, Update)
const sal_uInt16 nEntry = GetSelectedTemplatePos();
if(!nEntry)
{
- ClearInfo();
m_pPreviewWin->Invalidate();
m_pPreviewWin->SetObjectShell( 0);
return 0;
More information about the Libreoffice-commits
mailing list