summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-11 14:26:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-11 14:26:18 +0100
commit5b8fd39d3bd319ed760ebdcbb0cbef868ec5a2b1 (patch)
treec4b50003499abf6aadad9e5b85dc15d2fcc91559 /sfx2
parent2c18f34e422418a18e2fe6608372f0ba0c61c0b7 (diff)
-Werror,-Wunused-variable
Change-Id: I3b499a17985b55fbfb62a441afb9d137f7bd8593
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/new.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index 7f8afa81ded5..f5e570c681c5 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;