summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail..com>2019-11-18 19:43:29 -0900
committerXisco FaulĂ­ <xiscofauli@libreoffice.org>2019-11-26 14:08:40 +0100
commit4613b32fc121f5f4e0e440837f94903ad361e89a (patch)
tree37794ac4d255c0fff83d0eee694a9a3024cdd68d /include
parent9cbc55167301cefe9889ad8e604439e0118b627f (diff)
tdf#128557 Add tooltips to styles lists
Change-Id: Ia8f00cd882c1c8c239b95de8e917ff317a6485e8 Reviewed-on: https://gerrit.libreoffice.org/83152 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com> (cherry picked from commit b8bbe9a3ca4758102ce6aa5d1e0fbb077eedbe64) Reviewed-on: https://gerrit.libreoffice.org/83364 Reviewed-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/strings.hrc2
-rw-r--r--include/svl/style.hxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/sfx2/strings.hrc b/include/sfx2/strings.hrc
index d1196842d36c..52d24f048671 100644
--- a/include/sfx2/strings.hrc
+++ b/include/sfx2/strings.hrc
@@ -350,6 +350,8 @@
#define STR_CTRLCLICKHYPERLINK NC_("STR_CTRLCLICKHYPERLINK", "%{key}-click to open hyperlink: %{link}")
#define STR_CLICKHYPERLINK NC_("STR_CLICKHYPERLINK", "Click to open hyperlink: %{link}")
+
+#define STR_STYLEUSEDBY NC_("STR_STYLEUSEDBY", "(used by: %STYLELIST)")
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svl/style.hxx b/include/svl/style.hxx
index 9ac7151f48d8..24656eb2318a 100644
--- a/include/svl/style.hxx
+++ b/include/svl/style.hxx
@@ -157,6 +157,8 @@ public:
virtual bool IsUsed() const; // Default true
virtual OUString GetDescription( MapUnit eMetric );
+ virtual OUString GetUsedBy() { return OUString(); }
+
SfxStyleSheetBasePool* GetPool() { return m_pPool; }
SfxStyleFamily GetFamily() const { return nFamily; }
SfxStyleSearchBits GetMask() const { return nMask; }