diff options
Diffstat (limited to 'xmloff/inc')
-rw-r--r-- | xmloff/inc/XMLFootnoteConfigurationImportContext.hxx | 4 | ||||
-rw-r--r-- | xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx | 4 | ||||
-rw-r--r-- | xmloff/inc/XMLLineNumberingImportContext.hxx | 6 | ||||
-rw-r--r-- | xmloff/inc/forms/property_handler.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/txtflde.hxx | 4 | ||||
-rw-r--r-- | xmloff/inc/txtfldi.hxx | 4 | ||||
-rw-r--r-- | xmloff/inc/txtlists.hxx | 36 |
7 files changed, 30 insertions, 30 deletions
diff --git a/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx b/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx index 1dc354aa55dd..1ae5bfdf9419 100644 --- a/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx +++ b/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx @@ -103,10 +103,10 @@ public: ::com::sun::star::beans::XPropertySet> & rConfig); /// for helper class: set begin notice - void SetBeginNotice( OUString sText); + void SetBeginNotice( const OUString& sText); /// for helper class: set end notice - void SetEndNotice( OUString sText); + void SetEndNotice( const OUString& sText); }; #endif diff --git a/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx b/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx index 8cd974bded71..aff9c7d5cf9a 100644 --- a/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx +++ b/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx @@ -93,8 +93,8 @@ protected: void ProcessAttribute( sal_uInt16 nPrefix, - const OUString sLocalName, - const OUString sValue); + const OUString& sLocalName, + const OUString& sValue); }; #endif diff --git a/xmloff/inc/XMLLineNumberingImportContext.hxx b/xmloff/inc/XMLLineNumberingImportContext.hxx index 5eb2cf4b0e01..ccf26488f565 100644 --- a/xmloff/inc/XMLLineNumberingImportContext.hxx +++ b/xmloff/inc/XMLLineNumberingImportContext.hxx @@ -100,7 +100,7 @@ protected: void ProcessAttribute( enum LineNumberingToken eToken, - OUString sValue); + const OUString& sValue); virtual void CreateAndInsert(sal_Bool bOverwrite); @@ -111,8 +111,8 @@ protected: ::com::sun::star::xml::sax::XAttributeList> & xAttrList ); void ProcessAttribute( - const OUString sLocalName, - const OUString sValue); + const OUString& sLocalName, + const OUString& sValue); }; #endif diff --git a/xmloff/inc/forms/property_handler.hxx b/xmloff/inc/forms/property_handler.hxx index fb17d6054e8a..25ce31c9169c 100644 --- a/xmloff/inc/forms/property_handler.hxx +++ b/xmloff/inc/forms/property_handler.hxx @@ -51,7 +51,7 @@ namespace xmloff /** retrieves the values of the properties controlled by an XML attributed, described by a given attribute value */ virtual bool - getPropertyValues( const OUString i_attributeValue, PropertyValues& o_propertyValues ) const = 0; + getPropertyValues( const OUString& i_attributeValue, PropertyValues& o_propertyValues ) const = 0; virtual ~IPropertyHandler() { } }; diff --git a/xmloff/inc/txtflde.hxx b/xmloff/inc/txtflde.hxx index 6728690074d0..d9805b6c342f 100644 --- a/xmloff/inc/txtflde.hxx +++ b/xmloff/inc/txtflde.hxx @@ -206,7 +206,7 @@ public: static enum ::xmloff::token::XMLTokenEnum MapReferenceSource(sal_Int16 nType); static enum ::xmloff::token::XMLTokenEnum MapReferenceType(sal_Int16 nType); static enum ::xmloff::token::XMLTokenEnum MapCountFieldName(FieldIdEnum nToken); - static enum ::xmloff::token::XMLTokenEnum MapBibliographyFieldName(OUString sName); + static enum ::xmloff::token::XMLTokenEnum MapBibliographyFieldName(const OUString& sName); static enum ::xmloff::token::XMLTokenEnum MapMeasureKind(sal_Int16 nKind); enum ::xmloff::token::XMLTokenEnum MapPageNumberName(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> & xPropSet, @@ -383,7 +383,7 @@ protected: void ProcessStringSequence( const ::com::sun::star::uno::Sequence<OUString>& rSequence, - const OUString sSelected ); + const OUString& sSelected ); void ProcessStringSequence( const ::com::sun::star::uno::Sequence<OUString>& rSequence, diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx index 9333688a30f5..74b127b8d4cf 100644 --- a/xmloff/inc/txtfldi.hxx +++ b/xmloff/inc/txtfldi.hxx @@ -161,7 +161,7 @@ protected: inline XMLTextImportHelper& GetImportHelper() { return rTextImportHelper; } inline OUString GetServiceName() { return sServiceName; } - inline void SetServiceName(OUString sStr) { sServiceName = sStr; } + inline void SetServiceName(const OUString& sStr) { sServiceName = sStr; } OUString GetContent(); @@ -1197,7 +1197,7 @@ protected: const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> & xPropertySet); - static const sal_Char* MapBibliographyFieldName(OUString sName); + static const sal_Char* MapBibliographyFieldName(const OUString& sName); }; /** Import an annotation field (<text:annotation>) */ diff --git a/xmloff/inc/txtlists.hxx b/xmloff/inc/txtlists.hxx index eb7f8caa5494..83bdad450ca7 100644 --- a/xmloff/inc/txtlists.hxx +++ b/xmloff/inc/txtlists.hxx @@ -57,16 +57,16 @@ class XMLTextListsHelper : private boost::noncopyable // keeping track of processed lists for import and export // Add optional parameter <sListStyleDefaultListId> (#i92811#) - void KeepListAsProcessed( OUString sListId, - OUString sListStyleName, - OUString sContinueListId, - OUString sListStyleDefaultListId = OUString() ); + void KeepListAsProcessed( const OUString& sListId, + const OUString& sListStyleName, + const OUString& sContinueListId, + const OUString& sListStyleDefaultListId = OUString() ); - sal_Bool IsListProcessed( const OUString sListId ) const; + sal_Bool IsListProcessed( const OUString& sListId ) const; OUString GetListStyleOfProcessedList( - const OUString sListId ) const; + const OUString& sListId ) const; OUString GetContinueListIdOfProcessedList( - const OUString sListId ) const; + const OUString& sListId ) const; const OUString& GetLastProcessedListId() const; const OUString& GetListStyleOfLastProcessedList() const; @@ -76,16 +76,16 @@ class XMLTextListsHelper : private boost::noncopyable OUString GetListIdForListBlock( XMLTextListBlockContext& rListBlock ); // keep track of continue list chain for export - void StoreLastContinuingList( OUString sListId, - OUString sContinuingListId ); + void StoreLastContinuingList( const OUString& sListId, + const OUString& sContinuingListId ); - OUString GetLastContinuingListId( OUString sListId ) const; + OUString GetLastContinuingListId( const OUString& sListId ) const; // keep track of opened list elements of a certain list for export - void PushListOnStack( OUString sListId, - OUString sListStyleName ); + void PushListOnStack( const OUString& sListId, + const OUString& sListStyleName ); void PopListFromStack(); - sal_Bool EqualsToTopListStyleOnStack( const OUString sListId ) const; + sal_Bool EqualsToTopListStyleOnStack( const OUString& sListId ) const; /** for importing numbered-paragraph note that the ID namespace for numbered-paragraph and regular list @@ -95,13 +95,13 @@ class XMLTextListsHelper : private boost::noncopyable ::com::sun::star::container::XIndexReplace> EnsureNumberedParagraph( SvXMLImport & i_rImport, - const OUString i_ListId, - sal_Int16 & io_rLevel, const OUString i_StyleName); + const OUString& i_ListId, + sal_Int16 & io_rLevel, const OUString& i_StyleName); /// get ID of the last numbered-paragraph iff it has given style-name OUString GetNumberedParagraphListId( const sal_uInt16 i_Level, - const OUString i_StyleName); + const OUString& i_StyleName); /** Creates a NumRule from given style-name. @param i_rImport the SvXMLImport @@ -117,8 +117,8 @@ class XMLTextListsHelper : private boost::noncopyable SvXMLImport & i_rImport, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexReplace>& i_xNumRule, - const OUString i_ParentStyleName, - const OUString i_StyleName, + const OUString& i_ParentStyleName, + const OUString& i_StyleName, sal_Int16 & io_rLevel, sal_Bool* o_pRestartNumbering = 0, sal_Bool* io_pSetDefaults = 0); |