sw/source/writerfilter/dmapper/StyleSheetTable.cxx |    2 +-
 sw/source/writerfilter/dmapper/StyleSheetTable.hxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e8d57fa77ebb80902d81aa2895cb3ae1ed33fbbe
Author:     Noel Grandin <[email protected]>
AuthorDate: Tue Feb 3 15:54:40 2026 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Thu Feb 26 06:50:02 2026 +0100

    tdf#170595 StyleSheetTable::getOrCreateCharStyle can take const param
    
    Change-Id: I3fee3375096069cbb68bedbcf3a72a3bd1bdb8ea
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198661
    Reviewed-by: Miklos Vajna <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    (cherry picked from commit f1ed499a62cc9329e1ea29bf8ef5aef5a21634d2)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200315
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/sw/source/writerfilter/dmapper/StyleSheetTable.cxx 
b/sw/source/writerfilter/dmapper/StyleSheetTable.cxx
index 8cbc5e92e6cf..847cb1ae6994 100644
--- a/sw/source/writerfilter/dmapper/StyleSheetTable.cxx
+++ b/sw/source/writerfilter/dmapper/StyleSheetTable.cxx
@@ -2181,7 +2181,7 @@ void StyleSheetTable::applyDefaults(bool bParaProperties)
 }
 
 
-OUString StyleSheetTable::getOrCreateCharStyle( PropertyValueVector_t& 
rCharProperties, bool bAlwaysCreate )
+OUString StyleSheetTable::getOrCreateCharStyle( const PropertyValueVector_t& 
rCharProperties, bool bAlwaysCreate )
 {
     //find out if any of the styles already has the required properties then 
return its name
     OUString sListLabel = HasListCharStyle(rCharProperties);
diff --git a/sw/source/writerfilter/dmapper/StyleSheetTable.hxx 
b/sw/source/writerfilter/dmapper/StyleSheetTable.hxx
index 42bed9fe6303..a66c1d4b999b 100644
--- a/sw/source/writerfilter/dmapper/StyleSheetTable.hxx
+++ b/sw/source/writerfilter/dmapper/StyleSheetTable.hxx
@@ -116,7 +116,7 @@ public:
     OUString CloneTOCStyle(FontTablePtr const& rFontTable, StyleSheetEntryPtr 
const pStyle, OUString const& rName);
     void ApplyClonedTOCStyles();
 
-    OUString getOrCreateCharStyle( PropertyValueVector_t& rCharProperties, 
bool bAlwaysCreate );
+    OUString getOrCreateCharStyle( const PropertyValueVector_t& 
rCharProperties, bool bAlwaysCreate );
 
     void SetDefaultParaProps(PropertyIds eId, const css::uno::Any& rAny);
     PropertyMapPtr const & GetDefaultParaProps() const;

Reply via email to