summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-24 15:57:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-26 10:18:40 +0100
commitd63a3b885a4e0026c5d26b56910f431b86acfa86 (patch)
tree3cdec37595798a8d413f83635a72db0b87c9f66f /svtools
parent0345310ec2cf0cf6a6b3864f36e7e8dfee6f0bf5 (diff)
callcatcher: remove unused code
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/filectrl.hxx1
-rw-r--r--svtools/source/control/filectrl.cxx10
2 files changed, 0 insertions, 11 deletions
diff --git a/svtools/inc/svtools/filectrl.hxx b/svtools/inc/svtools/filectrl.hxx
index 40eace698501..7a0f54666023 100644
--- a/svtools/inc/svtools/filectrl.hxx
+++ b/svtools/inc/svtools/filectrl.hxx
@@ -98,7 +98,6 @@ public:
//manipulate the Button-Text:
XubString GetButtonText() const { return maButtonText; }
void SetButtonText( const XubString& rStr );
- void ResetButtonText();
//------
//use this to manipulate the dialog bevore executing it:
diff --git a/svtools/source/control/filectrl.cxx b/svtools/source/control/filectrl.cxx
index c8d506ad2a9a..a2e93e0a5742 100644
--- a/svtools/source/control/filectrl.cxx
+++ b/svtools/source/control/filectrl.cxx
@@ -220,14 +220,4 @@ void FileControl::SetButtonText( const XubString& rStr )
Resize();
}
-// -----------------------------------------------------------------------
-
-void FileControl::ResetButtonText()
-{
- mnInternalFlags |= FILECTRL_ORIGINALBUTTONTEXT;
- maButtonText = XubString( SvtResId( STR_FILECTRL_BUTTONTEXT ) );
- Resize();
-}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */