summaryrefslogtreecommitdiff
path: root/include/unotools
diff options
context:
space:
mode:
Diffstat (limited to 'include/unotools')
-rw-r--r--include/unotools/fontcfg.hxx12
-rw-r--r--include/unotools/localedatawrapper.hxx2
-rw-r--r--include/unotools/textsearch.hxx2
3 files changed, 8 insertions, 8 deletions
diff --git a/include/unotools/fontcfg.hxx b/include/unotools/fontcfg.hxx
index 1f77d484531a..db7aa0f263d2 100644
--- a/include/unotools/fontcfg.hxx
+++ b/include/unotools/fontcfg.hxx
@@ -160,12 +160,12 @@ private:
void fillSubstVector( const css::uno::Reference< css::container::XNameAccess >& rFont,
const OUString& rType,
std::vector< OUString >& rSubstVector ) const;
- FontWeight getSubstWeight( const css::uno::Reference< css::container::XNameAccess >& rFont,
- const OUString& rType ) const;
- FontWidth getSubstWidth( const css::uno::Reference< css::container::XNameAccess >& rFont,
- const OUString& rType ) const;
- ImplFontAttrs getSubstType( const css::uno::Reference< css::container::XNameAccess >& rFont,
- const OUString& rType ) const;
+ static FontWeight getSubstWeight( const css::uno::Reference< css::container::XNameAccess >& rFont,
+ const OUString& rType );
+ static FontWidth getSubstWidth( const css::uno::Reference< css::container::XNameAccess >& rFont,
+ const OUString& rType );
+ static ImplFontAttrs getSubstType( const css::uno::Reference< css::container::XNameAccess >& rFont,
+ const OUString& rType );
void readLocaleSubst( const OUString& rBcp47 ) const;
public:
FontSubstConfiguration();
diff --git a/include/unotools/localedatawrapper.hxx b/include/unotools/localedatawrapper.hxx
index d6eeb174e735..5c5e170aed02 100644
--- a/include/unotools/localedatawrapper.hxx
+++ b/include/unotools/localedatawrapper.hxx
@@ -177,7 +177,7 @@ public:
static const std::vector< LanguageType > & getInstalledLanguageTypes();
/// maps the LocaleData string to the International enum
- MeasurementSystem mapMeasurementStringToEnum( std::u16string_view rMS ) const;
+ static MeasurementSystem mapMeasurementStringToEnum( std::u16string_view rMS );
/// Convenience method to obtain the default calendar.
const std::shared_ptr< css::i18n::Calendar2 >& getDefaultCalendar() const;
diff --git a/include/unotools/textsearch.hxx b/include/unotools/textsearch.hxx
index b07d7d364801..753534166098 100644
--- a/include/unotools/textsearch.hxx
+++ b/include/unotools/textsearch.hxx
@@ -208,7 +208,7 @@ public:
const css::lang::Locale& rLocale );
/* replace back references in the replace string by the sub expressions from the search result */
- void ReplaceBackReferences( OUString& rReplaceStr, std::u16string_view rStr, const css::util::SearchResult& rResult ) const;
+ static void ReplaceBackReferences( OUString& rReplaceStr, std::u16string_view rStr, const css::util::SearchResult& rResult );
};
} // namespace utl