summaryrefslogtreecommitdiffstats
path: root/include/tools/date.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-10 13:30:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-10 13:30:01 +0100
commit5fa9ce570dc59a3fc9eb47f28b3fed739f20ab23 (patch)
tree6032150d8fe8b3825bd2feb65d3a677823becdd5 /include/tools/date.hxx
parentremove misleading comment (diff)
downloadcore-5fa9ce570dc59a3fc9eb47f28b3fed739f20ab23.tar.gz
core-5fa9ce570dc59a3fc9eb47f28b3fed739f20ab23.zip
Fix order of SAL_WARN_UNUSED and DLLPUBLIC for clang-cl
...which, somewhat arbitrarily, expects GNU extension __attribute__((...)) to come before MSVC extension __declspec(...) with MaybeParseGNUAttributes(attrs); MaybeParseMicrosoftDeclSpecs(attrs); in Parser::ParseClassSpecifier (lib/Parse/ParseDeclCXX.cpp). Change-Id: I5936558c8fc08b278575b6c678cde6eccd4647fb
Diffstat (limited to 'include/tools/date.hxx')
-rw-r--r--include/tools/date.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/date.hxx b/include/tools/date.hxx
index ffb425c2a0ff..f450c7b7bf23 100644
--- a/include/tools/date.hxx
+++ b/include/tools/date.hxx
@@ -28,7 +28,7 @@ enum DayOfWeek { MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,
SATURDAY, SUNDAY };
// TODO FIXME: make it handle signed year?
-class TOOLS_DLLPUBLIC SAL_WARN_UNUSED Date
+class SAL_WARN_UNUSED TOOLS_DLLPUBLIC Date
{
private:
sal_uInt32 nDate;