summaryrefslogtreecommitdiffstats
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-10 08:43:01 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-11 06:22:28 +0000
commit0f8ec3036f44b02aa03795ede3052a790134a90d (patch)
treea7cbba9eb70fcee3f793c07f8d8db6c092d0e594 /svtools
parenttdf#67343 Standardize order of dialog buttons (diff)
downloadcore-0f8ec3036f44b02aa03795ede3052a790134a90d.tar.gz
core-0f8ec3036f44b02aa03795ede3052a790134a90d.zip
[API CHANGE] add operator==/!= to UNO structs
this is useful now that we are storing UNO structs in std::vector Change-Id: Ic558bcd669bd2b3cdf9eb8393269eb906ac52369 Reviewed-on: https://gerrit.libreoffice.org/22257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/templatefoldercache.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx
index dd56ccebb715..d8d0ea386ab5 100644
--- a/svtools/source/misc/templatefoldercache.cxx
+++ b/svtools/source/misc/templatefoldercache.cxx
@@ -91,26 +91,6 @@ namespace svt
return _rStorage;
}
-
- bool operator == ( const util::DateTime& _rLHS, const util::DateTime& _rRHS )
- {
- return _rLHS.NanoSeconds == _rRHS.NanoSeconds
- && _rLHS.Seconds == _rRHS.Seconds
- && _rLHS.Minutes == _rRHS.Minutes
- && _rLHS.Hours == _rRHS.Hours
- && _rLHS.Day == _rRHS.Day
- && _rLHS.Month == _rRHS.Month
- && _rLHS.Year == _rRHS.Year
- && _rLHS.IsUTC == _rRHS.IsUTC;
- }
-
-
- bool operator != ( const util::DateTime& _rLHS, const util::DateTime& _rRHS )
- {
- return !( _rLHS == _rRHS );
- }
-
-
//= TemplateContent
struct TemplateContent;