summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-28 11:55:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 13:44:17 +0200
commitdea3816e4dda94a6909739329d658f44b1255c21 (patch)
treee6d70b311d3e442e2c42a268e38032cda68910e3
parent0f2ad91a3654a08adf642d0c375545708d6b49ab (diff)
SwDocShell::ApplyStyles return type is sal_uInt16
Change-Id: I90eb30fffcee8c443b6ed464721d8ce0c217fcdb
-rw-r--r--sw/source/uibase/app/docst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docst.cxx b/sw/source/uibase/app/docst.cxx
index d8aa0eadc771..fc2c021da510 100644
--- a/sw/source/uibase/app/docst.cxx
+++ b/sw/source/uibase/app/docst.cxx
@@ -914,7 +914,7 @@ sal_uInt16 SwDocShell::ApplyStyles(const OUString &rName, sal_uInt16 nFamily,
SAL_WARN_IF( !pStyle, "sw.ui", "Style not found" );
if(!pStyle)
- return sal_False;
+ return 0;
SwWrtShell *pSh = pShell ? pShell : GetWrtShell();