summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-10 08:58:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-10 11:49:49 +0100
commitc8484a5ddf8e58ae331f41c25825dc2eaef6bdd3 (patch)
treef41a3b7d4ac825eaac9b000ccc7c66e714ec58a1 /sfx2/source
parent4e113aec154f0e2d4b271081ef39434ac3596252 (diff)
callcatcher: remove unused code
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/doc/new.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index a016f730a901..7f05f5483931 100644
--- a/sfx2/source/doc/new.cxx
+++ b/sfx2/source/doc/new.cxx
@@ -260,8 +260,6 @@ public:
// Template name can only be obtained if IsTemplate() is TRUE
// erfragt werden
sal_Bool IsTemplate() const;
- String GetTemplateRegion() const;
- String GetTemplateName() const;
String GetTemplateFileName() const;
sal_uInt16 GetTemplateFlags()const;
@@ -485,24 +483,6 @@ String SfxNewFileDialog_Impl::GetTemplateFileName() const
//-------------------------------------------------------------------------
-String SfxNewFileDialog_Impl::GetTemplateRegion() const
-{
- if(!IsTemplate() || !aTemplates.GetRegionCount())
- return String();
- return aRegionLb.GetSelectEntry();
-}
-
-//-------------------------------------------------------------------------
-
-String SfxNewFileDialog_Impl::GetTemplateName() const
-{
- if(!IsTemplate() || !aTemplates.GetRegionCount())
- return String();
- return aTemplateLb.GetSelectEntry();
-}
-
-//-------------------------------------------------------------------------
-
void AdjustPosSize_Impl(Window *pWin, short nMoveOffset, short nSizeOffset)
{
Point aPos(pWin->GetPosPixel());