summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/classes/filtercachedata.hxx63
-rw-r--r--framework/inc/classes/wildcard.hxx14
-rw-r--r--framework/inc/protocols.h42
-rw-r--r--framework/inc/queries.h11
-rw-r--r--framework/inc/uielement/spinfieldtoolbarcontroller.hxx2
-rw-r--r--framework/inc/uielement/uicommanddescription.hxx6
6 files changed, 3 insertions, 135 deletions
diff --git a/framework/inc/classes/filtercachedata.hxx b/framework/inc/classes/filtercachedata.hxx
index 538f683e946c..395b89d53673 100644
--- a/framework/inc/classes/filtercachedata.hxx
+++ b/framework/inc/classes/filtercachedata.hxx
@@ -400,49 +400,6 @@ class DataContainer
DataContainer();
- static void convertFileTypeToPropertySequence ( const FileType& aSource ,
- css::uno::Sequence< css::beans::PropertyValue >& lDestination ,
- const OUString& sCurrentLocale );
- static void convertFilterToPropertySequence ( const Filter& aSource ,
- css::uno::Sequence< css::beans::PropertyValue >& lDestination ,
- const OUString& sCurrentLocale );
- static void convertDetectorToPropertySequence ( const Detector& aSource ,
- css::uno::Sequence< css::beans::PropertyValue >& lDestination );
- static void convertLoaderToPropertySequence ( const Loader& aSource ,
- css::uno::Sequence< css::beans::PropertyValue >& lDestination ,
- const OUString& sCurrentLocale );
- static void convertContentHandlerToPropertySequence ( const ContentHandler& aSource ,
- css::uno::Sequence< css::beans::PropertyValue >& lDestination );
- static void convertPropertySequenceToFilter ( const css::uno::Sequence< css::beans::PropertyValue >& lSource ,
- Filter& aDestination ,
- const OUString& sCurrentLocale );
- static void convertPropertySequenceToFileType ( const css::uno::Sequence< css::beans::PropertyValue >& lSource ,
- FileType& aDestination ,
- const OUString& sCurrentLocale );
- static void convertPropertySequenceToDetector ( const css::uno::Sequence< css::beans::PropertyValue >& lSource ,
- Detector& aDestination );
- static void convertPropertySequenceToLoader ( const css::uno::Sequence< css::beans::PropertyValue >& lSource ,
- Loader& aDestination ,
- const OUString& sCurrentLocale );
- static void convertPropertySequenceToContentHandler ( const css::uno::Sequence< css::beans::PropertyValue >& lSource ,
- ContentHandler& aDestination ,
- const OUString& sCurrentLocale );
- static void extractLocalizedStrings ( const OUString& sCurrentLocale ,
- const css::uno::Any& aCFGValue ,
- OUStringHashMap& lLocales );
- static void packLocalizedStrings ( sal_Int16 nMode ,
- const OUString& sCurrentLocale ,
- css::uno::Any& aCFGValue ,
- const OUStringHashMap& lLocales );
- static OUString getLocalelizedString ( const OUStringHashMap& lLocales ,
- const OUString& sLocale );
- static void setLocalelizedString ( OUStringHashMap& lLocales ,
- const OUString& sLocale ,
- const OUString& sValue );
- static void correctExtensions ( OUStringList& lExtensions );
-
- public:
-
FileTypeHash m_aTypeCache; /// hold all information about registered file types
FilterHash m_aFilterCache; /// hold all information about registered filters
DetectorHash m_aDetectorCache; /// hold all information about registered detect services
@@ -485,26 +442,6 @@ class FilterCFGAccess : public ::utl::ConfigItem
ConfigItemMode nMode = DEFAULT_FILTERCACHE_MODE ); // open configuration
virtual ~FilterCFGAccess( );
- static OUString encodeTypeData ( const FileType& aType ); // build own formatted string of type properties
- static void decodeTypeData ( const OUString& sData ,
- FileType& aType );
- static OUString encodeFilterData( const Filter& aFilter ); // build own formatted string of filter properties
- static void decodeFilterData( const OUString& sData ,
- Filter& aFilter );
- static OUString encodeStringList( const OUStringList& lList ); // build own formatted string of OUStringList
- static OUStringList decodeStringList( const OUString& sValue );
-
- private:
-
- // debug checks
-
- private:
- static bool implcp_ctor ( const OUString& sPath , // methods to check incoming parameter on our interface methods!
- sal_Int32 nVersion ,
- sal_Int16 nMode );
- static bool implcp_read ( const DataContainer& rData );
- static bool implcp_write( const DataContainer& rData );
-
// member
private:
diff --git a/framework/inc/classes/wildcard.hxx b/framework/inc/classes/wildcard.hxx
index c2bef274b3ab..e9ced168099a 100644
--- a/framework/inc/classes/wildcard.hxx
+++ b/framework/inc/classes/wildcard.hxx
@@ -56,20 +56,6 @@ class Wildcard
virtual ~Wildcard();
- // interface
-
- /*-****************************************************************************************************
- @short try to find an agreement between given text and searchpattern
- @descr You can use wildcards in pattern only!
- @param "sText" is the text, in which we search given pattern.
- @param "sPattern" is the searched pattern with includes wildcards.
- @return true , if pattern was found.
- @return false, if pattern don't match the text.
- *//*-*****************************************************************************************************/
-
- static bool match( const OUString& sText ,
- const OUString& sPattern );
-
}; // class Wildcard
} // namespace framework
diff --git a/framework/inc/protocols.h b/framework/inc/protocols.h
index 9857388e9118..fafba56637ce 100644
--- a/framework/inc/protocols.h
+++ b/framework/inc/protocols.h
@@ -76,48 +76,6 @@ class ProtocolCheck
};
/**
- it checks, if the given URL string match one of the well known protocols.
- It returns the right enum value.
- Protocols are defined above ...
- */
- static EProtocol specifyProtocol( const OUString& sURL )
- {
- // because "private:" is part of e.g. "private:object" too ...
- // we must check it before all other ones!!!
- if (sURL.matchAsciiL(RTL_CONSTASCII_STRINGPARAM(SPECIALPROTOCOL_PRIVATE)))
- return E_PRIVATE;
- else
- if (sURL.matchAsciiL(RTL_CONSTASCII_STRINGPARAM(SPECIALPROTOCOL_PRIVATE_OBJECT)))
- return E_PRIVATE_OBJECT;
- else
- if (sURL.matchAsciiL(RTL_CONSTASCII_STRINGPARAM(SPECIALPROTOCOL_PRIVATE_STREAM)))
- return E_PRIVATE_STREAM;
- else
- if (sURL.matchAsciiL(RTL_CONSTASCII_STRINGPARAM(SPECIALPROTOCOL_PRIVATE_FACTORY)))
- return E_PRIVATE_FACTORY;
- else
- if (sURL.matchAsciiL(RTL_CONSTASCII_STRINGPARAM(SPECIALPROTOCOL_SLOT)))
- return E_SLOT;
- else
- if (sURL.matchAsciiL(RTL_CONSTASCII_STRINGPARAM(SPECIALPROTOCOL_UNO)))
- return E_UNO;
- else
- if (sURL.matchAsciiL(RTL_CONSTASCII_STRINGPARAM(SPECIALPROTOCOL_MACRO)))
- return E_MACRO;
- else
- if (sURL.matchAsciiL(RTL_CONSTASCII_STRINGPARAM(SPECIALPROTOCOL_SERVICE)))
- return E_SERVICE;
- else
- if (sURL.matchAsciiL(RTL_CONSTASCII_STRINGPARAM(SPECIALPROTOCOL_MAILTO)))
- return E_MAILTO;
- else
- if (sURL.matchAsciiL(RTL_CONSTASCII_STRINGPARAM(SPECIALPROTOCOL_NEWS)))
- return E_NEWS;
- else
- return E_UNKNOWN_PROTOCOL;
- }
-
- /**
it checks if given URL match the required protocol only
It should be used instead of specifyProtocol() if only this question
is interesting to perform the code. We must not check for all possible protocols here...
diff --git a/framework/inc/queries.h b/framework/inc/queries.h
index 1ce67f9abc96..be733cbb1c69 100644
--- a/framework/inc/queries.h
+++ b/framework/inc/queries.h
@@ -283,17 +283,6 @@ class QueryAnalyzer
}
}
- // this method checks if given string match any supported query.
- // (ignore additional parameters!)
-
- static bool isQuery( const OUString& sQuery )
- {
- return(
- sQuery.startsWith("_query_") || // new style
- sQuery.startsWith("_filterquery_") // old style!
- );
- }
-
private:
EQuery m_eQuery;
sal_uInt32 m_nIFlags;
diff --git a/framework/inc/uielement/spinfieldtoolbarcontroller.hxx b/framework/inc/uielement/spinfieldtoolbarcontroller.hxx
index 7d9a8e86eec7..b2f5efe2339e 100644
--- a/framework/inc/uielement/spinfieldtoolbarcontroller.hxx
+++ b/framework/inc/uielement/spinfieldtoolbarcontroller.hxx
@@ -45,7 +45,6 @@ class ISpinfieldListener
virtual void KeyInput( const KeyEvent& rKEvt ) = 0;
virtual void Modify() = 0;
virtual void GetFocus() = 0;
- virtual void LoseFocus() = 0;
virtual void StateChanged( StateChangedType nType ) = 0;
virtual void DataChanged( const DataChangedEvent& rDCEvt ) = 0;
virtual bool PreNotify( NotifyEvent& rNEvt ) = 0;
@@ -78,7 +77,6 @@ class SpinfieldToolbarController : public ISpinfieldListener,
virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
virtual void Modify() SAL_OVERRIDE;
virtual void GetFocus() SAL_OVERRIDE;
- virtual void LoseFocus() SAL_OVERRIDE;
virtual void StateChanged( StateChangedType nType ) SAL_OVERRIDE;
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
diff --git a/framework/inc/uielement/uicommanddescription.hxx b/framework/inc/uielement/uicommanddescription.hxx
index c00507ba8a09..00fe3fcaba7f 100644
--- a/framework/inc/uielement/uicommanddescription.hxx
+++ b/framework/inc/uielement/uicommanddescription.hxx
@@ -94,10 +94,10 @@ public:
protected:
UICommandDescription( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& rxContext, bool );
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > impl_createConfigAccess(const OUString& _sName);
void impl_fillElements(const sal_Char* _pName);
- bool m_bConfigRead;
- OUString m_aPrivateResourceURL;
+
+ bool m_bConfigRead;
+ OUString m_aPrivateResourceURL;
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
ModuleToCommandFileMap m_aModuleToCommandFileMap;
UICommandsHashMap m_aUICommandsHashMap;