Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi,

I have removed some unused methods.

Regards,
Balint Dozsa
From f5ec2d59e41b373c23190206889c1641c9202dc7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?B=C3=A1lint=20D=C3=B3zsa?= <dozsabalint@gmail.com>
Date: Tue, 22 Feb 2011 17:09:31 +0100
Subject: [PATCH] Remove unused methods

---
 writerfilter/source/dmapper/FFDataHandler.cxx |   45 -------------------------
 writerfilter/source/dmapper/FFDataHandler.hxx |    9 -----
 2 files changed, 0 insertions(+), 54 deletions(-)

diff --git a/writerfilter/source/dmapper/FFDataHandler.cxx 
b/writerfilter/source/dmapper/FFDataHandler.cxx
index b579a7e..a036615 100644
--- a/writerfilter/source/dmapper/FFDataHandler.cxx
+++ b/writerfilter/source/dmapper/FFDataHandler.cxx
@@ -97,33 +97,18 @@ void FFDataHandler::setEntryMacro(const rtl::OUString & r_sEntryMacro)
     m_sEntryMacro = r_sEntryMacro;
 }
 
-const rtl::OUString & FFDataHandler::getEntryMacro() const
-{
-    return m_sEntryMacro;
-}
-
 // member: FFDataHandler::exitMacro
 void FFDataHandler::setExitMacro(const rtl::OUString & r_sExitMacro)
 {
     m_sExitMacro = r_sExitMacro;
 }
 
-const rtl::OUString & FFDataHandler::getExitMacro() const
-{
-    return m_sExitMacro;
-}
-
 // member: FFDataHandler::helpTextType
 void FFDataHandler::setHelpTextType(sal_uInt32 r_helpTextType)
 {
     m_nHelpTextType = r_helpTextType;
 }
 
-sal_uInt32 FFDataHandler::getHelpTextType() const
-{
-    return m_nHelpTextType;
-}
-
 // member: FFDataHandler::helpText
 void FFDataHandler::setHelpText(const rtl::OUString & r_sHelpText)
 {
@@ -141,11 +126,6 @@ void FFDataHandler::setStatusTextType(sal_uInt32 r_statusTextType)
     m_nStatusTextType = r_statusTextType;
 }
 
-sal_uInt32 FFDataHandler::getStatusTextType() const
-{
-    return m_nStatusTextType;
-}
-
 // member: FFDataHandler::statusText
 void FFDataHandler::setStatusText(const rtl::OUString & r_sStatusText)
 {
@@ -207,33 +187,18 @@ void FFDataHandler::setDropDownResult(const rtl::OUString & r_sDropDownResult)
     m_sDropDownResult = r_sDropDownResult;
 }
 
-const rtl::OUString & FFDataHandler::getDropDownResult() const
-{
-    return m_sDropDownResult;
-}
-
 // member: FFDataHandler::dropDownDefault
 void FFDataHandler::setDropDownDefault(const rtl::OUString & r_sDropDownDefault)
 {
     m_sDropDownDefault = r_sDropDownDefault;
 }
 
-const rtl::OUString & FFDataHandler::getDropDownDefault() const
-{
-    return m_sDropDownDefault;
-}
-
 // member: FFDataHandler::dropDownEntries
 void FFDataHandler::setDropDownEntries(const FFDataHandler::DropDownEntries_t & r_dropDownEntries)
 {
     m_DropDownEntries = r_dropDownEntries;
 }
 
-const FFDataHandler::DropDownEntries_t & FFDataHandler::getDropDownEntries() const
-{
-    return m_DropDownEntries;
-}
-
 void FFDataHandler::dropDownEntriesPushBack(const rtl::OUString & r_Element)
 {
     m_DropDownEntries.push_back(r_Element);
@@ -256,11 +221,6 @@ void FFDataHandler::setTextMaxLength(sal_uInt32 r_textMaxLength)
     m_nTextMaxLength = r_textMaxLength;
 }
 
-sal_uInt32 FFDataHandler::getTextMaxLength() const
-{
-    return m_nTextMaxLength;
-}
-
 // member: FFDataHandler::textDefault
 void FFDataHandler::setTextDefault(const rtl::OUString & r_sTextDefault)
 {
@@ -278,11 +238,6 @@ void FFDataHandler::setTextFormat(const rtl::OUString & r_sTextFormat)
     m_sTextFormat = r_sTextFormat;
 }
 
-const rtl::OUString & FFDataHandler::getTextFormat() const
-{
-    return m_sTextFormat;
-}
-
 
 void FFDataHandler::sprm(Sprm & r_Sprm)
 {
diff --git a/writerfilter/source/dmapper/FFDataHandler.hxx 
b/writerfilter/source/dmapper/FFDataHandler.hxx
index 31c075d..8527d66 100644
--- a/writerfilter/source/dmapper/FFDataHandler.hxx
+++ b/writerfilter/source/dmapper/FFDataHandler.hxx
@@ -57,15 +57,12 @@ public:
     
     // member: entryMacro
     void setEntryMacro(const rtl::OUString & r_sEntryMacro);
-    const rtl::OUString & getEntryMacro() const;
     
     // member: exitMacro
     void setExitMacro(const rtl::OUString & r_sExitMacro);
-    const rtl::OUString & getExitMacro() const;
     
     // member: helpTextType
     void setHelpTextType(sal_uInt32 r_helpTextType);
-    sal_uInt32 getHelpTextType() const;
     
     // member: helpText
     void setHelpText(const rtl::OUString & r_sHelpText);
@@ -73,7 +70,6 @@ public:
     
     // member: statusTextType
     void setStatusTextType(sal_uInt32 r_statusTextType);
-    sal_uInt32 getStatusTextType() const;
     
     // member: statusText
     void setStatusText(const rtl::OUString & r_sStatusText);
@@ -97,15 +93,12 @@ public:
     
     // member: dropDownResult
     void setDropDownResult(const rtl::OUString & r_sDropDownResult);
-    const rtl::OUString & getDropDownResult() const;
     
     // member: dropDownDefault
     void setDropDownDefault(const rtl::OUString & r_sDropDownDefault);
-    const rtl::OUString & getDropDownDefault() const;
     
     // member: dropDownEntries
     void setDropDownEntries(const DropDownEntries_t & r_dropDownEntries);
-    const DropDownEntries_t & getDropDownEntries() const;
     void dropDownEntriesPushBack(const rtl::OUString & r_Element);
 
     // member: textType
@@ -114,7 +107,6 @@ public:
     
     // member: textMaxLength
     void setTextMaxLength(sal_uInt32 r_textMaxLength);
-    sal_uInt32 getTextMaxLength() const;
     
     // member: textDefault
     void setTextDefault(const rtl::OUString & r_sTextDefault);
@@ -122,7 +114,6 @@ public:
     
     // member: textFormat
     void setTextFormat(const rtl::OUString & r_sTextFormat);
-    const rtl::OUString & getTextFormat() const;
     
     // sprm
     void sprm(Sprm & r_sprm);
-- 
1.7.1


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.