diff options
author | Petr Vorel <petr.vorel@gmail.com> | 2012-03-03 02:16:31 +0100 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-05 10:26:44 +0200 |
commit | 2bdac353ce7e28611b546bcc8a5ea236c891f944 (patch) | |
tree | 52909ad985ef619b8efd1d7e1c9ba70c3769037f /oox/inc | |
parent | b8550f6a66af279a34731a2d7921fb63550e463b (diff) |
remove unused code
Diffstat (limited to 'oox/inc')
-rw-r--r-- | oox/inc/oox/helper/binaryinputstream.hxx | 4 | ||||
-rw-r--r-- | oox/inc/oox/helper/modelobjecthelper.hxx | 3 | ||||
-rw-r--r-- | oox/inc/oox/helper/propertymap.hxx | 1 | ||||
-rw-r--r-- | oox/inc/oox/helper/propertyset.hxx | 14 |
4 files changed, 3 insertions, 19 deletions
diff --git a/oox/inc/oox/helper/binaryinputstream.hxx b/oox/inc/oox/helper/binaryinputstream.hxx index 5add5f413afc..6e952a2b6436 100644 --- a/oox/inc/oox/helper/binaryinputstream.hxx +++ b/oox/inc/oox/helper/binaryinputstream.hxx @@ -164,10 +164,6 @@ public: template< typename Type > void skipArray( sal_Int32 nElemCount ); - /** Reads a NUL-terminated byte character array and returns the string. - */ - ::rtl::OString readNulCharArray(); - /** Reads a NUL-terminated Unicode character array and returns the string. */ ::rtl::OUString readNulUnicodeArray(); diff --git a/oox/inc/oox/helper/modelobjecthelper.hxx b/oox/inc/oox/helper/modelobjecthelper.hxx index 86459ecb7386..10131def9668 100644 --- a/oox/inc/oox/helper/modelobjecthelper.hxx +++ b/oox/inc/oox/helper/modelobjecthelper.hxx @@ -56,9 +56,6 @@ public: /** Returns true, if the object with the passed name exists in the container. */ bool hasObject( const ::rtl::OUString& rObjName ) const; - /** Returns the object with the passed name from the container. */ - ::com::sun::star::uno::Any getObject( const ::rtl::OUString& rObjName ) const; - /** Inserts the passed object into the container, returns its final name. */ ::rtl::OUString insertObject( const ::rtl::OUString& rObjName, diff --git a/oox/inc/oox/helper/propertymap.hxx b/oox/inc/oox/helper/propertymap.hxx index 2696d4980ea1..dabd2e470cbf 100644 --- a/oox/inc/oox/helper/propertymap.hxx +++ b/oox/inc/oox/helper/propertymap.hxx @@ -102,7 +102,6 @@ public: #if OSL_DEBUG_LEVEL > 0 #ifdef DBG_UTIL static void dump( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > rXPropSet); - void dump(); #endif static void dumpCode( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > rXPropSet); void dumpCode(); diff --git a/oox/inc/oox/helper/propertyset.hxx b/oox/inc/oox/helper/propertyset.hxx index fd0c1a7a1fcd..14ca79bfc63d 100644 --- a/oox/inc/oox/helper/propertyset.hxx +++ b/oox/inc/oox/helper/propertyset.hxx @@ -50,9 +50,9 @@ class PropertyMap; com.sun.star.beans.XPropertySet interface then). The reference to the property set will be kept as long as the instance of this class is alive. - The functions getProperties() and setProperties() try to handle all passed - values at once, using the com.sun.star.beans.XMultiPropertySet interface. - If the implementation does not support the XMultiPropertySet interface, all + The functions setProperties() tries to handle all passed values at once, + using the com.sun.star.beans.XMultiPropertySet interface. If the + implementation does not support the XMultiPropertySet interface, all properties are handled separately in a loop. */ class PropertySet @@ -103,14 +103,6 @@ public: @return true = property contains true; false = property contains false or error occurred. */ inline bool getBoolProperty( sal_Int32 nPropId ) const { bool bValue = false; return getProperty( bValue, nPropId ) && bValue; } - - /** Gets the specified properties from the property set. Tries to use the XMultiPropertySet interface. - @param orValues (out-parameter) The related property values. - @param rPropNames The property names. MUST be ordered alphabetically. */ - void getProperties( - ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& orValues, - const ::com::sun::star::uno::Sequence< ::rtl::OUString >& rPropNames ) const; - // Set properties --------------------------------------------------------- /** Puts the passed any into the property set. */ |