summaryrefslogtreecommitdiff
path: root/extensions/source/abpilot/abspilot.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-05-05 15:49:02 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-05-05 15:50:12 +0300
commit3a93807bdc14d06aa0178f078a045b359d170f45 (patch)
treeaedc9131c7a5a6f3cad5edd11ec16543489c280a /extensions/source/abpilot/abspilot.cxx
parent2be3b8bd883ce2df2f1a9edce6292ad749d96fd4 (diff)
Improve GroupWise warning in address book data source wizard, bnc#573994
Commit an old patch from i#110071, to prevent it being lost presumably forever in an old tiny CWS of mine.
Diffstat (limited to 'extensions/source/abpilot/abspilot.cxx')
-rw-r--r--extensions/source/abpilot/abspilot.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/abpilot/abspilot.cxx b/extensions/source/abpilot/abspilot.cxx
index 005c736f9f7e..44b7eebff431 100644
--- a/extensions/source/abpilot/abspilot.cxx
+++ b/extensions/source/abpilot/abspilot.cxx
@@ -280,7 +280,7 @@ namespace abp
if ( aTables.empty() )
{
- if ( RET_YES != QueryBox( this, ModuleRes( RID_QRY_NOTABLES ) ).Execute() )
+ if ( RET_YES != QueryBox( this, ModuleRes( ( getSettings().eType == AST_EVOLUTION_GROUPWISE ? RID_QRY_NO_EVO_GW : RID_QRY_NOTABLES ) ) ).Execute() )
{
// cannot ask the user, or the user chose to use this data source, though there are no tables
bAllow = sal_False;